+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  HELP!!!
Pages: [1]
Author Topic: HELP!!!  (Read 377 times)
Purkinje
Guest
« on: September 05, 2007, 11:31:12 am »

I have read through your tutorials (AND romhacks.net tutorials as well) and I'm still kinda confused.  I still don't understand how tables are created, and how to make it easier to find level, hp, mp and that kind of stuff in a ROM save file.  I'm using Visual Boy Advance with GS2 Lost Age rom trying to get Jenna REALLY powerful....  Can someone help?
KaioShin
Guest
« Reply #1 on: September 05, 2007, 11:38:52 am »

What you want sounds more like savestate hacking than romhacking. Play the game and write down a stat you want to change. Save your game and search through the saved file for that number in hex form. You'll most likely find lots of places where it occurs. Write down all places and play the game some more. When the stat changes write it down again and save. Now look at the places you wrote down last time and look if one of them matches the new number. If several are still the same repeat the procedure as long as needed until only one value remains. That's the offset you need to change.
CaseCrash
Guest
« Reply #2 on: September 05, 2007, 11:39:06 am »

Ok, you're editing save games so this might not be too difficult, maybe.
Have you tried using a hex editor and searching for the values you want to change?

For instance, if the characters max HP is currently 140, search the file for the hex value (0x8C). Change each instance of the value, one at a time, to something else and load the save game, check the status screen or whatever. If the value has changed, you've found it! and you've probably also found the region where other stats for that character are.

If there's compression or something it will be harder.


EDIT: Yeah, what he said.
Purkinje
Guest
« Reply #3 on: September 05, 2007, 03:31:40 pm »

THANK YOU!!!  That help SO much.  I was really confused about all this stuff, and those two posts helped me immensly. 
When it's compressed, how do you tell and how do you fix that?
KaioShin
Guest
« Reply #4 on: September 05, 2007, 04:10:30 pm »

I highly highly doubt the data in the savegame will be compressed. Just try it out and come back IF you don't find anything. You'll most likely will find everything, don't worry.
labmaster
Guest
« Reply #5 on: September 05, 2007, 04:19:55 pm »

Down the bottom, check out the guide by yours truly: http://www.gamefaqs.com/portable/gbadvance/game/561356.html.

You can use VBA's built in cheat searcher to help with this sort of thing, there's a series of guides at http://cheatandwin.com/forums/showthread.php?t=127 that explains it.

The addresses in the guide, and the method of the cheat searcher give you RAM addresses.

If you want to edit saves directly (and to be clear here, I'm talking about SRAM/'battery' files - with a *.sav extension, VBA savestates are gzip compressesed), you usually find that the data structures present in RAM are the same in SRAM, so by searching for contiguous blocks of data you can find them quickly.

Alternatively, there are programs out there that help with the comparison of save files that Kaioshin described - I'll see if I can find some links for you.
« Last Edit: September 05, 2007, 04:26:57 pm by labmaster »
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC