Slimelite BBS

AmiGenie.lha

Back to emu

NES Game Genie code Decoder/Encoder

Size
39K (39,708 bytes)
Added
2026-11-20 13:05
Downloads
2
Long Description
This is a program which will convert NES Game Genie codes to CPU addresses and vice-versa. It can be used to change game values for cheating in emulators, as well as for making your own custom Game Genie codes for a real NES. For those of you who weren't into the Nintendo Entertainment System in the late '80s and early '90s, the Game Genie was a device that let you cheat in games by modifying values of a game program plugged into your NES. With this, you could get infinite lives, invincibility, mega-jumps, level codes, and other weird effects. Unfortunately, the code system was a little complicated, as it didn't allow you explicitly to modify chosen CPU addresses with explicit values. Usually, I would just pick words at random and see if they did cool things. What this program will do is tell you, after you enter in a GG code, what ROM and CPU address the code modifies, as well as tell you the value of this modi- fication. You can also give a ROM address and a value, and it will spit out a Game Genie code for you to try out on a real Game Genie. To start the program, just double-click on the GG.exe icon (you can't miss it!) GG.exe will also work perfectly fine if started from CLI. You will be asked whether you want to decode or encode a GG code. First, try out decoding a code by entering it in when it asks you. If you have used a GG in the past, you will know that some GG codes are 6 characters long, while most are 8 long. The differences between the two will be explained further down. Just enter a code that you know for now. I'll enter "ZELGYU", which is the code to start you on level 10 in Bomberman. GG.exe will show you three values. The code value is the easiest to understand. It tells you what value will be placed in the given RAM location. With the code I just entered, the code value will read 'A'. This is hexadecimal (learn it before you do ANY NES hacking!!!) for the number 10. 10 = start on level 10, get it? Next, GG.exe gives you two other values, the ROM address and the CPU address. These numbers represent the location in memory that the code affects. The CPU address will be most useful for people using emulators. In some emulators, you can change the value of a certain memory location while the game is running. The ROM address is the address that the game value is stored in the game ROM, but be warned that with the larger games that use mappers, this ROM address could be one of several locations depending on which location to which the map- per is pointing. But, if you know your stuff, you could potentially use a hex editor on a game ROM, and modify the location, so that you could have a game cheat permanently stored in ROM! Note that the CPU address is the ROM address with 8000h added to it. If you enter an 8-character GG code into GG.exe, you will be presented with an extra value, called the compared value. What this is, is a value that the Game Genie will search for in the given memory location. When the value of that location is the same as the compared value, the GG puts the code value in its place. This means that it will maintain a code value in a memory location for the whole time that you're playing the game, instead of just setting it to the code value at the beginning of the game. Say, for example, I put in "AANAOZGE" into GG.exe. This is a code for MegaMan 2 (a great game!!) that gives you mega jumping ability. What GG.exe gives you is a compared value of 4, and a code value of 8. The ROM address is 'A71', which stores the height of your jumps. So, since your jumping power will always be 8 because of the GG code, you can now jump twice as high. The Game Genie maintains this as your jumping height throughout the entire game. That's how it works. Now, onto the fun part, the encoding of GG codes. When you start up GG.exe and choose to encode a GG code, you will be asked whether you want a compare value. As above, you need a compare value for many games, to keep the GG che