(I picked up the following info from rec.games.video.misc; it explains the
conversion process, and also what PAR codes look like. I figure you can
actually use this program to convert GG/PAR codes....)


Game Genie Genesis decoding

Merlyn LeRoy posted the method to convert Game Genie codes to real hex codes:

    For example, SCRA-BJX0 is a game genie code.  Each letter is 5 bits from
    the table ABCDEFGHJKLMNPRSTVWXYZ0123456789, A=00000, B=00001, C=00010...

      S     C     R     A  -  B     J     X     0
    01111 00010 01110 00000 00001 01000 10011 10110
    ijklm nopIJ KLMNO PABCD EFGHd efgha bcQRS TUVWX   rearrange as...

    00000000 10011100 01110110: 01010100 01111000
    ABCDEFGH IJKLMNOP QRSTUVWX: abcdefgh ijklmnop
    24-bit address              16-bit data
    MSB                    LSB  MSB           LSB

    Which is 009c76: 5478

Pro Action Replay format for Genesis

The Pro Action Replay codes for the Genesis are just an address/data format,
AAAAAADDDD.  The Pro Action Replay can either intercept reads to ROM, or in-
stall a routine which continually restores RAM values.  (Codes which modify
RAM can't be converted to Game Genie formats.)  The best educated guesses are
that FF as first two digits of the address indicates RAM, and anything else is
a page pointer for ROM.  The data is a 16 bit number, but if the first two di-
gits of the data are 00, the device only inserts an 8 bit number.  (You prob-
ably need two codes if you want to insert a 16 bit number which starts with
two zeroes.)
