I'm taking a "Do it yourself" approach to hacking for now....
So, if you want any new Genesis codes, "Do it yourself". The tool to help you has appeared. There's more than enough brain-power out there funding adventures in Genesis hacking.
This mini-text is just to show the basics of how to setup the hooks so that the addresses modifying them will be possible to decypher.
Simple Gens Tracer (2.12aR2) Game Genie Code Hacking example:
Required: a PAR code in the format FF???? of the address modified.
Gens Tracer Genesis Emulator: http://www.romhacking.net/utils/337/
Wily's Tower:
Modified address: FFA1B6
FFA1B6 is the address that determines how many different games are on the screen. By logging the screen from before it loads to after it loads, the code that initializes the address can be found, and a log of the same event can be searched for coding that relates to the addresses you find. You can also check a disassembly of the ROM for exact info if needed.
1. Include hook: hook_wr* 0 ffa1b6 ffa1b6 (* = 1, 2, or 3)
2. Press "," on the main menu, before the game select screen.
3. Load the game selection screen.
4. Press "," to turn off logging
5. Close the emulator
6. Open hook.txt
It'll show this line somewhere in the file if you did it right:
[01:18A8] W16 = 0003 [FFA1B6]
[01:18A8] refers to the instruction after the one that performed the write, minus 2. The preceeding instruction is 6 bytes long (3 sets of 2 bytes). You should add 2 to this address, and check a "/" logged "trace.log" of the event so you'll get correct program code to search for. In this case, "01:18AA" is what to search for. Then, check the instruction preceeding it for the line responsible for the change.
In the end, the instruction
000118A4 357C 0003 005C MOVE.W #$0003,$005C(A2)
becomes
000118A4 357C 0004 005C MOVE.W #$0004,$005C(A2)
The code is:
0118A6:0004 (GG: ATNA-CAFG)
Converting Genesis .SMD Files into .BIN files:
Use GenRomSuite 2.8.2:
http://mipagina.cantv.net/tomman/genSuite/gs_en.htm
(This can also be helpful for the Decompiler)
.BIN Format ROM Decompiler:
http://www.classicgaming.com/epr/genesis.htm
Download sega-asm.zip



Reply With Quote
heh that 'edit' was funny

