Difference between revisions of "Sonic Adventure DX: PC/EXE Editing/Object List"
From Sonic Retro
MainMemory (talk | contribs) 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β¦') |
MainMemory (talk | contribs) 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. | ||
β | |||
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
This article is a work in progress. Its content and location may change completely and frequently until this notice is removed. |
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 |