Post subject: Converting FCEU cheat codes to Game Genie codes.
Former player
Joined: 6/25/2004
Posts: 607
Location: Maine
I've been looking around a bit to how to turn the cheat files you input into FCEU (Such as 040D:10 for Infinite Energy for Blaster Master) into a Game Genie code. I have a little thing that converts hex codes into Game Genie codes, but I don't really have the hex. I can get seven numbers out of the FCEU cheat, but not eight, which I need. A little help here, possibly? THanks!
Active player (287)
Joined: 3/4/2006
Posts: 341
Addresses in the range 8000-FFFF are part of ROM, and you can make Game Genie codes from cheats which modify addresses in that range. 040D is part of RAM, so the code you mentioned can't be converted. In this particular case at least, it's possible to make a different code with the same effect. Address: C827 and C891 (two different codes) Value: 8D Compare: AD
ventuz
He/Him
Player (126)
Joined: 10/4/2004
Posts: 940
Yeah what Nitrodon said /\. To do that, set breakpoint on RAM address, then play the game. It'll pause game and point somewhere in ROM that are altering RAM. You can change it to different opcode (changing from "substract" into some other opcode that doesn't do anything or doesn't crash game). That will be your Game Genie code, you'll have to convert it to game genie format, as long as it's coming from ROM offset. Meh, it's too hard to make it clear, maybe I'm too tired. Maybe someone else can explain it better. But I'm curious, assuming that you're making a TAS, why do you need game genie if you already have RAM cheat? The only thing I can think of is hacking them into ROM.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
...and this thread has been brought to you today - by the letters P, O, Z, X, L, U, G, K, I, S, T, V, Y, and N, in which none of those letters belong to the hexidecimal rule (0-9, A-F). What I'm saying here is that even though it is easy to translate Game Genie codes to hex addresses, it is strictly impossible to translate hex addresses back to Game Genie codes. There's a big difference here, but good luck! =)
Active player (287)
Joined: 3/4/2006
Posts: 341
Those letters plus A and E form a set of 16 letters, each of which corresponds to some hexadecimal digit. There's no reason it wouldn't be possible to convert hex addresses into Game Genie codes. How else do you think Game Genie codes would be created? The codes I gave convert to SAXGNESX and SEOGOESX respectively. I tried to look at what happens when you lose power, but the same routine is used for both you and the enemies, so any code modifying that routine would probably make the enemies invincible as well. The codes I ended up making set your power to a certain number whenever it is displayed on the screen, which happens once each frame.
ventuz
He/Him
Player (126)
Joined: 10/4/2004
Posts: 940
symbolic X wrote:
...
Apparently Galoob tried to change character / number into other character and swap around position, maybe just to make them looks "magicial". See this - http://tuxnes.sourceforge.net/gamegenie.html
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Oh, so Galoob actually twisted most of the letter and hexidecimals around to try to "hide" the actual memory addresses to keep us guessing. Why would they make cheat-code hacking that confidential?! They weren't as easy as PSX GameShark, I can tell ya that!