Final Fantasy 5
Page 1 of 1 • Share
Final Fantasy 5
darthvaderx asked me a while ago to msu FF5, and I had a little time to give it a try.
Unfortunately, some stuff is a bit "special", so I do not know how many of disgusting exceptions this game will hold.
Inside the package are 2 patches:
ff5_msu1_2.0MB(J).ips: apply on Japanese 2MB rom (this patch expands the rom to 2.5 MB)
ff5_msu1_2.5MB(E).ips: apply on English 2.5MB rom
Track Mapping
There is an easy way to track all themes!
- start the ORIGINAL rom (without MSU patch applied in Geiger Snes9x debugger)
- make a breakpoint at C0C214 (Execute hook)

Run the game until the intro starts, the debugger will halt when the intro theme 02 is going to play.
- Click on edit registers:

- type in the lower byte of A the theme you want to map, in this example 3e is the meteroid noise pcm -62: change the 02 into 3e (or any other theme you want to map).

Click ok and run. You should hear now the meteroid noise during the intro.
Continue with all other tracks.
------------------------------------------------------------------------------------------
To map the tracks ingame, make a write hook at 2004 in the PATCHED rom

In this example the debugger halts at the title screen with lower byte in A:xx00, so you know the theme is pcm-0
Track Map
Edit: patch_v3 - loading savestate fixed
Unfortunately, some stuff is a bit "special", so I do not know how many of disgusting exceptions this game will hold.
Inside the package are 2 patches:
ff5_msu1_2.0MB(J).ips: apply on Japanese 2MB rom (this patch expands the rom to 2.5 MB)
ff5_msu1_2.5MB(E).ips: apply on English 2.5MB rom
Track Mapping
There is an easy way to track all themes!
- start the ORIGINAL rom (without MSU patch applied in Geiger Snes9x debugger)
- make a breakpoint at C0C214 (Execute hook)

Run the game until the intro starts, the debugger will halt when the intro theme 02 is going to play.
- Click on edit registers:

- type in the lower byte of A the theme you want to map, in this example 3e is the meteroid noise pcm -62: change the 02 into 3e (or any other theme you want to map).

Click ok and run. You should hear now the meteroid noise during the intro.
Continue with all other tracks.
------------------------------------------------------------------------------------------
To map the tracks ingame, make a write hook at 2004 in the PATCHED rom

In this example the debugger halts at the title screen with lower byte in A:xx00, so you know the theme is pcm-0
Track Map
Edit: patch_v3 - loading savestate fixed
- Attachments
Last edited by Conn on Wed 20 Nov 2019 - 6:53; edited 6 times in total
Conn- Since : 2013-06-30
Re: Final Fantasy 5
Ok ok, thanks, I'll try. Could you also show me the tutorial on how to add loop to a track too?
About Earthbound-Sonic MSU-1 I think I will give it up, I was not very pleased with the final result.
Finally the author of this hack asked me how to make it compatible with MSU-1:
http://www.romhacking.net/hacks/4134/
Could you help him too?
Thanks again.
About Earthbound-Sonic MSU-1 I think I will give it up, I was not very pleased with the final result.
Finally the author of this hack asked me how to make it compatible with MSU-1:
http://www.romhacking.net/hacks/4134/
Could you help him too?
Thanks again.
darthvaderx- Since : 2017-09-04
Re: Final Fantasy 5
I never dealed with tracks, the only tutorial I can refer to is that from qwertymodo:
https://www.youtube.com/watch?v=9pDXdaWS9-Q
As for the FF4 Ultimate, he can find the asm source code in the patch folder of
http://bszelda.zeldalegends.net/stuff/Con/ff2j_msu1.zip
Probably the both of us use same free space or something, he'd only need to rearrange the addresses in the asm file?
https://www.youtube.com/watch?v=9pDXdaWS9-Q
As for the FF4 Ultimate, he can find the asm source code in the patch folder of
http://bszelda.zeldalegends.net/stuff/Con/ff2j_msu1.zip
Probably the both of us use same free space or something, he'd only need to rearrange the addresses in the asm file?
Conn- Since : 2013-06-30
Re: Final Fantasy 5
I think I know the problem with ultima, it is the rom expansion which is problematic here (you need to use lunar expand, otherwise the addresses of the msu code are not recognized):
https://www.smwcentral.net/?p=section&a=details&id=4599
- take a fresh 1Mb rom of FF2 (US) no, header.
- use lunar exapnd to make it the size 1.5 MB
- Apply Final Fantasy IV - Ultima v5.41 no header.ips
- REMOVE header (the ultimate patch automatically adds a header)
- apply ff2j_msu1_1.5MB.ips
then it should work
https://www.smwcentral.net/?p=section&a=details&id=4599
- take a fresh 1Mb rom of FF2 (US) no, header.
- use lunar exapnd to make it the size 1.5 MB
- Apply Final Fantasy IV - Ultima v5.41 no header.ips
- REMOVE header (the ultimate patch automatically adds a header)
- apply ff2j_msu1_1.5MB.ips
then it should work
Conn- Since : 2013-06-30
Re: Final Fantasy 5
darthvaderx wrote:Ok ok, thanks, I'll try. Could you also show me the tutorial on how to add loop to a track too?
About Earthbound-Sonic MSU-1 I think I will give it up, I was not very pleased with the final result.
Finally the author of this hack asked me how to make it compatible with MSU-1:
http://www.romhacking.net/hacks/4134/
Could you help him too?
Thanks again.
If you are struggling let me know, i can help you, i deal a lot with making tracks. qwertymodo stuff is the best place to start.
JUD6MENT- Since : 2018-04-19
Re: Final Fantasy 5
As for the patch itself, there's a small warning, I did it in 2 hours, so there should be many bugs. What I also couldn't trace are partial mutes like when rescuing the first girl right at the beginning. I could add a mute here but it was only good guessing.
I would be surprised if this covers all mutes.
Also some themes will not loop where I need to make exceptions, when the track map is finished (like 0a, pcm-10, dying). But darthvaderx and I know this procedure already from ff4. Here I expect less problems
I would be surprised if this covers all mutes.
Also some themes will not loop where I need to make exceptions, when the track map is finished (like 0a, pcm-10, dying). But darthvaderx and I know this procedure already from ff4. Here I expect less problems

Conn- Since : 2013-06-30
Re: Final Fantasy 5
Conn wrote:I think I know the problem with ultima, it is the rom expansion which is problematic here (you need to use lunar expand, otherwise the addresses of the msu code are not recognized):
https://www.smwcentral.net/?p=section&a=details&id=4599
- take a fresh 1Mb rom of FF2 (US) no, header.
- use lunar exapnd to make it the size 1.5 MB
- Apply Final Fantasy IV - Ultima v5.41 no header.ips
- REMOVE header (the ultimate patch automatically adds a header)
- apply ff2j_msu1_1.5MB.ips
then it should work
About FFIV, I'm still working on my set and I'm using this translation this time (which is my favorite):
http://www.romhacking.net/hacks/2337/
However, specific to this translation I found a bug at the game end, in the end credits instead of having pcm 186 (Ending part 3), repeats pcm 93 (Ending part 2).
darthvaderx- Since : 2017-09-04
Re: Final Fantasy 5
In case this does not happen in the original rom, it's probably a bug in this translation and you should consult these authors
Conn- Since : 2013-06-30
Re: Final Fantasy 5
Or maybe the translation remapped something, oddly enough that it combined with the MSU-1 patch doesn't work on the SNes9x version you sent me, otherwise I would send you a save state.
darthvaderx- Since : 2017-09-04
Re: Final Fantasy 5
Better to keep this topic ff5 related to avoid confusion. If you think I can help on ff4 please post in the respective thread. However, I cannot fix all possible combinations of all various patches out there. I hope you understand
Conn- Since : 2013-06-30
Re: Final Fantasy 5
I sent you a version of FF4 which I could load in snes9x debugger. Using one of your savestates revealed no problem at the endings. Maybe you assigned the wrong pcm? Like pcm part 3 is the same as part 2 ending?
I edited the patch to v2. If loading a savestate made problems (spc played). v2 fixes it (hopefully) find it in first post.
I edited the patch to v2. If loading a savestate made problems (spc played). v2 fixes it (hopefully) find it in first post.
Conn- Since : 2013-06-30
Re: Final Fantasy 5
I'd be willing to look into this, I should be able to help with track mapping, and PCM creation.
@Conn, which English translation patch should I be looking for to use with this? Is it this one? https://www.romhacking.net/translations/353/
@Conn, which English translation patch should I be looking for to use with this? Is it this one? https://www.romhacking.net/translations/353/
edale- Since : 2017-10-03
Re: Final Fantasy 5
Yes, exactly RPGe was the translation I built it upon, but you need to be careful that the romhacking patch needs a header, but the 2.5MB english msu patch is for without header.
So you need to ensure that your rom has a header before applying the romhacking RPGe translation and then remove it before applying the msu version for the eng 2.5 MB rom. Alternatively you can google for the prepatched eng rom: it is called Final Fantasy V (J) [T+Eng1.1_RPGe].smc
But also ensure it has no header before applying the msu patch
Much thanks
P.D. if you make a playtest and find a buggy place, I think best is to send me the srm (no savestate) before this bug happens and send me the time of a youtube longplay so I know what to do to trigger this bug. srm have the advantage that I can load them in any emulator (I prefer geiger snes9x to debug, but this one is msu incompatible).
So you need to ensure that your rom has a header before applying the romhacking RPGe translation and then remove it before applying the msu version for the eng 2.5 MB rom. Alternatively you can google for the prepatched eng rom: it is called Final Fantasy V (J) [T+Eng1.1_RPGe].smc
But also ensure it has no header before applying the msu patch

Much thanks

P.D. if you make a playtest and find a buggy place, I think best is to send me the srm (no savestate) before this bug happens and send me the time of a youtube longplay so I know what to do to trigger this bug. srm have the advantage that I can load them in any emulator (I prefer geiger snes9x to debug, but this one is msu incompatible).
Conn- Since : 2013-06-30
Re: Final Fantasy 5
Thanks for the tip about the header, I woulda gone mad trying to figure out the problem given that the romhacking.net page for the mod lists the CRC info for the headerless ROM...
When using the MSU patch without any PCM's present, you get no sound. No way to get it to play the SPC when no PCMs (I know some games can't get that added, but most seem able...)?
When using the MSU patch without any PCM's present, you get no sound. No way to get it to play the SPC when no PCMs (I know some games can't get that added, but most seem able...)?
edale- Since : 2017-10-03
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum