nesdev.com
http://forums.nesdev.com/

Need help removing demo mode from a ROM
http://forums.nesdev.com/viewtopic.php?f=10&t=16681
Page 1 of 1

Author:  spookgoblin [ Tue Nov 07, 2017 1:27 pm ]
Post subject:  Need help removing demo mode from a ROM

Hi there!

Does anyone know of a way to remove/turn off the demo mode (triggers from main menu and demos gameplay) from a ROM--specifically Castlevania 1?

Many thanks!

Author:  Kasumi [ Tue Nov 07, 2017 2:25 pm ]
Post subject:  Re: Need help removing demo mode from a ROM

Sure, here's a patch for Castlevania PRG 1.

Why, though? :lol:

Edit: Oh, you're the fiancé hack person. Just in case you're working from some modified ROM where this wouldn't work, the demo is triggered when $001E in RAM reaches zero on the title screen. When $001E is not zero, it branches to code at $B858. So I replaced the code that decrements $001E and the branch with a jmp to $B858. The jump means it ALWAYS goes where the game normally only goes if the counter is not zero. So the code that runs when the counter would reach zero in the real game (the demo stuff) never runs. Good luck!

And let me know if there are any problems with it, I spent like... five minutes on it.

Edit2: Oh, you can do it with a one byte change. $B858 is an RTS, so you can just change the opcode for dec $001E to $60. Oh well, I'm not uploading a new patch. :P

Attachments:
Castlevania (U) (PRG1) (No Demo).ips [17 Bytes]
Downloaded 6 times

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/