Author Topic: Sega Genesis 'Game Code Modifications' :p  (Read 969 times)

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Sega Genesis 'Game Code Modifications' :p
« on: November 02, 2015, 04:27:34 AM »
Here are some hacks I did to a few personal favorites 8)
Back up your rom (legally dumped from your collection, and all that) then open it with a hex editor, search for the strings and make changes as illustrated then quick save to play in Fusion or on flash cart with the cheats embedded.

Edit
Only tested on NTSC versions

Contra Hard Corps
[spoiler]Invulnerable P1/P2: 1 instance
Search: 42A9000261004D0C4E75534033400058
Change: 42A9000261004D0C4E75534033406004

Infinite Lives/Bombs P1/P2: 1 instance
Search: 000600063546000A36690064532B0011
Change: 000600063546000A36690064532B6004[/spoiler]

Ghouls and Ghosts
[spoiler]Infinite Time:
Search: 70007201102D3049670881011B403049
Change: 70007201102D3049670881011B406004

Invulnerable (can still fall or get crushed):
Search: 000084EE3338206D334C4ED0536D3318
Change: 000084EE3338206D334C4ED0536D6004

Infinite Lives:
Search: 11FC0000F6004E75226D32CE53290013
Change: 11FC0000F6004E75226D32CE53296004

Never Lose (current) Armor:
Search: 8000F72E137C00010011137C00010012
Change: 8000F72E137C00010011137C00016004[/spoiler]

Golden Axe 3
[spoiler]Infinite Lives:
Search: 670E5328013C
Change: 670E53286004

Infinite Health:
Search: E24193290142
Change: E24193296004

Invulnerability: Have to die by being beat to death once per stage before it triggers. Won't work with Infinite Health
Search: 0001114000A8
Change: 000111406004

Infinite Magic:
Search: 000693280140
Change: 000693286004[/spoiler]

Gunstar Heroes
[spoiler]Infinite Health:
00144A2C00CC6A000004E244996C0024
00144A2C00CC6A000004E244996C6004

Infinite Health 2:
6700FA526000FAAE4E75046D00140024
6700FA526000FAAE4E75046D00146004

Inf Health 3:
A01C064000103B400014046D00140024
A01C064000103B400014046D00146004

Invulnerable:
00764E754A6D007C6700002C536D007C
00764E754A6D007C6700002C536D6004

Infinite Time in Maze (boss):
004E7400760078001B42004D1B43004C
004E7400760078001B42004D1B436004[/spoiler]

Vectorman
[spoiler]Infinite Time: E891
Search: 08F80007E87E11FC003BE8925338E891
Change: 08F80007E87E11FC003BE89253386004

Infinite Lives:
Search: 0042426C0044422C00664E755378E87C
Change: 0042426C0044422C00664E7553786004

Infinite Health:
Search: 4EB900069FA44CDF0030600A9178E878
Change: 4EB900069FA44CDF0030600A91786004

Infinite Special Weapon on pickup:
Search: 0005E87E4E750103070F1F005378E886
Change: 0005E87E4E750103070F1F0053786004

Keep Multiplier:
Search: 000A000001904A78E88267785378E882
Change: 000A000001904A78E882677853786004[/spoiler]

Vectorman 2
[spoiler]Infinite Time:
Search: 08F80007E9C011FC003BE9D45338E9D3
Change: 08F80007E9C011FC003BE9D453386004

Infinite Lives:
Search: 0042426C0044422C00664E755378E9BE
Change: 0042426C0044422C00664E7553786004

Infinite Health:
Search: 4EB90005997A4CDF0030600A9178E9BA
Change: 4EB90005997A4CDF0030600A91786004

Keep Multiplier:
Search: 0000000A012C4A78E9C467785378E9C4
Change: 0000000A012C4A78E9C4677853786004

Infinite Special Weapon on pickup:
Search: 0005E9C04E750103070F1F005378E9C8
Change: 0005E9C04E750103070F1F0053786004[/spoiler]
« Last Edit: June 24, 2016, 19:00:28 PM by Saturn »

Offline Shadowrunner

  • Global Moderator
  • Hero Member
  • *
  • Posts: 4963
  • Karma: 51
    • View Profile
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #1 on: November 02, 2015, 15:22:48 PM »
Great job! How do you figure out what to change, and what to change it to? I have a hex editor for the 3DO that I've tried to play around with but never had any success.

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #2 on: November 02, 2015, 16:50:10 PM »
Thanks!
For these simple(r) systems I used a combination of Cheat Engine (to isolate the variables during play) and Hex Workshop in Windows to make edits.
I haven't been able to do rom hacks on systems for Jaguar or higher (3DO, Saturn, etc). Only RAM hacks (can only 'trap' what I need during play but it changes after powering off.) I'd asked people in the know about hacking Jaguar rom but I'm assuming it's some kind of secret.

Will be testing scanmem for Ubuntu soon so I can hopefully get back to doing this. It's fun.

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #3 on: November 02, 2015, 16:58:21 PM »
What to change it to is usually 6002 (jumps 1 byte) or 6004 (jumps 2 bytes). The code following the string creating the event is usually followed next by the part that changes it. Like health going down by 1, etc. Using one of those to jump over this part makes the health stay the same.
There's better explanations out there with all the technical jargon but in the end this is pretty much what happens. I was playing GEX on 3D0 and Saturn and could freeze the life bars and other stuff but when tracing the string back to a rom location, it always went to some odd location that I couldn't do anything with.
This may be all common knowledge but hope some of it is useful.

Offline Shadowrunner

  • Global Moderator
  • Hero Member
  • *
  • Posts: 4963
  • Karma: 51
    • View Profile
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #4 on: November 02, 2015, 17:06:00 PM »
Thanks for all the info! Sounds like I need to do some research if I want to go any further but this is a good start.

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #5 on: November 02, 2015, 17:13:43 PM »
You're welcome :)
There's tons of info out there on the process and once the steps are known it's just repetitive (but still fun). There are some games I couldn't hack but very few. I'm sure they can be hacked but I lost interest in pursuing it further due to time constraints. Here's a great place to start if interested. This guy Tony is a guru and helped me sort out a lot of info to get my hacks working correctly.

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #6 on: April 14, 2016, 19:59:29 PM »
Got tired of losing in Dragon's Fury so hacked infinite balls into the rom:

Find this hex string:
41F8F6364A78F1BC670441F8F63C5350

Change it to:
41F8F6366004F1BC670441F8F63C5350
(change both instances)

Original post updated 8)

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #7 on: April 14, 2016, 20:35:18 PM »
Bare Knuckle III (Japan)

One hit death punch and near invincibility:
Search for this hex string:
36680060302800360240003F9128006C

Change it to:
60040060302800360240003F9128006C
(change all 3 instances)

Some Bosses/mid stage bosses can inflict damage but the majority of enemies are harmless. Also, moves like suplexes won't kill an enemy in one hit. The straight up punch will though 8)

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #8 on: April 15, 2016, 17:38:44 PM »
Had a heck of a time trying to get Infinite Health on this one. Everything I edited made everyone invincible so I gave up lol


Streets of Rage 2 (USA)

Stop Timer:
Search: E3400640005CD078FC12308052403080
Change: E3400640005CD078FC12306002403080

Don't lose health using Special Punch:
Search: 000E357C0002000051EA009E516A0080
Change: 000E357C0002000051EA009E516A6002

Infinite Lives:
Search: 001E4E7508AA0004001E4E75536A0082
Change: 001E4E7508AA0004001E4E7560040082

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #9 on: April 15, 2016, 21:41:45 PM »
Ranger-X (USA)

Invulnerability (blinking):
Search: 4A7900FFF03467000008537900FFF034
Change: 4A7900FFF03467000008537900FF6004

Infinite Flying Ability:
Search: 33C000FFCC9E303900FFCC8C323C00C0
Change: 33C000FFCC9E303900FF6004323C00C0

Offline Saturn

  • Global Moderator
  • Hero Member
  • *
  • Posts: 2546
  • Karma: 17
    • View Profile
    • http://jaysmith2000.ipbhost.com/index.php?s=c827a7b611daaaf555722b332b1b9a2c&act=idx
Re: Sega Genesis 'Game Code Modifications' :p
« Reply #10 on: October 24, 2016, 22:14:09 PM »
Did these for Sonic The Hedgehog. Been ages since I played the original, what a blast 8)
Takes me back to 1991, iirc, when I got my first Genesis while waiting on the SNES to be released.

Sonic 1
[spoiler]Start with 99 lives
Search: FE1011FC000CF60011FC0003
Change: FE1011FC000CF60011FC0063

Start with 999 lives (messed up graphic)
Search: FE1011FC000CF60011FC0003
Change: FE1011FC000CF60011FC03E7

999 rings when Sonic takes damage (must have at least 1 ring when hit)
NOTE: won't work alongside Never Lose Rings and/or Infinite Rings cheats
Search: 00124442444451CDFF7631FC0000FE20
Change: 00124442444451CDFF7631FC03E7FE20

Infinite lives
Search: 00244238FE1E5238FE1C5338
Change: 00244238FE1E5238FE1C6032

Have All Chaos Emeralds
Search: 000CF60011FC0003FE127000
Change: 000CF60011FC0003FE127006

Once invincible, stay invincible to stage end or death
Search: 00004EB90000139611FC0000
Change: 00004EB90000139611FC0001

Never Lose Rings
NOTE: won't work alongside 999 Rings When Hit and/or Infinite Rings cheats
Search: 00124442444451CDFF7631FC
Change: 00124442444451CDFF766004

Infinite Rings
NOTE: won't work alongside 999 Rings When Hit and/or Never Lose Rings cheats
Search: 54280024217C0001004A0004
Change: 54280024217C0001004A00C8

Infinite Air
Search: 303C00C24EB90000139C5378
Change: 303C00C24EB90000139C6002[/spoiler]

Attached the Lunar IPS files to patch the rom. Lips can be downloaded from here.
« Last Edit: October 25, 2016, 22:00:43 PM by Saturn »