PDA

View Full Version : NesterJ 1.12 cheat file (.chj) guide



Qmark
February 17th, 2010, 00:43
So you've just upgraded NesterJ to a version that doesn't need clunky GameGenie codes, eh?
No doubt, you've noticed the example cheat files are full of gibberish and not well documented (or at least, not in English).

Luckily, they aren't too hard to figure out. Here's an example (Blaster Master):

[0]
Name=Inf Health
0=Max,40D,FF
Default=0

[01]
Name=Inf Lives
0=Max,DD,FF
Default=0

[02]
Name=Inf Gun
0=Max,C3,FF
Default=0

[03]
Name=Inf Hov
0=Max,92,FF
Default=0

[04]
Name=Pickups
0=All,99,FF,3FC,FF
Default=0

[05]
Name=Inf SubWpn
0=Max All,6F0,63,6F1,63,6F2,63
1=Max Hom-Missle,6F0,63
2=Max Thunderbreak,6F1,63
3=Max Warheads,6F2,63
Default=0

Now what the hell does this mean?
Let's look at a simple one:

[01] <- Code number
Name=Inf Lives <- Code Name
0=Max,DD,FF <- Value number, name, offset, & value
Default=0 <- Initial value



The Code Number is just a sequential list of codes. Nothing terrible seems to happen when these aren't in perfect order, but it's probably best to order them correctly.

Code Name is just a label for the overall set of codes.

This is where it gets interesting: 0=Max,DD,FF
The number (0, in this case) is another sequential list. Most codes can get by with just a single (0) entry. The text after the number and "=" (Max) is just a label for what that particular address/value set does. Next comes the memory address (DD, in hex), with the leading zeroes removed. Last is the value (FF, hex for 255) to poke into that address
Default is just the first code chosen when toggled (circle button).


The last code in the list (05) is an example of a cheat with multiple possible pokes, as well as codes that poke multiple addresses.
"0=Max All,6F0,63,6F1,63,6F2,63" Is named "Max All", and pokes 99 (which is '63' in hex) into adresses 06f0, 06f1, and 06f2. Just make sure to keep the hex numbers in address/value pairs.

demonolith
June 3rd, 2010, 01:17
Great tutorial! I'm surprised no one has commented yet

easycrashed
September 5th, 2010, 01:39
How do I know if to use max/min/all?

Also, can you use game genie codes with a chf file? The old .txt way requires multiple text files and adding each code manually.

Qmark
September 8th, 2010, 08:21
How do I know if to use max/min/all?"max" "min" and "all" are just labels.


Also, can you use game genie codes with a chf file? The old .txt way requires multiple text files and adding each code manually.You will have to translate the GG code into simple address/value pairs.
Google searching coughs up several guides and tools to do that, such as this one: http://www.technoplaza.net/software/ggdecode.php

omarrrio
November 13th, 2010, 21:21
well i tried for super mario and it didn't work, here you go:


[0]
Name=Infinite life all players
0=MAX,11D9,AD
Default=0

[1]
Name=Super jump turbo only
0=Super,3428,14
1=Mega,3428,04
2=Moon,342F,07
Default=0

[2]
Name=Always BIG
0=big,3263,A9,3264,00,5936,AD
Default=0

i got codes from here (http://www.gamegenie.com/cheats/gamegenie/nes/super_mario_bros.html).

Qmark
February 17th, 2011, 07:28
Those addresses for Mario seem rather high.

rimsky82
January 25th, 2013, 05:29
Sorry to bump an old thread. Thanks for the guide, it came in very handy.

Since those address are from genie codes, they are actually too low. You need to open your windows calculator, switch to programmer mode, and add 0x8000 to the address.

Or, you can go to gamehacking.org/?game=31010, select the codes you want, and export them to a chj file.