FF6 Hacking
Song replacement patches - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Esper World (https://www.ff6hacking.com/forums/forum-43.html)
+--- Forum: Return of the Dark Sorcerer (https://www.ff6hacking.com/forums/forum-54.html)
+--- Thread: Song replacement patches (/thread-3499.html)



Song replacement patches - Gi Nattak - 06-30-2017

Since I have a lot of left over songs I did that didn't make it into the mod, I'm going to start makingĀ song replacement patches, which will eventually someday turn into a 'soundtrack B', but for now will just do a couple here and there, starting with the overworlds:

Energy Breaker - The Prayer Bells do not Toll
Replaces WoB Overworld (FFIV/DQ Alefgard Remix)
http://www.mediafire.com/file/dap5ktgdp3lcozx/Energy+Breaker+-+The+Prayer+Bells+do+not+Toll.zip

FFIII - Dark World
Replaces WoR Overworld (Underworld - Terranigma)
http://www.mediafire.com/file/9897vacuaeyf3o8/FFIII+-+Dark+World.zip

Note that these patches do not change the in-game Music Player song titles.


RE: Song replacement patches - SSJ Rick - 06-30-2017

you should make a solid list of all songs, eventually people can pick and choose which songs they want replaced with what, not saying you gotta go and do everything for everyone but hey lol


RE: Song replacement patches - madsiur - 06-30-2017

What could be done and really in a easy way is make a console song replacement app. What would be needed? A music ROM map with song data pointers start (1 offset), instruments data start (1 offset) and song ID, name and length of the 255 songs currently in the ROM (255 FF6 song IDs + 255 song names + 255 song data sizes). The second thing needed is all replacement song data and instrument data. If you have 30 replacement song this is 30 .song files and 30 .inst files. If a song name is "Final Countdown", you'd need final_countdown.song and final_countdown.inst. That's pretty much it on Gi Nattak's side.

For the app (let's call it "rotdsmusic"), since the song name would be in a .txt file you read or simply by looking in the app folder, you could just type "rotdsmusic final_countdown" and a list of up to 255 song name choices would pop up in the console. For a song to qualify, final_countdown must have a song data size equal or smaller that a song of the choice list. To keep this simple, if your replacement song data is bigger than all songs in the ROM, you can't replace it. It could be done with extra free space info but let's not get to this yet.

The list choice would be labeled as an example "32 Frog's theme". 32 is a generic ID not related to FF6 song ID (in this case there would be at least choice 01 to 31 prior to this). Many way can used from here but simplest would be you type "32" and Frog's Theme is replaced by Final Countdown. At this point we could even export Frog's Theme data and put the .inst file and .song file with the replacement songs. If you re-run the app, Final Countown would now appear in your ROM choices if you retype "rotdsmusic final_countdown" (song data sizes of 2 copies of the same file are equal). If you want to be really dumb you could even replace all songs smaller or equal to final countdown by final countdown. You'd then have an 80's hack.

This is a few hours of work for me (but not a lot) but if Gi Nattak plan to have more than 10 replacement songs or so, it's something that worth to be done IMO and something that is more flexible than 10 patches. I would not do a GUI app because it would expand my work of twice or three times the time taken to code it.


RE: Song replacement patches - Gi Nattak - 07-01-2017

Well that sounds really cool, thanks! I will definitely have more than 10 replacements. Once I get some more song replacement ideas I'll get on the few needed things.


RE: Song replacement patches - madsiur - 07-01-2017

(07-01-2017, 03:33 PM)GiĀ Nattak Wrote: Once I get some more song replacement ideas I'll get on the few needed things.

Great! We can discuss this more in detail on Discord in the future. The app can be expanded to take free space in account and I'd like to eventually turn your version into a general FF6 song replacement app for any hack, which would be only slightly different from your version to take in account more customization.