Kodewerx
https://www.kodewerx.org/forum/

Game Genie encryption routines...
https://www.kodewerx.org/forum/viewtopic.php?f=2&t=3688
Page 1 of 1

Author:  Lazy Bastard [ Wed Jul 18, 2007 7:29 am ]
Post subject:  Game Genie encryption routines...

In adding functions to Majestic Porter, I'm interested in adding conversion utilities for, among other things, all of the Game Genie systems (decryption, encryption). However, I can only find reference on NES and SNES Game Genie encryption. Does anyone know anything about those of the Genesis, Game Boy, or Game Gear?

Author:  Smalls1652 [ Wed Jul 18, 2007 7:45 am ]
Post subject:  Re: Game Genie encryption routines...

Dial 911 for some help.

Author:  Lazy Bastard [ Wed Jul 18, 2007 7:59 am ]
Post subject:  Re: Game Genie encryption routines...

I found the rules somewhat ambiguous in that respect: "hacking help" belongs in this forum, but "questions about how to use codes" belongs in Dial 911; this pertains to neither, specifically. However, if a moderator or admin feels this belongs in Dial 911, that's fine.

Author:  Lazy Bastard [ Wed Jul 18, 2007 8:59 am ]
Post subject:  Re: Game Genie encryption routines...

Hmm...using a util called Game Genie Encoder/Decoder, I've mostly figured out the Game Boy/Game Gear system...most of which is more a mangling of the original address than actual encryption (obscurity, not security, heh):

ABC-DEF-GHI - GB/Game Gear GG

ZYXW VU - Raw code


AB = VU

C = Y

D = X

E = W

F = (Z XOR 0xF)

GHI = Here's where I'm not sure...the utility I mentioned calls the part of the code this affects the "Compare", though I've no idea what that refers to. I'll toy with it a little more later. For now, back to work. If anybody has a clue, let me know.

Author:  dlong [ Wed Jul 18, 2007 9:38 am ]
Post subject:  Re: Game Genie encryption routines...

Due to the small address size, the compare byte is usually used. For example, a GG code for the NES that patches 56 to address 0123 actually patches it to 0x0123, 0x10123, etc.; The compare byte checks and sees if the byte at the address its patching matches the byte you give it; that way, only one address is really patched instead of several.

Author:  Lazy Bastard [ Wed Jul 18, 2007 8:58 pm ]
Post subject:  Re: Game Genie encryption routines...

Interesting; thanks. Pugsy has found an explanation for several GG encryption systems, which I'll look through tomorrow, when the diphenhydramine HCL in my bloodstream has sufficiently worn off ;)

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/