EZ-Flash USA Forum

Forum for the EZ-Flash I, II, III, IV & V Gameboy Advance & Nintendo DS USA Forum (Unofficial) Open since 2004!
It is currently Wed May 22, 2013 9:35 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
Sponsor
 Post subject: .SAV hacking
PostPosted: Wed Nov 11, 2009 1:49 am 
Offline
User avatar
 Profile

Joined: Wed Feb 22, 2006 1:11 pm
Posts: 903
Location: earth, you idiot
hm dam its slothette again...

what im trying to do is change names in SAV files
ive tried it with a few
find the player name in hex editor and change

when i try to use the SAV 2 things can happen
the SAV becomes corrupt and game deletes it
or the SAV works but the name hasnt changed

what are the tricks??

_________________
\o/______|o|______\o/_______o_______\o/______|o|______'o'______o


Top
 
Sponsor
 Post subject: Re: .SAV hacking
PostPosted: Wed Nov 11, 2009 3:34 am 
Offline
Moderator
 WWW  Profile

Joined: Wed Apr 13, 2005 4:49 am
Posts: 2857
Location: location, location
I have probably written something on save hacking before but the broad stroke is that the saves are hashed in some way, I have seen everything from basic parity up to things that would make the likes of sha1 sweat (and just to spell it out I mean I have seen well known hashing methods through to entirely custom methods). Ostensibly it is to prevent corruption but it has the nice side effect of making this sort of thing a bit harder. Some games (most notably pokemon) have a rollback/fallback or backup area of the save and others will flag it and say start again.

Several options here:
Find a cheat to disable save checking. Final Fantasy 3 has a good example of one, it also has a good save tweaking tool called thundaga (I probably have it on my site somewhere).

Use a cheat or memory editor to change it in ram: aside from basic cheat prevention (mirrored values, obscured values, altering pointers........ read a cheat guide if you are interested in those as they at best tangentially related to the matter at hand) the data in the ram is usually treated as flawless. If you only want names there is usually little to be gained from altering it these so I doubt you will even see the cheat prevention pop up.

Reverse engineer the hash and find what data is hashed (the whole save is not targeted as the whole point of a hash is to be unique and unpredictable, the data you want to change is likely hashed though. General rule of thumb here is the data following the hash or the header that contains the hash is what is targeted) and then have it as you would a normal save. Many ways to reverse engineer the hash but the usual is make many saves ever so slightly different to the one before (move a step, fire a bullet, spend some money, gain 1 xp.......) and upon firing up your hex editor you will quickly see the data and the hash if you do it right. Next up is ASM to figure out the routine that hashes it.

The easiest method is probably the second I mentioned, even if your emulator lacks hacking tools like these your PC does not. Chances are good that your hex editor features a ram editor and if not many of them do. http://mh-nexus.de/en/hxd/ http://www.x-ways.net/winhex/ for starters (I have used both of those and count them among my top hex editors and http://www.tech-faq.com/hex-editor.shtml might also be of interest). There are more cheat oriented things like http://www.vghackers.net/wiki/Hacking_N ... l_Hardware but that will probably not do here.

_________________
Come and join the EZFlash IRC channel #ezflash on irc.irchighway.net
Java irc client http://sosuke.com/ezflash/irc-ezflash/

DS rom rips, hacking and enhancements
GBA and DS rom hacking guide
Collection of useful threads for the EZ5 (kept updated)


Top
 
 Post subject: Re: .SAV hacking
PostPosted: Wed Nov 11, 2009 8:32 am 
Offline
User avatar
 Profile

Joined: Wed Feb 22, 2006 1:11 pm
Posts: 903
Location: earth, you idiot
sounds like impossible then
i want to change player name in SAV files ive downloaded
to get stuff unlocked in games without being called someone else

_________________
\o/______|o|______\o/_______o_______\o/______|o|______'o'______o


Top
 
 Post subject: Re: .SAV hacking
PostPosted: Sun Nov 15, 2009 7:31 pm 
Offline
 Profile

Joined: Sun Mar 09, 2008 10:06 pm
Posts: 81
I'm assuming that by .sav hacking, you mean a GBA game. So, I'd suggest you run the game under VBA, load the saved game, pause the emulator, look through the SRAM area (0xe000000 in the memory viewer) for the name of a character, and try overwriting it, resuming the emulation, then saving. That might work, presuming the game doesn't overwrite the name from exram/iwram and does its checksum computation from the data in the SRAM area.

Even then, the name might be repeated multiple times, the name might be variable length (and hence you'll never quite get the naming to work right likely), and probably some other problems I'm not thinking of. But, it's worth a shot to try.


Top
 
 Post subject: Re: .SAV hacking
PostPosted: Sun Nov 15, 2009 11:05 pm 
Offline
User avatar
 Profile

Joined: Wed Feb 22, 2006 1:11 pm
Posts: 903
Location: earth, you idiot
thx
but i was talking about NDS

looks like ill need to keep being dishonest :P

_________________
\o/______|o|______\o/_______o_______\o/______|o|______'o'______o


Top
 
Sponsor
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group  
Design By Poker Bandits