(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
04-29-24 12:34 PM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Hex and Cheat Devices New poll | |
Add to favorites | Next newer thread | Next older thread
User Post
KPhoenix

Koopa








Since: 08-01-06
From: USA

Last post: 6284 days
Last view: 6279 days
Skype
Posted on 11-30-06 01:37 AM Link | Quote
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?
FreeDOS +

Giant Red Koopa
Legion: freedos = fritos








Since: 11-17-05
From: Seattle

Last post: 6279 days
Last view: 6279 days
Posted on 11-30-06 02:37 AM Link | Quote
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).
Dwedit

Rope
フクト オン フォニクス








Since: 11-17-05
From: Chicago!

Last post: 6281 days
Last view: 6280 days
Posted on 11-30-06 03:13 AM Link | Quote
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.


(edited by Dwedit on 11-30-06 02:22 AM)
Add to favorites | Next newer thread | Next older thread
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.011 seconds; used 357.38 kB (max 423.06 kB)