• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

Super Mario RPG speedhacked - need testers - Star Fox too

Started by dantheman, June 21, 2007, 10:36:09 AM

Previous topic - Next topic

dantheman

I've heard reports that SMRPG runs slowly in "Ruka's Unofficial Snes9xTYL++ ( BETA)", which doesn't surprise me as the game uses a special coprocessor that is 3 times faster than the SNES CPU itself.  Now I know that this emulator uses the SNES Advance SuperDAT file for applying speedhacks, but since the game will never run in SNES Advance, there is no entry for the game (or if there is, it was made using an autogenerator tool that's not confirmed to work).

I do not have a PSP myself, but I love the game, and I'd love to see it run at fullspeed at a minimal frameskip.  From my understanding, a frameskip of about 3 is currently necessary to run the game at fullspeed, and I'd like to make that number lower.

As a result, I learned how to use the SNES9X debugger in order to find loops to speedhack.  My friend tested them a bit, and he managed to get 50-60 fps with 0 frameskip most of the time.  I now need testers to make sure that the speedhacks work on their setups and, more importantly, that they don't break the game at any point.  I already had a patch in there that caused battles to freeze, which my friend helped me identify and remove.

To apply the patches, first download the updated SuperDAT from http://boards.pocketheaven.com/viewtopic.php?t=3366 and replace the old one.  Open it up with Notepad and turn off word wrap.  Scroll down to where SMRPG would normally go alphabetically and place this in there on its own line:

1B8A0625|Super Mario RPG - Legend of the|4|0|0|0|0|0|A41=42,30685=42FA,302FF=42,A0D=42F8,202E9=42DB,29CA5=42DB,9F5=42

If the copying and pasting causes it to accidentally add another line break, just delete it so that the entire entry is on a single line (again, word wrap must be off for this to make sense).

Please let me know how it works out.  Also let me know if there are any particular areas of the game that are very slow.  While most patches work throughout the entire game, certain areas may have different loops to hack.

Thanks in advance, and happy playing.

NT

#1
How does Ruka's Unofficial Snes9xTYL++ compare to Snes9xTYL 0.4.2me?

Also, if you want to avoid line wrapping, use the [code.] tags like so:

really long text without wrapping eally long text without wrapping eally long text without wrapping eally long text without wrapping eally long text without wrapping

dantheman

I'm not really sure, as I don't have a PSP myself.  I would imagine you would use the same files you got from ME combined with the updated eboot.pbp file from http://rukapsp.hp.infoseek.co.jp/PSPSoftware/labSNESTYL/0032EBOOT.zip

If there's a better emulator to run it on, then use that.  From what I can tell by reading the comments at this DCemu thread however, it appears that this beta runs games faster than the official version.

And yeah, I was considering using code tags, but I didn't know if they'd be necessary.  Added them in just to be safe.

dantheman

A user at the official forums for the emulator asked if I could take a look at Star Fox.  The following patch was the only loop I could reliably find everywhere throughout the game:

8FC4E6D0|Star Fox (V1.2) (U)|0|0|0|0|0|0|15965=42DC

However, there are a couple of other hacks I would like tested in addition to the one above.  To test, add a comma at the end and then add the hack.  It's best to try each one separately.

15A3E=42FB - found in the controls screen, no problems expected, should definitely work
1BDA7=DB6E - found in the "Corneria:  The Base" screen, probably won't work and will crash the game
1CBF0=42F9 - found in the "Corneria:  The Base" screen, more likely to work but still might crash the game
15BA1=DB6E - found in-game but probably won't work

For instance, to test the first one, your SuperDAT entry will look like
8FC4E6D0|Star Fox (V1.2) (U)|0|0|0|0|0|0|15965=42DC,15A3E=42FB
and testing the second one would look like
8FC4E6D0|Star Fox (V1.2) (U)|0|0|0|0|0|0|15965=42DC,1BDA7=DB6E
etc.

lolilops

I don't know how old this is, but I'm going to try it out now. This game seems like it doesn't want to be portable  ;D

lolilops

The cutscene in the beginning runs extremely slow (the music runs ahead of the cutscene)  but the game plays wonderfully!

edit: Spoke too soon :p

It plays fine, but there's slowdown when there's enemies around, and the battles have slight slowdown, other than that, I'd say it's downright playable!

dantheman

As it turns out, a few of my hacks made the game screw up.  Like you said, areas outside battles were slowed down due to one patch, cutscenes were slowed down with another, and a third caused the Level Up screen to freeze.  A user has helpfully identified the hacks that caused the problems, so try the following patch instead:
1B8A0625|Super Mario RPG - Legend of the|4|0|0|0|0|0|A41=42,302FF=42,202E9=42DB,9F5=42

I'm guessing that with those other patches removed, only battles will have any noticeable speed gain.  You can also try adding 3FA895=42DB to the end to see if it makes a difference, though I don't think it will.  At least the game isn't broken like it is with my first patch.