don't click here

Debug Guide to Sonic 2 ?ETA

Discussion in 'Engineering & Reverse Engineering' started by Luigi Link, Jan 28, 2003.

  1. Luigi Link

    Luigi Link

    Oldbie
    16
    0
    0
    Since I'm bored, I thought I'd give you a guide to the intracisies of debug in Sonic 2 Beta. :P

    DEBUG CODE
    At the title screen, press C, C, Up, Down, Down, Down, Down, Up. There could be any amount of C's, but a minimum of 2, and they can be positioned anywhere, except at the end of the code.

    DEBUG DISPLAY
    SCORE - The top line shows your position on the screen (every 1 pixel). Every digit is a bit, two digits are a byte, four are a word, and eight are a Dword. The left most word on the top row gives your X axis (horizontal) position on the grid. The right most word gives you your Y axis (vertical) position on the grid. For the bottom row, the left most word acts as what TIME would act like in a normal game, upping the number every second, except it's in hexadecimal. The right most word is a timing clock, cycling from 0000 to 0080 and then from 0080 to 0000 and so on. This cycling clock is used for timing objects such as swaying platforms, water movement, and etc.
    TIME - Displays how many sprites are on the screen at once. This number shouldn't surpass 80.
    RINGS - Displays your ring count.

    DEBUG FUNCTIONS

    Normal Play
    B - Toggle Debug On

    Debug Toggled On
    A - Move Forward in Object Cycle
    B - Toggle Debug Off
    C - Place Object on Screen
    A + C - Move Backward in Object Cycle

    TOGGLING

    To toggle debug in a level, make sure the code is on, and hold A and press start to enter the level with debug. This carries over from level to level.

    To toggle 2P interlaced mode, make sure the debug code is on, and hold B and press start to enter the level with 2P interlaced mode. Note: This will not work with levels where there is water (or "Mega-Mack") This doesn't carry over from level to level.

    To toggle the Video Display Processor's shadowing and highlighting feature, which some call Night Mode, make sure the debug code is enabled and hold C and press start to enter the level. This doesn't carry over from level to level.

    Note: When exiting a stage through egg container or end signpost, you may trigger debug if it's not triggered, 2P interlace, or "Night Mode" by holding their respective buttons after the results for the level are calculated.

    Tell me what you think.
     
  2. LOst

    LOst

    Tech Member
    4,891
    8
    18
    Nice, LL, as always.
     
  3. Simon

    Simon

    Oldbie
    Informative stuff, I like it :P
    Awesome post Luigi Link.
     
  4. Sz

    Sz

    Oldbie
    70
    0
    6
    Around
    Or you could just... use the Genecyst savestate I made... oh, about 4 years ago. ;)
     
  5. Gunner112k

    Gunner112k

    Catch Thirty-Three Oldbie
    Also, the dwords besides the score helps you to get information in object placing, which is useless right now with SonED Freeware
     
  6. Ashura96

    Ashura96

    HEROIC VERSE Oldbie
    heh, good stuff, I had forgotten the Debug code
     
  7. Nice guide, LL.
     
  8. Danika

    Danika

    ... Oldbie
    143
    0
    16
    ...
    Nothing atm
    Does Gens support split-screen?
     
  9. Mystical Ninja

    Mystical Ninja

    For old time's sake. Oldbie
    3,342
    5
    18
    New Castle, Delaware
    Nothing that concerns this place in the least.
    I'm not sure, but definately DGen does. =P
     
  10. Vague Rant

    Vague Rant

    Deceptively cute Oldbie
    Yes, Chaotix, Gens supports Splitscreen.
     
  11. Irondude

    Irondude

    I need some doggone help! Banned
    718
    0
    0
    Very Provesional Luigi Link.
     
  12. cool
     
  13. LocalH

    LocalH

    roxoring your soxors Tech Member
    HOLY MINOR ERROR CORRECTION BATMAN

    One digit's a nybble, not a bit. Can't believe I only now noticed that, heh.
     
  14. Gunner112k

    Gunner112k

    Catch Thirty-Three Oldbie
    Your self-esteem should be in an all-time low, you managed to record the biggest bump in S2B's history, a year and a half.
     
  15. LocalH

    LocalH

    roxoring your soxors Tech Member
    It's archives, so bumping shouldn't matter.
     
  16. Qjimbo

    Qjimbo

    Your friendly neighbourhood lemming. Oldbie
    Oh don't be silly, as LocalH said it's in the archives, and he had a useful bit of information to add :P
     
  17. Ayla

    Ayla

    I shat on your desk ^^ Oldbie
    1,759
    1
    16
    West Linn, OR
    Hacking Contest, StH Overlooked, Personal Indie game
    he could have bumped it with "omglolz!!!"

    That would have been shameful.
     
  18. LocalH

    LocalH

    roxoring your soxors Tech Member
    OMGLOLZ!!!