SPECIFICATIONS FOR KiGB GAMEGENIE/GAMESHARK CHEATS LIBRARY FILE --------------------------------------------------------------- KiGB V1.01 and newer saves gamegenie and gameshark codes in an ASCII file, that file is called KIGB.GGS, and should be located in the same directory as KIGB.EXE. It is fully compatible with the cheat library file of NO$GMB with more gamegenie and gameshark codes supported (each 16 max). It also supports 6-digit gamegenie codes. The specification of cheat library file of NO$GMB is written by Martin Korth and is repeated here with some minor modifications to reflect the changes on KiGB. In the description below, the samples are prefixed by two leading spaces for better legibilty. These leading spaces shouldn't be used in real cheat files though! FILE SKELETON ------------- In general, the format of the cheats file is like this: :CARTNAME:CRC XX CODE ;comment XX CODE ;comment XX CODE ;comment :CARTNAME:CRC XX CODE ;comment XX CODE ;comment :CARTNAME:CRC XX CODE ;comment etc. CARTNAME AND CRC ---------------- Both entries are taken from the cartridge header in the ROM image, and are used to identify the game for which the following codes are thought for. The ASCII CARTNAME (header address 134h) may contain characters 20h-7Fh only, other characters (typically 00h, 80h, or C0h for example) are invalid and truncate the rest of the name entry, even if other valid characters might follow. The maximum length is 16 characters. The 16 bit CRC value (four uppercase hexdigits) (header address 14Eh) is used to ensure that the code is used only for the specified game, and not for other games (that might eventually have the same name), or for different versions of the game. GAMEGENIE CODES --------------- These codes are 6 or 9 characters long, prefixed by "GG" and stored as follows: GG 123456789 ;comment GG 123456 ;comment For compatibility with the official game genie format these codes may also be separated into groups of three digits by using "-" characters: GG 123-456-789 ;comment GG 123-456 ;comment The maximum number of game genie codes is 16 (for each game). GAMESHARK CODES --------------- These codes are 8 characters long, prefixed by "GS" and stored as follows: GS 12345678 ;comment The maximum number of game shark codes is 16 (for each game). PLACEHOLDERS ------------ Please do NOT specify placeholders in the file, if you have codes like GS xxNNxxxx ;NN lives GG NNxxxxxxx ;start in level NN (1-5) then replace the NN in the code by a number, assigning an initial value. It might be a good idea to keep the NN in the comment, indicating that the code could be modified to other values! COMMENTS -------- Each code may have (and should have) a comment that describes what the code does, for example "Infinite Lives", "Infinite Energy", etc. The comment should be specified directly after the code, separated by a ";" (semicolon). The maximum length for comments is 32 characters each. EXAMPLE ------- Okay, enough about specs, this is how it should look like in practice: :SUPER MARIOLAND:5ECF GG 05D49CE62 ;Start with NN lives GS 010115DA ;Infinite Lives :TERMINATOR 2:2674 GG C95-00E-4C1 ;Almost infinite energy For more examples, enter some codes in the KiGB gamegenie and gameshark menus and examine the resulting cheats file.