(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-15-24 05:11 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Hex and Cheat Devices
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
Dwedit
Posts: 93/116
Gameshark and Action Replay modify RAM values, Game Genie 'modifies rom' by intercepting cartridge reads, and substituting in a different value if it matches the address it's looking for.

Real Game Genie Codes are a scrambled version of the address and data, you can use a tool to convert between real addresses/data and "game genie codes". For example, instead of using 0,1,2,3...,D,E,F hex characters in a code, the SNES game genie uses the scrambled hex sequence D,F,4,7,0,9,1,5,6,B,C,8,A,2,3,E. So if you want 255, that's EE, or 123, then that's 58. And that's just for the leading two characters of a code which represent the data of the byte to change.
ZSNES supports both "Game Genie" codes, and real hex patch codes. Game Genie Codes are in XXXX-XXXX format, while the other is XX:XXXXXX. Not 100% sure on ZSNES's format for rom cheats, I think it's like that anyway. It might be XXXXXX:XX instead, go figure it out.

I think snes roms may also have a 512 byte header sometimes, try subtracting 512 from your modification.
FreeDOS +
Posts: 1100/1312
Most of them have encrypted or scrambled codes, though obviously ZSNES has figured them out (check the source code, or docs). They either work by modifying the ROM (since it's between the real cartridge and the system, they can modify what hte ROM bits read as before getting to the system); or by modifying RAM (a constant command to update a certain RAM offset).
KPhoenix
Posts: 60/112
I've always wondered how a cheating device such as Gameshark or Action Replay work. I notice how they use hexidecimal. Just a few days ago, I tried putting in some bytes from an offset from a SMW rom into the Game Genie in ZSNES, but it wouldn't accept it. Does anyone know how those cheat devices work?
Acmlm's Board - I3 Archive - ROM Hacking - Hex and Cheat Devices


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.004 seconds; used 348.72 kB (max 380.39 kB)