Actions

SCHG

Sonic Adventure DX: PC/EXE Editing/Object List

From Sonic Retro

Exclamation.svg This article is a work in progress.
Its content and location may change completely and frequently until this notice is removed.
SCHG: Sonic Adventure
Dreamcast
Gamecube
2004 PC
2010 PC


The following is a list of objects in the US version of sonic.exe. For the EU version, adding 0x50 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
Tikal The character Tikal, both playable and in cutscenes. 7B40C0 7B40C0 7 1
Eggman The character Eggman, both playable and in cutscenes. 7B4EF0 7B4EF0 7 1
Barrier The visible part of a Barrier powerup. Doesn't protect you. 4BA580 4BA380 2 2
Magnetic Barrier The visible part of a Magnetic Barrier powerup. Doesn't protect you or attract Rings. 4BA550 4BA2A0 2 2
Invincibility The visible part of an Invincibility powerup. Doesn't protect you, but does handle the invincibility timer. 4BA5B0 4BA440 2 2
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

References


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