Skip navigation
Welcome, Guest! Please Login or Join

Loading...

Unlocking the Power of the Game Genie Game Genie Code making for beginners

May 3, 2010 at 9:15:50 PM
hybrid (41)
avatar
(jeff .) < El Ripper >
Posts: 1437 - Joined: 10/04/2008
Virginia
Profile

the game is
Time Diver Eon Man (U) (Prototype).nes



Today i'll go over handling basic writes
i'll take you through finding the raw codes and dealing with the debugger
the emulator i'm using to create these codes is FCEUXDSP v1.07
first i'll start with the lives
first thing to do is start by finding the raw code for lives
this type of search is an extreamly easy type to find
its exactly as it is shown on the screen
go to tools click cheats.




this is your Cheat Console



once the the part in which you play starts Click Reset Button you will
see a list of codes to the right then go to the Known Value Button and
type 02 in it and click search now that list to the right just got alot shorter
lose a life then type 1 in the known value box and click search now there should be
only one value left at 00B7




now click tools and debug and this should show up



in the upper right hand corner you can see the Breakpoints secion
click the Add button and this should show up



now the adress would be filled in with 00B7
click the write box
then click ok
to disable the Breakpoint double click where it says
$00B7 EC-W--
the E will disappear and it will not be active double click again and it will re enable it




loose a life



the game will freeze and the debugger will pop up
at the left in the big window you will see its changed from before the first line will read



$EACE:C6 B7     DEC $00B7 = #$02




what this is saying here is to decrease  00b7
so what we want to do is make it load instead of making it decrease
now if you don't know nes programming its ok i barely do one method
 i use to look for what to change it to is glance at the other code around
look for LDA however we don't want to break anything else in the game so
we have to keep it the same amount of data glancing down i see
$EADA:A5 8F     LDA $008F = #$00
thats going to be used as a refence only



so go to tools and click Game Genie Encoder/Decoder





now in the Addess box type  
EACE
in the Compare Box type
c6
in the Value Box type
A5



and the Resulting Code is
Infinite Lives
SXKVVZVG



another neat thing to do with lives and such is an inital write
after finding the raw code 00B7 and setting up the break point reset
now its going to stop right away hit run once the title screen comes up
 hit click over to the game  and hit start it should stop shortly after at
$FAC5:85 B7     STA $00B7 = #$00



scroll up untill you see



$FAC3:A9 02     LDA #$02
$FAC5:85 B7     STA $00B7 = #$00




whats happening here is its loading a value of 02 and storing it at b7
what we want to change is the 02
so open your Game Genie Code Encoder/Decoder
figuring out what address to use is pretty easy  its not at FAC3 because thats A9
its actually at FAC4



so just like before   



in the Addess box type
FAC4
in the Compare Box type
02   
in the Value Box type
09
 the resulting code is
Start with 9 lives
PEKYKZZE



 



now the only things that change from dealing with simple writes is the type of write and the way of finding the raw code remember every game is different some maybe harder than others 



Edited: 05/01/2017 at 02:48 AM by hybrid

May 3, 2010 at 9:26:23 PM
i2a2n2 (39)
avatar
(Ian B.) < Kraid Killer >
Posts: 2321 - Joined: 11/01/2008
Ontario
Profile
Nice write up I'm going to have to try this for sure

-------------------------

My NWC High Score 661 950  Jan 19th 2010

---------Wanted: SNES PROTOTYPES !!! PM Me-----------


May 3, 2010 at 9:29:01 PM
AllYourBass (101)
avatar
(Pepe Silvia) < Bowser >
Posts: 5717 - Joined: 06/22/2009
Alberta
Profile
This is awesome. Thanks hybrid!

May 3, 2010 at 10:25:29 PM
hybrid (41)
avatar
(jeff .) < El Ripper >
Posts: 1437 - Joined: 10/04/2008
Virginia
Profile
its extreamly important to know which game i'm refering to

May 3, 2010 at 11:06:11 PM
bunnyboy (81)
avatar
(Funktastic B) < Bowser >
Posts: 7477 - Joined: 02/28/2007
California
Profile
This should be expanded into an ezine article!

May 4, 2010 at 9:11:49 AM
Mario's Right Nut (350)
avatar
(Cunt Punch) < Bowser >
Posts: 6576 - Joined: 11/21/2008
Texas
Profile
This is pretty cool. I'll have to mess around with this. How does it take the address and convert it to that creepy game genie code? What's the procedeure?

I agree with bunny on this one. This would make a pretty cool article. Earn yourself a pencil!

-------------------------

This is my shiny thing, and if you try to take it off me, I may have to eat you.

Check out my dev blog.


May 4, 2010 at 10:39:57 AM
NESHomebrew (20)
avatar
(Brad Bateman - Strange Brew Games) < King Solomon >
Posts: 4209 - Joined: 04/28/2008
Saskatchewan
Profile
I ask, and the man delivers! Thanks Jeff.

May 4, 2010 at 5:02:54 PM
hybrid (41)
avatar
(jeff .) < El Ripper >
Posts: 1437 - Joined: 10/04/2008
Virginia
Profile
Originally posted by: Mario's Right Nut

This is pretty cool. I'll have to mess around with this. How does it take the address and convert it to that creepy game genie code? What's the procedeure?

I agree with bunny on this one. This would make a pretty cool article. Earn yourself a pencil!




http://gshi.org/?s=faqs&id=60

heres a document on the techinal side of the Game Genie Code
its still abunch of stuff i don't understand

ok now we are going over what can be done with a Read breakpoint
we are going to find invincibility for Recca this time
starting the game and die one then opening up the cheat console once you re appear
reset and use the less than search a couple times if you can't make it before you die again
then use diffrent or greater than search type once you re appear do this until there is a few choices left
then test each one you will come apon 01A6 as the raw code for the invincibility timer.
open your debugger and set up a read break point. you will come to this
$F3AF:AD A6 01  LDA $01A6 = #$36
$F3B2:F0 18     BEQ $F3CC
$F3B4:CE A6 01  DEC $01A6 = #$36
$F3B7:F0 0D     BEQ $F3C6
$F3B9:29 03     AND #$03

basically its loading  1A6
then brancing if equal to

now by changing the First BEQ to a BNE
it will fool the game into thinking you are always invincible
BNE's Value is D0

so as before
Adress
F3B2
Compare
F0
Value
D0
and we get
ESUYZLEY

Remember i'm using the easiest examples for these types of codes other games maybe harder



Edited: 05/04/2010 at 06:20 PM by hybrid

May 4, 2010 at 7:33:11 PM
bunnyboy (81)
avatar
(Funktastic B) < Bowser >
Posts: 7477 - Joined: 02/28/2007
California
Profile
For the basic explanation, the address/compare/data bits are shuffled around, then converted to characters instead of numbers. Would be like PASSWORD -> WSASDOPR -> 93132465.

Apr 30 at 10:52:50 PM
Mega Mario Man (58)
avatar
(Tim ) < Kraid Killer >
Posts: 2291 - Joined: 02/13/2014
Nebraska
Profile
Originally posted by: hybrid

 

Anyway to restore the pictures in the original post or maye a link to this tutorial that has the pictures intact?
 

-------------------------
Current Project
Isometric Survival Horror

Older Projects
Tailgate Party, Power Pad Demo, Happy Hour

Links
Store, Facebook, Twitter

May 01 at 1:44:57 AM
hybrid (41)
avatar
(jeff .) < El Ripper >
Posts: 1437 - Joined: 10/04/2008
Virginia
Profile
Originally posted by: Mega Mario Man
 
Originally posted by: hybrid

 

Anyway to restore the pictures in the original post or maye a link to this tutorial that has the pictures intact?
 


yeah i can redo the pics i didn't think that people were still using this

May 01 at 1:49:57 AM
Mega Mario Man (58)
avatar
(Tim ) < Kraid Killer >
Posts: 2291 - Joined: 02/13/2014
Nebraska
Profile
Originally posted by: hybrid
 
Originally posted by: Mega Mario Man
 
Originally posted by: hybrid

 

Anyway to restore the pictures in the original post or maye a link to this tutorial that has the pictures intact?
 


yeah i can redo the pics i didn't think that people were still using this
I finally got curious enough to learn a bit about it. Sorry if it is an inconvience.

 

-------------------------
Current Project
Isometric Survival Horror

Older Projects
Tailgate Party, Power Pad Demo, Happy Hour

Links
Store, Facebook, Twitter

May 01 at 2:00:13 AM
hybrid (41)
avatar
(jeff .) < El Ripper >
Posts: 1437 - Joined: 10/04/2008
Virginia
Profile
no inconvenience what so ever just give me a bit to redo the pics

edit all photos redone


Edited: 05/01/2017 at 02:49 AM by hybrid

May 01 at 8:50:38 AM
SoleGooseProductions (120)
avatar
(Beau ) < Ridley Wrangler >
Posts: 2784 - Joined: 04/22/2013
Indiana
Profile
Ah cool! I've been wondering what it would take to mess around with the GG some, and didn't know that there were resources already around. Thanks Jeff! Wow, seven years late, hahaha.

-------------------------
"The light that burns twice as bright burns half as long..." ~ Blade Runner

SoleGooseProductions.com


May 01 at 9:05:20 AM
hybrid (41)
avatar
(jeff .) < El Ripper >
Posts: 1437 - Joined: 10/04/2008
Virginia
Profile
Originally posted by: SoleGooseProductions

Ah cool! I've been wondering what it would take to mess around with the GG some, and didn't know that there were resources already around. Thanks Jeff! Wow, seven years late, hahaha.


if you have any questions please don't hesitate to ask

May 01 at 10:42:06 PM
Mega Mario Man (58)
avatar
(Tim ) < Kraid Killer >
Posts: 2291 - Joined: 02/13/2014
Nebraska
Profile
Thanks! Great stuff. I'll have to try this, doesn't seem that bad after looking through it.

-------------------------
Current Project
Isometric Survival Horror

Older Projects
Tailgate Party, Power Pad Demo, Happy Hour

Links
Store, Facebook, Twitter