Sonic and Sega Retro Message Board: HOWTO: Disable Debug Mode in S1 - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 
Page 1 of 1

HOWTO: Disable Debug Mode in S1 Because we all know it sux0rz

#1 User is offline Shadow Fire 

  Posted 08 March 2009 - 06:28 AM

  • Ultimate victory!
  • Posts: 1533
  • Joined: 05-February 05
  • Gender:Male
  • Location:The Land of Darkness
  • Project:Sonic: The Lost Land (Series), The GCN (site)
  • Wiki edits:60
Okay... we all know that Debug mode sux0rz, or in my case, prefer people not to use debug mode, so this little guide teaches you how to disable debug.

First of all, in your main assembly file, search for the following:

Title_CountC:


Underneath this should be the following lines of code:

		move.b	($FFFFF605).w,d0
		andi.b	#$20,d0; is C button pressed?
		beq.s	loc_3230; if not, branch
		addq.w	#1,($FFFFFFE6).w; increment C button counter


Now, what we wanna do is to comment out those lines of code. In other words, add a semicolon ( ; ) at the beginning of each of those lines. This should be the result:

;		move.b	($FFFFF605).w,d0
;		andi.b	#$20,d0; is C button pressed?
;		beq.s	loc_3230; if not, branch
;		addq.w	#1,($FFFFFFE6).w; increment C button counter


What we've done is told the game to ignore all C button presses at the title screen. C is needed to activate debug mode, so with them not being counted, it is nigh impossible to activate it. You may still be able to activate it with a save state. =P Anyway, congratulations. You've disabled debug mode.
This post has been edited by Shadow Fire: 08 March 2009 - 06:29 AM

#2 User is offline Max Firestorm 

Posted 08 March 2009 - 06:53 AM

  • Pyrodramatic
  • Posts: 904
  • Joined: 23-May 08
  • Gender:Male
  • Location:Lichfield, England
  • Wiki edits:2
I assume then that in order to disable the Level Select that you can do the same by commenting out the same for the A button?

#3 User is offline Cinossu 

Posted 08 March 2009 - 07:57 AM

  • inverted with love~
  • Posts: 2566
  • Joined: 21-June 04
  • Gender:Male
  • Location:London, UK
  • Project:Sonic the Hedgehog Extended Edition
  • Wiki edits:474
There are a few more things than that to remove. All this does is remove the code to activate it, not remove it altogether.

Want it all gone? Remove any tests on $FFFFFE08 to do something different, and any jumps to DebugMode. Believe me, there are quite a number.

#4 User is offline Shadow Fire 

Posted 08 March 2009 - 08:03 AM

  • Ultimate victory!
  • Posts: 1533
  • Joined: 05-February 05
  • Gender:Male
  • Location:The Land of Darkness
  • Project:Sonic: The Lost Land (Series), The GCN (site)
  • Wiki edits:60

View PostCinossu, on Mar 8 2009, 11:57 PM, said:

There are a few more things than that to remove. All this does is remove the code to activate it, not remove it altogether.

Want it all gone? Remove any tests on $FFFFFE08 to do something different, and any jumps to DebugMode. Believe me, there are quite a number.

Yeah, I kinda knew that, but what my guide was to teach was how to disable it from being activated, which is just as effective as outright removing it.

#5 User is offline SMTP 

Posted 08 March 2009 - 09:41 AM

  • Posts: 2144
  • Joined: 27-April 04
  • Gender:Male
  • Location:Ohio
  • Wiki edits:59
Except you can still put in the patch code this way. :P

#6 User is offline nineko 

Posted 08 March 2009 - 09:49 AM

  • I am the Holy Cat
  • Posts: 5255
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
The best thing you can do is to disable it, and use $FFFFFE08 to store Sonic's max speed. So if someone tries to enable debug mode by writing 1 in there, he would end up with an ultra slow Sonic in return.

#7 User is offline Overlord 

Posted 08 March 2009 - 05:35 PM

  • Что, вы ожидали что-то остроумное?
  • Posts: 13300
  • Joined: 12-January 03
  • Gender:Male
  • Location:Berkshire, England
  • Project:VGDB
  • Wiki edits:3,204

View Postnineko, on Mar 8 2009, 02:49 PM, said:

The best thing you can do is to disable it, and use $FFFFFE08 to store Sonic's max speed. So if someone tries to enable debug mode by writing 1 in there, he would end up with an ultra slow Sonic in return.

You're evil. I love this idea. XD

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users