(EDIT: I now realize this thread should be titled "Converting PAR codes into GG codes?" but it's too late now)
I've discovered a way to make a code that changes something in a game, and as pleased as I am with myself for creating my first game code, it only changes a RAM address and I'd like to go further. I'd like to know if there's a way I can come up with a code that does the same thing but modifies ROM addresses so I can use it on a real NES.
Before I go on, I want to point out that I'm very new to game hacking and I have no knowledge of assembly language. I just followed this tutorial which explained things very nicely.
Now, the game I'm using is Clash at Demonhead for the NES, and basically I created a code that makes it so that when you rescue the Hermit, you already have access to all 5 Hermit abilities instead of having to "unlock" each new ability with every 100 force points milestone reached (to get all 5 abilities, you need 500 force points). The byte I found that works with this is 0511 and changing the value to 1F (or even FF) gives you all 5 abilities already unlocked.*
This is great and all, but I'm curious to find out if there's a ROM address I can change to do the same thing. The tutorial has some information on finding the ROM location, but I'm running into some problems. I've set the RAM address as the breakpoint as the tutorial instructs and after running the game to the point where I receive the Hermit abilities, the debugger pops up showing me this line:
>07:CEF5:8D 11 05 STA $0511 = #$00
If I'm reading things correctly, the ROM addresses I'm supposed to change are CEF5, CEF6 and CEF7. Here's where I think I'm making mistakes: looking at the bytes 8D, 11 and 05, I take it I'm supposed to change those values into EA, but when I do that and convert the codes into game genie codes (XVNGSVSE, XVNGVTPO and XVNGNTIE), nothing happens when I try to run through the game.
Can anyone tell me what I could be doing wrong? Or if this is even possible? I'd greatly appreciate it. If anyone needs more explanation on the game's mechanics or any other extra details, let me know.
* I'm aware there's a code in this game's list that says "Have Hermit's 5 Forces" but all this does is add the Hermit icon in the item menu to give you access to the Hermit Force menu; it does not give you the abilities.
I've discovered a way to make a code that changes something in a game, and as pleased as I am with myself for creating my first game code, it only changes a RAM address and I'd like to go further. I'd like to know if there's a way I can come up with a code that does the same thing but modifies ROM addresses so I can use it on a real NES.
Before I go on, I want to point out that I'm very new to game hacking and I have no knowledge of assembly language. I just followed this tutorial which explained things very nicely.
Now, the game I'm using is Clash at Demonhead for the NES, and basically I created a code that makes it so that when you rescue the Hermit, you already have access to all 5 Hermit abilities instead of having to "unlock" each new ability with every 100 force points milestone reached (to get all 5 abilities, you need 500 force points). The byte I found that works with this is 0511 and changing the value to 1F (or even FF) gives you all 5 abilities already unlocked.*
This is great and all, but I'm curious to find out if there's a ROM address I can change to do the same thing. The tutorial has some information on finding the ROM location, but I'm running into some problems. I've set the RAM address as the breakpoint as the tutorial instructs and after running the game to the point where I receive the Hermit abilities, the debugger pops up showing me this line:
>07:CEF5:8D 11 05 STA $0511 = #$00
If I'm reading things correctly, the ROM addresses I'm supposed to change are CEF5, CEF6 and CEF7. Here's where I think I'm making mistakes: looking at the bytes 8D, 11 and 05, I take it I'm supposed to change those values into EA, but when I do that and convert the codes into game genie codes (XVNGSVSE, XVNGVTPO and XVNGNTIE), nothing happens when I try to run through the game.
Can anyone tell me what I could be doing wrong? Or if this is even possible? I'd greatly appreciate it. If anyone needs more explanation on the game's mechanics or any other extra details, let me know.
* I'm aware there's a code in this game's list that says "Have Hermit's 5 Forces" but all this does is add the Hermit icon in the item menu to give you access to the Hermit Force menu; it does not give you the abilities.

Comment