Final Fantasy 5

Go down

Final Fantasy 5 Empty Final Fantasy 5

Post by Conn on Fri 15 Nov 2019 - 7:42

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)
Final Fantasy 5 Image414

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

- 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).
Final Fantasy 5 Image415

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
Final Fantasy 5 Image612
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
Final Fantasy 5 Attachment
ff5_msu_v3.zip You don't have permission to download attachments.(2 Kb) Downloaded 4 times


Last edited by Conn on Wed 20 Nov 2019 - 6:53; edited 6 times in total
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by darthvaderx on Fri 15 Nov 2019 - 8:35

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.

darthvaderx

Final Fantasy 5 Image110

Since : 2017-09-04

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Fri 15 Nov 2019 - 9:03

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?
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Fri 15 Nov 2019 - 9:16

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
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by JUD6MENT on Fri 15 Nov 2019 - 12:25

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
JUD6MENT

Final Fantasy 5 Image110

Since : 2018-04-19

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Fri 15 Nov 2019 - 15:00

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 Wink
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by darthvaderx on Fri 15 Nov 2019 - 17:40

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

Final Fantasy 5 Image110

Since : 2017-09-04

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Fri 15 Nov 2019 - 17:56

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
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by darthvaderx on Fri 15 Nov 2019 - 18:03

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

Final Fantasy 5 Image110

Since : 2017-09-04

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Fri 15 Nov 2019 - 18:23

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
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by darthvaderx on Fri 15 Nov 2019 - 18:27

Sorry... Sad

Okay, one step at a time. Wink

darthvaderx

Final Fantasy 5 Image110

Since : 2017-09-04

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Sun 17 Nov 2019 - 6:54

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.
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Tue 19 Nov 2019 - 9:37

Stupid mistake by me, v3 in frst post Wink
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn on Wed 20 Nov 2019 - 6:53

Here's the track map. Anybody willing to help is welcome to complete it Very Happy

Track Map
Conn
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by edale Yesterday at 20:30

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/

edale

Final Fantasy 5 Image110

Since : 2017-10-03

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by Conn Today at 5:08

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 Wink

Much thanks Very Happy

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
Conn

Final Fantasy 5 Image212

Since : 2013-06-30

Back to top Go down

Final Fantasy 5 Empty Re: Final Fantasy 5

Post by edale Today at 19:18

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...)?

edale

Final Fantasy 5 Image110

Since : 2017-10-03

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum