Z64

Please login or register.

Login with username, password and session length
Advanced search  

News:

Check out and improve the wiki!

Author Topic: Sin and Punishment random stuff  (Read 1699 times)

xdaniel

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 295
    • ICQ Messenger - 136250978
    • View Profile
Sin and Punishment random stuff
« on: June 18, 2011, 09:41:33 PM »

0x98000+ -> Stage 0-0 level data? Enemy information? Something related to the stage, anyway, as changing the two bytes at 0x980AC to 0x0057 made this happen:



Have fun shooting your own face! (part of that enemy type changed into Saki's face, so that's a Display List index number or so? 0x0001 gives some weird-looking pink sphere, I think; around 0x0057 are more of Saki's DLists)

Also, notes on hacking the menus:

SIN AND PUNISHMENT
- Scene select menu data starts at 0x690600
- Menu entry is 0x28 bytes long:
 - dword: Is selectable? (true if != 0)
 - dword: Action after select (go to specific menu, start a stage, etc)
 - dword: ??? Action variable? (if != 0, tutorial demo 0x13 starts in the middle of 1-1, no text shown, etc)
 - dword: Description texture (Japanese text uses premade textures)
 - dword: Is description underlined? (true if != 0)
 - dword: ??? End marker? (if != 0, following entries are ignored)
 - 0x10 bytes: Description text (ASCII, used for latin text, numbers)
 
 - Actions:
  - 0x00: Crash
  - 0x01: Intro (Nintendo logo, Treasure logo, etc.)
  - 0x02: Title screen
  - 0x03: Continue/Retire menu (continue crashes game, second option has no text)
  - 0x04: Stage 0-0
  - 0x05: 1-1
  - 0x06: 1-2
  - 0x07: 1-3
  - 0x08: 2-1
  - 0x09: 2-2
  - 0x0A: 2-3
  - 0x0B: 3-1
  - 0x0C: 3-2
  - 0x0D: 3-3
  - 0x0E: Demo 2A
  - 0x0F: Demo 3A
  - 0x10: Scene select menu
  - 0x11: Scene select menu
  - 0x12: Training stage
  - 0x13: Tutorial demo
  - 0x14: Prologue demo
  - 0x15: Epilogue demo
  - 0x16: Staff roll
  - 0x17+: crash
 
 - Description textures
  - 0x0000: nothing
  - 0x0001: 1 (time font)
  - 0x0002: 2 ("")
  - 0x0003: 3 ("")
  - 0x0004: 4 ("")
  - 0x0005: 5 ("")
  - 0x0006: 6 ("")
  - 0x0007: 7 ("")
  - 0x0008: 8 ("")
  - 0x0009: 9 ("")
  - 0x000A: "Pause Menu"
  - 0x000B: "Continue game"
  - 0x000C: "Controller alignment"
  - 0x000D: "Normal"
  - 0x000E: "Reverse"
  - 0x000F: "Save and exit"
  - 0x0010: "Exit game"
  - 0x0011: "Really exit the game?"
  - 0x0012: "Yes"
  - 0x0013: "No"
  ...
  - 0x00C8: "Tutorial Demo"
  - 0x00C9: "Prologue Demo"
  - 0x00CA: "Epilogue Demo"
  - 0x00CB: "Staff Roll"
  - 0x00CC: "Demo"
  - 0x00CD: "Stage"
  ...
  - (around 0x0100: controller config screen)

- 0x690928: Texture idenfiers for controller config screen

- 0x690A08: Controller config layout
- 0x690AB8: Continue menu layout
- 0x690B68: Delete save data menu layout
- 0x690C18: Options menu layout
- 0x690DFC: Main menu layout
- Each entry is 0x2C bytes
 - TODO: decipher layout!

Logged
cu xdaniel

Nanami - Desktop:

Kazari - Notebook: