S2BETA4 discussion

Discussion in 'Prototype Discussion' started by drx, Feb 23, 2008.

  1. shobiz

    shobiz

    Tech Member
    In this beta, the debug mode code is present, but for some reason the code to transform sonic into an object has been removed. Restoring it is pretty simple however:

    1) Go to $16056 and overwrite the bytes there with
    Code (Text):
    1. 4EF900100000
    2) At the end of the ROM (I.e. $100000), insert
    Code (Text):
    1. 4A78FFFA671408380004F605670C31FC0001FE084238F7CC4E754A38F7CC660631F8F604F6024EF9
    2. 00016062
     
  2. drx

    drx

    mfw Researcher
    2,237
    220
    43
    :rolleyes:
    Wow, THIS takes me back... To the times when I did my hacks in machine code... Thanks :P
     
  3. STE

    STE

    Member
    221
    0
    0
    Weird. I was using the Hidden Palace Save and I placed a Ficky Prison with Debug. I stepped on it and the explosion killed me!? Oh yeah, this is probably well known (Hell, why say probably?) but when you die, the camers scrolls down to the very bottom of the screen with you. SEGA robably took that out because it was a real time-waster. NOTE: I don't make alot of posts cause' im Pending...
     
  4. djdocsonic

    djdocsonic

    Testing YOUR Hacks Since 2005... Member
    374
    0
    0
    Emerald Hill Zone
    Looking for a Rom Hack to Test.
    I've noticed the invincibility Stars are the same as the ones in Wai's prototype. They aren't as big as the final ones.
     
  5. Esrael

    Esrael

    Neto Tech Member
    245
    102
    43
    Brazil, São Paulo, Guarulhos
    Neto Assembler Editor / Sonic 2 Delta / Neto MD-DOS

    I have enabled debug using other code:

    Code (Text):
    1.  012950 from 4E7500015F80 to 4E7500100000
    Code (Text):
    1.  4A78FE0867064EF90003D81C4A78FFFA671208380004F605670A31FC0001FE084238F7CC4EF90001
    2. 5F8C
    This is Assembly Code (Tails because this code is from Sonic 2 Delta)
    Code (Text):
    1.   tst.w   ($FFFFFE08).w       ; Debug Support  Esrael L. G. Neto
    2.         beq.s   Tails_Init_Debug_Test  ; Debug Support  Esrael L. G. Neto
    3.         jmp $0003D81C             ; Debug Support  Esrael L. G. Neto
    4. Tails_Init_Debug_Test:                       ; Debug Support  Esrael L. G. Neto
    5.         tst.w   ($FFFFFFFA).w         ; Debug Support  Esrael L. G. Neto
    6.         beq.s   Tails_Normal           ; Debug Support  Esrael L. G. Neto
    7.         btst    #$04, ($FFFFF605).w ; Debug Support  Esrael L. G. Neto
    8.                 beq.s   Tails_Normal           ; Debug Support  Esrael L. G. Neto
    9.                 move.w  #$0001, ($FFFFFE08).w  ; Debug Support  Esrael L. G. Neto
    10.                 clr.b  ($FFFFF7CC).w
    11. Tails_Normal:  
    12.                 jmp  $00015F8C
     
  6. djdocsonic

    djdocsonic

    Testing YOUR Hacks Since 2005... Member
    374
    0
    0
    Emerald Hill Zone
    Looking for a Rom Hack to Test.
    I placed a flicky container and it ended the level as per normal and took me to HPZ 2. Interesting that in Debug all the objects are still ok and not the Glitched OOZ ones like in S2 Final.... looks as if they had just about pulled the zone. This also appears to be the proto AFTER the Sega Solid Gold Guide and its possibly the same one used in a French Proto video with the same title screen with the 1 Player and 2 Player selections (this video didnt show Hidden Palace Zone)..
     
  7. Esrael

    Esrael

    Neto Tech Member
    245
    102
    43
    Brazil, São Paulo, Guarulhos
    Neto Assembler Editor / Sonic 2 Delta / Neto MD-DOS
    Hidden Palace Colision is Still in this version.

    I Made a Save State with Tiles Restored

    Items restored in this Save State

    Tiles 8x8
    Blocks 16x16
    Chuncks 128x128
    Level Layout

    Sonic 2 Beta 4 Save State
     
  8. evilhamwizard

    evilhamwizard

    Researcher
    1,333
    169
    43
    [​IMG]

    Wow. Didn't know it was worked on this much after the Beta. Tube goes somewhere now.

    This is awsome work Esrael, thanks. :psyduck:
     
  9. 87th

    87th

    FOX HOUNDER Member
    If you hold right while starting HPZ Act 2, you land on something. Can anyone figure out some sort of layout from the collision data?
     
  10. Esrael

    Esrael

    Neto Tech Member
    245
    102
    43
    Brazil, São Paulo, Guarulhos
    Neto Assembler Editor / Sonic 2 Delta / Neto MD-DOS
  11. evilhamwizard

    evilhamwizard

    Researcher
    1,333
    169
    43
    Heh, knew the layout was familiar. :P

    I kinda realized that when I saw what was on the other side of the tube.
     
  12. GeneHF

    GeneHF

    SEGA-ier than you'll potentially ever be. Site Staff
    8,389
    0
    16
    Scenic Studiopolis
    Complete Global Conquest
    Because it'd have been very creepy if HPZ just happened to be worked on and had Esrael's Delta HPZ layout 16 years ago. =P
     
  13. STE

    STE

    Member
    221
    0
    0
    Great, thanks to Esrael's Save State, I can explore this beta even more throrouly. Could there possibly be a way to Port the WZ from Sonic 2 Delta into a Save State for S2B 4?
     
  14. Waluigi Prower

    Waluigi Prower

    Avatar-less. Member
    7
    0
    0
    A house in the middle of nowhere.
    Not another Sonic 2 Hack
    It's impossible to clear the 4th special stage without cheating, they only give you 42 rings in the first third of the stage, and it requires 45 to pass.
     
  15. NickW

    NickW

    Member
    Tails was able to destroy that grey statue thingy in ARZ and got the collision glitch:

    [​IMG]
    [​IMG]
    [​IMG]
     
  16. JoseTB

    JoseTB

    Tech Member
    685
    21
    18
    Ah I already missed the fun of fixing relative branches by hand =P

    Anyhow, it turns out super sonic is not all that finished as I thought. Here's how to restore it:

    Go to $16AB8, and type there:

    Code (Text):
    1. 4EF900100000
    Then, add this at $100000:

    Code (Text):
    1. 4A28003C672C323CFC000828000600226704323CFE00B26800126F0E1038F6020200007066043141
    2. 00124A28001267184E754A280039660E0C68F04000126C06317CF04000124E754A38FE1966160C380
    3. 007FFB0660E0C780032FE2065064EF90001082A4E75
    For the curious, this replaces the subroutine that controls the speed cap of the jump. The difference with the original code is that in this one the branch to check and trigger the transformation is present. Note that I added the 50 rings and 7 emeralds check myself; which doesn't mean that this is how the transformation was supossed to be triggered in this build. I used FFB0 because this one is used as opposed to FFB1 in later builds.

    Then, use this PAR code for the emeralds:

    FFFFB0:0007

    Get 50 rings, and jump as usual.

    Nearly nothing super sonic related is coded in the object, which translates in:
    - You can be hit and lose rings as usual
    - The ring counter doesn't drop
    - 0 rings doesn't make you go back to the normal form. There's nothing to trigger the detransformation - althought the code for this is also there.

    However, other things such as fixing the speed for the super form whenever it changes ARE present in the character object, so we can assume it was half-implemented in this build.

    I'm still unsure about the code not beginning triggered at all without hacking though. It might be called with a different event in this build, but I have yet to find it.

    More info as I find it.

    Edit 1: The code was written to be called externally, so it was definitively triggered with something else. I believe it could be a removed monitor, but I can't say this for sure yet.
     
  17. GARY M 9

    GARY M 9

    Member
    55
    0
    0
    The lasers in WFZ don't make any noise, probably because their sound bytes were not made during this build of the game.

    "Night Time" mode is still accessible by holding C when a level is starting. So this will be good for distinguishing if Plane A and Plane B objects are different in this version than the final for most levels.
     
  18. Hm, I thought I'd write a list of offsets that contain nemesis compressed art.
    Code (Text):
    1. Compressed Art is on the following places
    2. Offset     
    3. 0000485A   
    4. 00040300   
    5. 00071D8E   
    6. 00071F14   
    7. 0007393C   
    8. 00074876   
    9. 00074CF6   
    10. 0007541A   
    11. 00076D7C   
    12. 000778C0   
    13. 00077A36   
    14. 00077B3C   
    15. 00077C8A   
    16. 00077D62   
    17. 00078056   
    18. 000780CE   
    19. 00078266   
    20. 00078374   
    21. 000784AA   
    22. 00078516   
    23. 0007896E   
    24. 00078A16   
    25. 00078AE4   
    26. 00078BEE   
    27. 00078CB0   
    28. 00078D26   
    29. 00078DDC   
    30. 00078E4C   
    31. 00078EEE   
    32. 00078FD0   
    33. 00078FDC   
    34. 0007904A   
    35. 0007912E   
    36. 000792A6   
    37. 00079608   
    38. 0007987A   
    39. 0007993A   
    40. 00079B76   
    41. 00079D10   
    42. 00079F08   
    43. 00079F9E   
    44. 0007A00A   
    45. 0007A186   
    46. 0007A254   
    47. 0007A374   
    48. 0007A664   
    49. 0007A8F8   
    50. 0007AABA   
    51. 0007ACDC   
    52. 0007AD4C   
    53. 0007AEE8   
    54. 0007B1A8   
    55. 0007B294   
    56. 0007B4D2   
    57. 0007B67C   
    58. 0007B774   
    59. 0007B81E   
    60. 0007B88E   
    61. 0007B8F6   
    62. 0007B956   
    63. 0007BA42   
    64. 0007BAB4   
    65. 0007BB22   
    66. 0007BBAC   
    67. 0007BD3E   
    68. 0007BF24   
    69. 0007C05A   
    70. 0007C180   
    71. 0007C4A4   
    72. 0007C5F2   
    73. 0007C762   
    74. 0007C7CA   
    75. 0007C83C   
    76. 0007CA46   
    77. 0007CA86   
    78. 0007CAF2   
    79. 0007CCD4   
    80. 0007CE94   
    81. 0007D090   
    82. 0007D176   
    83. 0007D202   
    84. 0007D360   
    85. 0007D3F8   
    86. 0007D4D0   
    87. 0007D5EC   
    88. 0007D6B6   
    89. 0007D88A   
    90. 0007D992   
    91. 0007DAA8   
    92. 0007DB9C   
    93. 0007DFA8   
    94. 0007DFF8   
    95. 0007E0D2   
    96. 0007E22A   
    97. 0007F196   
    98. 0007F2E6   
    99. 0007F362   
    100. 0007F52E   
    101. 0007FA4C   
    102. 0007FBDE   
    103. 0007FF92   
    104. 0008007E   
    105. 0008040A   
    106. 000806F6   
    107. 00080858   
    108. 00080C40   
    109. 000814BE   
    110. 0008181C   
    111. 00081C22   
    112. 00081CA2   
    113. 00082AFC   
    114. 00082DEA   
    115. 00083290   
    116. 000833A4   
    117. 000834E6   
    118. 0008364A   
    119. 00083784   
    120. 000838E6   
    121. 00083A26   
    122. 00083B54   
    123. 00083C8A   
    124. 00083DA6   
    125. 00083F22   
    126. 000840D4   
    127. 00084216   
    128. 0008436E   
    129. 0008456E   
    130. 000848C4   
    131. 00084BE4   
    132. 00084FAC   
    133. 00085382   
    134. 000856E2   
    135. 000858EE   
    136. 0008602A   
    137. 00086588   
    138. 00086C10   
    139. 00086C8E   
    140. 00086D74   
    141. 00087560   
    142. 00087654   
    143. 00087E20   
    144. 00088866   
    145. 000897A4   
    146. 00089FCE   
    147. 0008AA9E   
    148. 0008B2DC   
    149. 0008B406   
    150. 0008B892   
    151. 0008BAE4   
    152. 0008BCA2   
    153. 0008BE3A   
    154. 0008C05A   
    155. 0008C572   
    156. 0008C82E   
    157. 0008C956   
    158. 0008CA78   
    159. 0008CD50   
    160. 0008CFF8   
    161. 0008D128   
    162. 0008D3AC   
    163. 0008D6D4   
    164. 0008D90E   
    165. 0008DB0A   
    166. 0008E93C   
    167. 0008EE98   
    168. 0008F080   
    169. 0008F238   
    170. 0008F4D0   
    171. 0008F666   
    172. 0008F766   
    173. 0008F7F4   
    174. 0008F93A   
    175. 0008F99A   
    176. 0008FA04   
    177. 0008FAEE   
    178. 0008FBB0   
    179. 0008FBE0   
    180. 0008FD08   
    181. 0008FDBC   
    182. 0008FE30   
    183. 0009057E   
    184. 00090752   
    185. 00090B4A   
    186. 00090C8E   
    187. 00090D1C   
    188. 00091E9C   
    189. 00092218   
    190. 000962B8   
    191. 000C586E   
    192. 000DA774   
    193. 000DAE96   
    194. 000DB19C   
    195. 000DB2DA   
    196. 000DB3D4   
    197. 000DB48A   
    198. 000DB9B0   
    199. 000DBA66   
    200. 000DBB2C   
    201. 000DBB94   
    202. 000DBEC8   
    203. 000DC2B8   
    204. 000DC500   
    205. 000DC8BA   
    206. 000E1CEE   
    207. 000E1DA4   
    208. 000E1E6A   
    209. 000E1ED2   
    210. 000E2362
     
  19. Aquaslash

    Aquaslash

    Emerald Dragoon Moderator
    2,818
    0
    16
    Hampton, VA
    The S Factor: Sonia and Silver
    That happens in the final unless you're knuckles.
     
  20. Overlord

    Overlord

    Aros gartref, diogelu'r GIG, achub bywydau Moderator
    17,875
    158
    43
    Berkshire, England
    Learning Cymraeg
    No-one seems to have mentioned it, but it's in the above special stage screenshots - Tails is refered to as Miles everywhere (and up as far as at least Beta 8, I think) by default still.