Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: FUTURA on December 17, 2020, 04:36:22 PM

Title: SEGA Mega Drive Japanese OutRunners Button Code Hack?
Post by: FUTURA on December 17, 2020, 04:36:22 PM
So the Japanese version of OutRunners has a button cheat code that unlocks extra music tracks in the sound test menu and also unlocks the Virtua Formula car in Arcade Mode.

The button code requires you to enter this at the "Press Start Button" screen:

Left, Right, Left, Right, B, C, A.

Once that code is entered a jingle noise can be heard confirming the code was activated.

What I was wondering was if it would be possible to create an IPS patch for the Japanese ROM so that you do not have to enter this code at all, so that the music and car will already be unlocked automatically when you boot up the ROM without needing to input the button combination at the menu.

If anyone knows how to do this, I'd appreciate the help. Thanks!
Title: Re: SEGA Mega Drive Japanese OutRunners Button Code Hack?
Post by: Cyneprepou4uk on December 17, 2020, 06:09:53 PM
The game must set a flag somewhere in RAM when you enter a cheat correctly.
Title: Re: SEGA Mega Drive Japanese OutRunners Button Code Hack?
Post by: Tony H on December 17, 2020, 11:00:31 PM
https://gamehacking.org/game/15617
Title: Re: SEGA Mega Drive Japanese OutRunners Button Code Hack?
Post by: Anime_World on December 18, 2020, 01:02:19 AM
ASM Patch for this hack.

arch md.cpu
endian msb

output "outrunners_hack.md"

origin $00000000
insert "outrunners.md"

constant cheat_enable($6000)

origin $00005B7A
bra.w   $5B88

origin $00009B0E
        cmpi.b  #2,(cheat_enable).w
beq.w   $9B22



IPS for Patch: https://www.mediafire.com/file/vcpb5tr6l8wolhn/outrunners_hack.ips/file
Title: Re: SEGA Mega Drive Japanese OutRunners Button Code Hack?
Post by: FUTURA on December 18, 2020, 09:37:34 AM
Quote from: Tony H on December 17, 2020, 11:00:31 PM
https://gamehacking.org/game/15617

Quote from: Anime_World on December 18, 2020, 01:02:19 AM
ASM Patch for this hack.

arch md.cpu
endian msb

output "outrunners_hack.md"

origin $00000000
insert "outrunners.md"

constant cheat_enable($6000)

origin $00005B7A
bra.w   $5B88

origin $00009B0E
        cmpi.b  #2,(cheat_enable).w
beq.w   $9B22



IPS for Patch: https://www.mediafire.com/file/vcpb5tr6l8wolhn/outrunners_hack.ips/file

Thank you both! I had no idea there was a game genie code for it which is amazing. It's also good to see the code for the patch. It's good to know.  :thumbsup:
Title: Re: SEGA Mega Drive Japanese OutRunners Button Code Hack?
Post by: FUTURA on January 05, 2021, 07:33:09 PM
Quote from: Anime_World on December 18, 2020, 01:02:19 AM
ASM Patch for this hack.

arch md.cpu
endian msb

output "outrunners_hack.md"

origin $00000000
insert "outrunners.md"

constant cheat_enable($6000)

origin $00005B7A
bra.w   $5B88

origin $00009B0E
        cmpi.b  #2,(cheat_enable).w
beq.w   $9B22



IPS for Patch: https://www.mediafire.com/file/vcpb5tr6l8wolhn/outrunners_hack.ips/file

By any chance do you have a patch to unlock the "Virtua Formula" car on the menu screen?

In this video:
https://www.youtube.com/watch?v=oYq2W6893hU

Go to 8:41 in the video and you will see the Virtua Formula car appear on the menu.

It does not appear with the game genie code or the patch you gave.

Can you make an IPS patch OR game genie code to unlock this for the Japan version of Outrunners so it is automatically there? Thanks!