Actions

SCHG

Difference between revisions of "Sonic Adventure DX: PC/EXE Editing/Object List"

From Sonic Retro

m (Created page with '{{WIP}} {{SCHG SADX:PC}} __NOTOC__ The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works. All values are in…')
 
m
Line 4: Line 4:
 
The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works.
 
The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works.
 
All values are in hex unless explicitly specified otherwise.
 
All values are in hex unless explicitly specified otherwise.
βˆ’
Names are taken from the text for the removed debug feature for objects that are placeable in a level.
 
 
Load and Main Sub pointers are given as a RAM address, subtract 0x400000 to find it in the exe file.
 
Load and Main Sub pointers are given as a RAM address, subtract 0x400000 to find it in the exe file.
 
To load an object in ASM, you need to use the following template:
 
To load an object in ASM, you need to use the following template:
Line 15: Line 14:
  
 
{| class="prettytable"
 
{| class="prettytable"
βˆ’
!Name||Description||Load Sub||Main Sub||Arg 1||Arg 2
+
!Name||Debug Name(s)||Description||Load Sub||Main Sub||Arg 1||Arg 2
 
|-
 
|-
 
| Sonic
 
| Sonic
 +
|
 
| The character Sonic, both playable and in cutscenes.
 
| The character Sonic, both playable and in cutscenes.
 
| 49A9B0
 
| 49A9B0
Line 23: Line 23:
 
| 7
 
| 7
 
| 1
 
| 1
 +
|-
 +
| Tails
 +
|
 +
| The character Tails, both playable and in cutscenes.
 +
| 461700
 +
| 461700
 +
| 7
 +
| 1
 +
|-
 +
| Knuckles
 +
|
 +
| The character Knuckles, both playable and in cutscenes.
 +
| 47A770
 +
| 47A770
 +
| 7
 +
| 1
 +
|-
 +
| Amy
 +
|
 +
| The character Amy, both playable and in cutscenes.
 +
| 48ABF0
 +
| 48ABF0
 +
| 7
 +
| 1
 +
|-
 +
| Gamma
 +
|
 +
| The character E-102 Gamma, both playable and in cutscenes.
 +
| 483430
 +
| 483430
 +
| 7
 +
| 1
 +
|-
 +
| Big
 +
|
 +
| The character Big, both playable and in cutscenes.
 +
| 490A00
 +
| 490A00
 +
| 7
 +
| 1
 +
|-
 +
| Tornado
 +
|
 +
| The Tornado and Tornado 2 planes with Sonic and Tails, from Sky Chase.
 +
| 627EC0
 +
| 627EC0
 +
| 7
 +
| 1
 +
|-
 +
| Ring
 +
| Ring, I Ring, O Ring, Ring___
 +
| A ring.
 +
| 450370
 +
| 450370
 +
| 2
 +
| 3
 +
|-
 +
| Spring
 +
| SPRING, O SPRING
 +
| A spring pointing up.
 +
| 7A4C30
 +
| 7A4C30
 +
| 2
 +
| 2
 
|}
 
|}
  
 
{{SCHGuides}}
 
{{SCHGuides}}
 
[[Category:Sonic Community Hacking Guide]]
 
[[Category:Sonic Community Hacking Guide]]

Revision as of 13:05, 28 April 2010

Exclamation.svg This article is a work in progress.
Its content and location may change completely and frequently until this notice is removed.

Template:SCHG SADX:PC

The following is a list of objects in the US version of sonic.exe. For the EU version, adding $50 to addresses usually works. All values are in hex unless explicitly specified otherwise. Load and Main Sub pointers are given as a RAM address, subtract 0x400000 to find it in the exe file. To load an object in ASM, you need to use the following template:

push [loadsub]
push [arg2]
push [arg1]
call 0xB860
add esp, 0x0C

Then the eax register will contain a pointer to the Master Object Struct of the object, or 0 if it failed to create the object.

Name Debug Name(s) Description Load Sub Main Sub Arg 1 Arg 2
Sonic The character Sonic, both playable and in cutscenes. 49A9B0 49A9B0 7 1
Tails The character Tails, both playable and in cutscenes. 461700 461700 7 1
Knuckles The character Knuckles, both playable and in cutscenes. 47A770 47A770 7 1
Amy The character Amy, both playable and in cutscenes. 48ABF0 48ABF0 7 1
Gamma The character E-102 Gamma, both playable and in cutscenes. 483430 483430 7 1
Big The character Big, both playable and in cutscenes. 490A00 490A00 7 1
Tornado The Tornado and Tornado 2 planes with Sonic and Tails, from Sky Chase. 627EC0 627EC0 7 1
Ring Ring, I Ring, O Ring, Ring___ A ring. 450370 450370 2 3
Spring SPRING, O SPRING A spring pointing up. 7A4C30 7A4C30 2 2
Sonic Community Hacking Guide
General
SonED2 Manual | Subroutine Equivalency List
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (Master System) | Sonic 3 | Sonic 3 & Knuckles | Chaotix | Sonic Jam | Sonic Jam 6 | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Colours | Sonic Generations | Sonic Forces
Technical information
Sonic Eraser | Sonic 2 (Nick Arcade prototype) | Sonic CD (prototype; 1992-12-04) | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Tails Adventures | Sonic Crackers | Sonic 3D: Flickies' Island | Sonic & Knuckles Collection | Sonic R | Sonic Shuffle | Sonic Advance | Sonic Advance 3 | Sonic Battle | Shadow the Hedgehog | Sonic Rush | Sonic Classic Collection | Sonic Free Riders | Sonic Lost World
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | SMPS Music Hacking Guide | Mega Drive technical information