Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [QUOTE=Levani;2157812]Can anyone tell me if I can open up the files of the game, replace BGM and patch it? And if so, how?[/QUOTE]
- First off, make sure you have some way to play OGG vorbis files. You can use MPC-HC, foobar200, WMP with LAVfilters, VLC, winamp... heck you can even use Chrome, Firefox (and/or it's derivatives like Pale Moon), Opera, etc.
- The easiest way would probably be to just modify the vita OST patch.
- I recommend using kiririki for extracting and creating XP3 archives:
- http://tlwiki.org/index.php?title=File:Kikiriki.rar
- Use this command to extract the contents from the file "input.xp3" that's located in the same folder as kiririki.exe and put them in the folder "input.xp3_files":
- [code]kikiriki.exe -i input.xp3 -o input.xp3_files[/code]
- Use this command to create an XP3 archive named "patch_new.xp3" from the contents in the folder "input.xp3_files" (also located in the same place as kiririki.exe):
- [code]kikiriki.exe -c -i input.xp3_files -o patch_new.xp3[/code]
- To me, the most convenient way to use those commands is to copy and paste each set of commands into their own blank TXT file via Notepad, save them as whatever you like, and then rename both .txt file extensions to .bat and put the two .bat files in the same folder as kiririki.exe.
- For reference, to run either command, simply double click on the according .bat file.
- Now you might not want the volume of your song to be completely different from everything else. If you don't care about this, then just ignore the "Show" button below that's next to "Correcting volume to exact levels".
- If you don't know how to get audio into OGG vorbis, you can use foobar2000 or Audacity to convert to it. If you're acquiring from YouTube, then try to download the native OGG vorbis audio formats that YouTube has.
- If you really want to correct the volume to exact levels, click the "show" button:
- [spoiler=Correcting volume to exact levels]Go to the folder where the VN is installed to, and locate the bgm.xp3 files for all three routes.
- First copy Fate's bgm.xp3 file to the same folder where kiririki.exe is located, and rename the XP3 to input.xp3 and then run the .bat file to extract files.
- Now do the exact same thing for the bgm.xp3 files for UBW and HF, and let them all be extracted to the folder input.xp3_files - you should have all the F/sn songs in a single folder; please rename this folder if you can do so.
- In that input.xp3_files folder, find a song you want to overwrite and open it in foobar200.
- In foobar2000, right-click on the song in the playlist, and select ReplayGain -> scan per-file track gain. If a popup message appears, click "Yes". Make note of the value under "Track gain" that it calculated; let's call this value "a" (include any negative values and decimals).
- Now go grab whatever new custom song that you want to put in place of that F/sn song and also open it in foobar2000 (preferably in the highest quality possible).
- Again, right-click on the song in the playlist, and select ReplayGain -> scan per-file track gain. If a popup message appears, click "Yes". Make note of the value under "Track gain" that it calculated; let's call this value "b" (include any negative values and decimals).
- Now do the following math using values "a" and "b":
- a - b * -1
- So for example, if a = -4.72 and b = -2.18, your answer would be 2.54; it a = +1.35 and b = -7.91, the answer would be -9.26
- From there, open your new customized song in Audacity. Do Effect -> Amplify and input next to "Amplification (dB)" whatever value you got via the equation above (2.54 and/or -9.26 for my two examples) and click OK. Then do File -> Export Audio and select OGG vorbis from the format drop-down; click the "Options" button to set the quality (10 = OCD audiophile, 0 = potato).[/spoiler]
- Packing your custom song
- Go to Documents\fate_realtanua and find the file "allpatch_vita_ost.xp3". Move it to a different folder that you can keep for backup.
- Now make a copy of that allpatch_vita_ost.xp3 file and put said copy into the same folder as kiririki.exe and rename the XP3 file to input.xp3
- Run the .bat located in the same folder as kiririki.exe that extracts files from "input.xp3"; it should extract everything from the vita OST patch into the folder input.xp3_files.
- Now navigate the input.xp3_files folder for a song that you want to overwrite. Simply replace the OGG file with whatever new OGG vorbis song you want; make sure you use the exact same filename as the file you wish to overwrite (if you did the volume correction, make sure you use the OGG you exported from Audacity).
- I'm unsure whether you can simply delete the according loop SLI file (it has the same filename as the song but with .sli at the end), but if that does not work, then open the song's SLI file in notepad, set "LoopStart" to '0' and set "LoopLength" to however long your song is in samples*.
- *To find out this value, open the OGG for your new song in Audacity, set the "Selection Start" drop-down to "samples", and click the purple >>| button; the value now in "Selection Start" is the value you want for "LoopLength".
- (Alternatively, if you actually have fancy seamless loop-points, instead set "LoopStart" to whatever sample the song should start from on a re-loop and set "LoopLength" to how long each re-loop should play for in samples before looping yet again)
- After that, simply run the .bat that creates a new XP3 archive and put patch_new.xp3 into Documents\fate_realtanua with all the other XP3 archive patches (you may not even need to rename the XP3 patch, but if you do, then rename it to "allpatch_vita_ost.xp3" without quotes).
- In the VN, simply select the Vita version of that song and you should get your new customized song.
Advertisement
Add Comment
Please, Sign In to add comment