Actions

SCHG

Sonic Adventure/Main Save File

From Sonic Retro

Revision as of 23:00, 19 January 2012 by MainMemory (talk | contribs)
SCHG: Sonic Adventure
Dreamcast
Gamecube
2004 PC
2010 PC

In the Dreamcast version, this data starts at 0x480 in a .VMS file, and contains multiple save slots.
In the Gamecube version, this data starts at 0x1480 in a .GCI file.
In the PC version, this data is located in savedata\SonicDX##.snc.
This data has a checksum, which can be calculated for the PC version only by this C# program. If the checksum is incorrect, the save will not be loaded.

Offset Type Description
0 Int Checksum
4 Int Play time, in frames (1/60 second)
8 Int High Score - Emerald Coast - Sonic
C Int High Score - Windy Valley - Sonic
10 Int High Score - Twinkle Park - Sonic
14 Int High Score - Speed Highway - Sonic
18 Int High Score - Red Mountain - Sonic
1C Int High Score - Sky Deck - Sonic
20 Int High Score - Lost World - Sonic
24 Int High Score - Ice Cap - Sonic
28 Int High Score - Casinopolis - Sonic
2C Int High Score - Final Egg - Sonic
30 Int High Score - Windy Valley - Tails
34 Int High Score - Speed Highway - Tails
38 Int High Score - Sky Deck - Tails
3C Int High Score - Ice Cap - Tails
40 Int High Score - Casinopolis - Tails
44 Int High Score - Speed Highway - Knuckles
48 Int High Score - Red Mountain - Knuckles
4C Int High Score - Sky Deck - Knuckles
50 Int High Score - Lost World - Knuckles
54 Int High Score - Casinopolis - Knuckles
58 Int High Score - Twinkle Park - Amy
5C Int High Score - Final Egg - Amy
60 Int High Score - Hot Shelter - Amy
64 Int High Score - Emerald Coast - Gamma
68 Int High Score - Windy Valley - Gamma
6C Int High Score - Red Mountain - Gamma
70 Int High Score - Final Egg - Gamma
74 Int High Score - Hot Shelter - Gamma
78 Int High Score - Emerald Coast - Big
7C Int High Score - Twinkle Park - Big
80 Int High Score - Ice Cap - Big
84 Int High Score - Hot Shelter - Big
88 Time Best Time - Emerald Coast - Sonic
8B Time Best Time - Windy Valley - Sonic
8E Time Best Time - Twinkle Park - Sonic
91 Time Best Time - Speed Highway - Sonic
94 Time Best Time - Red Mountain - Sonic
97 Time Best Time - Sky Deck - Sonic
9A Time Best Time - Lost World - Sonic
9D Time Best Time - Ice Cap - Sonic
A0 Time Best Time - Casinopolis - Sonic
A3 Time Best Time - Final Egg - Sonic
A6 Time Best Time - Windy Valley - Tails
A9 Time Best Time - Speed Highway - Tails
AC Time Best Time - Sky Deck - Tails
AF Time Best Time - Ice Cap - Tails
B2 Time Best Time - Casinopolis - Tails
B5 Time Best Time - Speed Highway - Knuckles
B8 Time Best Time - Red Mountain - Knuckles
BB Time Best Time - Sky Deck - Knuckles
BE Time Best Time - Lost World - Knuckles
C1 Time Best Time - Casinopolis - Knuckles
C4 Time Best Time - Twinkle Park - Amy
C7 Time Best Time - Final Egg - Amy
CA Time Best Time - Hot Shelter - Amy
CD Time Best Time - Emerald Coast - Gamma
D0 Time Best Time - Windy Valley - Gamma
D3 Time Best Time - Red Mountain - Gamma
D6 Time Best Time - Final Egg - Gamma
D9 Time Best Time - Hot Shelter - Gamma
DC Short[3] Best Weights - Emerald Coast - Big
E2 Short[3] Best Weights - Twinkle Park - Big
E8 Short[3] Best Weights - Ice Cap - Big
EE Short[3] Best Weights - Hot Shelter - Big
104 Short Most Rings - Emerald Coast - Sonic
106 Short Most Rings - Windy Valley - Sonic
108 Short Most Rings - Twinkle Park - Sonic
10A Short Most Rings - Speed Highway - Sonic
10C Short Most Rings - Red Mountain - Sonic
10E Short Most Rings - Sky Deck - Sonic
110 Short Most Rings - Lost World - Sonic
112 Short Most Rings - Ice Cap - Sonic
114 Short Most Rings - Casinopolis - Sonic
116 Short Most Rings - Final Egg - Sonic
118 Short Most Rings - Windy Valley - Tails
11A Short Most Rings - Speed Highway - Tails
11C Short Most Rings - Sky Deck - Tails
11E Short Most Rings - Ice Cap - Tails
120 Short Most Rings - Casinopolis - Tails
122 Short Most Rings - Speed Highway - Knuckles
124 Short Most Rings - Red Mountain - Knuckles
126 Short Most Rings - Sky Deck - Knuckles
128 Short Most Rings - Lost World - Knuckles
12A Short Most Rings - Casinopolis - Knuckles
12C Short Most Rings - Twinkle Park - Amy
12E Short Most Rings - Final Egg - Amy
130 Short Most Rings - Hot Shelter - Amy
132 Short Most Rings - Emerald Coast - Gamma
134 Short Most Rings - Windy Valley - Gamma
136 Short Most Rings - Red Mountain - Gamma
138 Short Most Rings - Final Egg - Gamma
13A Short Most Rings - Hot Shelter - Gamma
13C Short Most Rings - Emerald Coast - Big
13E Short Most Rings - Twinkle Park - Big
140 Short Most Rings - Ice Cap - Big
142 Short Most Rings - Hot Shelter - Big
144 Int[3] High Scores - Sky Chase Act 1 - Sonic
150 Int[3] High Scores - Sky Chase Act 1 - Tails
15C Int[3] High Scores - Sky Chase Act 2 - Sonic
168 Int[3] High Scores - Sky Chase Act 2 - Tails
174 Int[3] High Scores - Ice Cap - Sonic
180 Int[3] High Scores - Ice Cap - Tails
18C Int[3] High Scores - Sand Hill - Sonic
198 Int[3] High Scores - Sand Hill - Tails
1A4 Int[3] High Scores - Hedgehog Hammer - Amy
1B0 Time[3] Best Times - Twinkle Circuit - Sonic
1B9 Time Best Time Lap 1 - Twinkle Circuit - Sonic
1BC Time Best Time Lap 2 - Twinkle Circuit - Sonic
1BF Time[3] Best Times - Twinkle Circuit - Tails
1C8 Time Best Time Lap 1 - Twinkle Circuit - Tails
1CB Time Best Time Lap 2 - Twinkle Circuit - Tails
1CE Time[3] Best Times - Twinkle Circuit - Knuckles
1D7 Time Best Time Lap 1 - Twinkle Circuit - Knuckles
1DA Time Best Time Lap 2 - Twinkle Circuit - Knuckles
1DD Time[3] Best Times - Twinkle Circuit - Amy
1E6 Time Best Time Lap 1 - Twinkle Circuit - Amy
1E9 Time Best Time Lap 2 - Twinkle Circuit - Amy
1EC Time[3] Best Times - Twinkle Circuit - Gamma
1F5 Time Best Time Lap 1 - Twinkle Circuit - Gamma
1F8 Time Best Time Lap 2 - Twinkle Circuit - Gamma
1FB Time[3] Best Times - Twinkle Circuit - Big
204 Time Best Time Lap 1 - Twinkle Circuit - Big
207 Time Best Time Lap 2 - Twinkle Circuit - Big
20A Time[3] Best Times - Boss - Sonic
213 Time[3] Best Times - Boss - Tails
21C Time[3] Best Times - Boss - Knuckles
225 Time[3] Best Times - Boss - Amy
22E Time[3] Best Times - Boss - Gamma
237 Time[3] Best Times - Boss - Big
240-250 Bitfield (17 bytes) Emblems
Offset Bit Description
0 0 Emerald Coast Level A as Sonic
0 1 Windy Valley Level A as Sonic
0 2 Twinkle Park Level A as Sonic
0 3 Speed Highway Level A as Sonic
0 4 Red Mountain Level A as Sonic
0 5 Sky Deck Level A as Sonic
0 6 Lost World Level A as Sonic
0 7 Ice Cap Level A as Sonic
1 0 Casinopolis Level A as Sonic
1 1 Final Egg Level A as Sonic
1 2 Windy Valley Level A as Tails
1 3 Speed Highway Level A as Tails
1 4 Sky Deck Level A as Tails
1 5 Ice Cap Level A as Tails
1 6 Casinopolis Level A as Tails
1 7 Speed Highway Level A as Knuckles
2 0 Red Mountain Level A as Knuckles
2 1 Sky Deck Level A as Knuckles
2 2 Lost World Level A as Knuckles
2 3 Casinopolis Level A as Knuckles
2 4 Twinkle Park Level A as Amy
2 5 Final Egg Level A as Amy
2 6 Hot Shelter Level A as Amy
2 7 Emerald Coast Level A as Gamma
3 0 Windy Valley Level A as Gamma
3 1 Red Mountain Level A as Gamma
3 2 Final Egg Level A as Gamma
3 3 Hot Shelter Level A as Gamma
3 4 Emerald Coast Level A as Big
3 5 Twinkle Park Level A as Big
3 6 Ice Cap Level A as Big
3 7 Hot Shelter Level A as Big
4 0 Emerald Coast Level B as Sonic
4 1 Windy Valley Level B as Sonic
4 2 Twinkle Park Level B as Sonic
4 3 Speed Highway Level B as Sonic
4 4 Red Mountain Level B as Sonic
4 5 Sky Deck Level B as Sonic
4 6 Lost World Level B as Sonic
4 7 Ice Cap Level B as Sonic
5 0 Casinopolis Level B as Sonic
5 1 Final Egg Level B as Sonic
5 2 Windy Valley Level B as Tails
5 3 Speed Highway Level B as Tails
5 4 Sky Deck Level B as Tails
5 5 Ice Cap Level B as Tails
5 6 Casinopolis Level B as Tails
5 7 Speed Highway Level B as Knuckles
6 0 Red Mountain Level B as Knuckles
6 1 Sky Deck Level B as Knuckles
6 2 Lost World Level B as Knuckles
6 3 Casinopolis Level B as Knuckles
6 4 Twinkle Park Level B as Amy
6 5 Final Egg Level B as Amy
6 6 Hot Shelter Level B as Amy
6 7 Emerald Coast Level B as Gamma
7 0 Windy Valley Level B as Gamma
7 1 Red Mountain Level B as Gamma
7 2 Final Egg Level B as Gamma
7 3 Hot Shelter Level B as Gamma
7 4 Emerald Coast Level B as Big
7 5 Twinkle Park Level B as Big
7 6 Ice Cap Level B as Big
7 7 Hot Shelter Level B as Big
8 0 Emerald Coast Level C as Sonic
8 1 Windy Valley Level C as Sonic
8 2 Twinkle Park Level C as Sonic
8 3 Speed Highway Level C as Sonic
8 4 Red Mountain Level C as Sonic
8 5 Sky Deck Level C as Sonic
8 6 Lost World Level C as Sonic
8 7 Ice Cap Level C as Sonic
9 0 Casinopolis Level C as Sonic
9 1 Final Egg Level C as Sonic
9 2 Windy Valley Level C as Tails
9 3 Speed Highway Level C as Tails
9 4 Sky Deck Level C as Tails
9 5 Ice Cap Level C as Tails
9 6 Casinopolis Level C as Tails
9 7 Speed Highway Level C as Knuckles
A 0 Red Mountain Level C as Knuckles
A 1 Sky Deck Level C as Knuckles
A 2 Lost World Level C as Knuckles
A 3 Casinopolis Level C as Knuckles
A 4 Twinkle Park Level C as Amy
A 5 Final Egg Level C as Amy
A 6 Hot Shelter Level C as Amy
A 7 Emerald Coast Level C as Gamma
B 0 Windy Valley Level C as Gamma
B 1 Red Mountain Level C as Gamma
B 2 Final Egg Level C as Gamma
B 3 Hot Shelter Level C as Gamma
B 4 Emerald Coast Level C as Big
B 5 Twinkle Park Level C as Big
B 6 Ice Cap Level C as Big
B 7 Hot Shelter Level C as Big
C 0 Twinkle Circuit Emblem 2
C 1 Sky Chase Act 1 Emblem 2
C 2 Sky Chase Act 2 Emblem 2
C 3 Sand Hill Emblem 2
C 4 Hedgehog Hammer Emblem 2
C 5 Twinkle Circuit Emblem 1
C 6 Sky Chase Act 1 Emblem 1
C 7 Sky Chase Act 2 Emblem 1
D 0 Sand Hill Emblem 1
D 1 Hedgehog Hammer Emblem 1
D 2-6 Chao Race
D 7 Sonic's Ending
E 0 Tails' Ending
E 1 Knuckles' Ending
E 2 Amy's Ending
E 3 Gamma's Ending
E 4 Big's Ending
E 5 Super Sonic's Ending
E 6-7 Field Emblems
F 0-7 Field Emblems
10 0-1 Field Emblems
251 Byte Options

A combination of the following values:

  • Message Setting - Voice and Text (0x00) / Voice Only (0x02)
  • Voice Language - Default (0x00) / Japanese (0x04) / English (0x08)
  • Text Language - Default (0x00) / Japanese (0x10) / English (0x20) / French (0x30) / Spanish (0x40) / German (0x50)
25A Byte Rumble Feature
25C Short Last Completed Level (100 = none)
260-29F Bitfield (64 bytes) Event Flags, each bit is expanded to a byte in RAM starting from 3B18808.
2E8-33B Struct Array (0xC*7) Adventure Mode data (Indexed by character ID, Last Story is slot #3)
Offset (hex) Type Description
0 Byte Time of Day
6 Byte Start Entrance
8 Byte Start Act
9 Byte Start Level
SADX Only
4A0-4DB Byte[60] Mission data
Bit Description
0 Mission started
6 Mission Card found
7 Mission completed
4E0 Int High Score - Emerald Coast - Metal Sonic
4E4 Int High Score - Windy Valley - Metal Sonic
4E8 Int High Score - Twinkle Park - Metal Sonic
4EC Int High Score - Speed Highway - Metal Sonic
4F0 Int High Score - Red Mountain - Metal Sonic
4F4 Int High Score - Sky Deck - Metal Sonic
4F8 Int High Score - Lost World - Metal Sonic
4FC Int High Score - Ice Cap - Metal Sonic
500 Int High Score - Casinopolis - Metal Sonic
504 Int High Score - Final Egg - Metal Sonic
508 Time Best Time - Emerald Coast - Metal Sonic
50B Time Best Time - Windy Valley - Metal Sonic
50E Time Best Time - Twinkle Park - Metal Sonic
511 Time Best Time - Speed Highway - Metal Sonic
514 Time Best Time - Red Mountain - Metal Sonic
517 Time Best Time - Sky Deck - Metal Sonic
51A Time Best Time - Lost World - Metal Sonic
51D Time Best Time - Ice Cap - Metal Sonic
520 Time Best Time - Casinopolis - Metal Sonic
523 Time Best Time - Final Egg - Metal Sonic
526 Short Most Rings - Emerald Coast - Metal Sonic
528 Short Most Rings - Windy Valley - Metal Sonic
52A Short Most Rings - Twinkle Park - Metal Sonic
52C Short Most Rings - Speed Highway - Metal Sonic
52E Short Most Rings - Red Mountain - Metal Sonic
530 Short Most Rings - Sky Deck - Metal Sonic
532 Short Most Rings - Lost World - Metal Sonic
534 Short Most Rings - Ice Cap - Metal Sonic
536 Short Most Rings - Casinopolis - Metal Sonic
538 Short Most Rings - Final Egg - Metal Sonic
538 Short Most Rings - Final Egg - Metal Sonic
53C Int[3] Best Scores - Ice Cap - Metal Sonic
548 Int[3] Best Scores - Sand Hill - Metal Sonic
554 Time[3] Best Times - Twinkle Circuit - Metal Sonic
55D Time Best Time Lap 1 - Twinkle Circuit - Metal Sonic
560 Time Best Time Lap 2 - Twinkle Circuit - Metal Sonic
563 Time[3] Best Times - Boss - Metal Sonic
56C-56F Bitfield (4 bytes) Metal Sonic Emblems

Note: In the Gamecube version, this bitfield's bytes are in reverse order.

Offset Bit Description
0 0 Emerald Coast Level A
0 1 Emerald Coast Level B
0 2 Emerald Coast Level C
0 3 Windy Valley Level A
0 4 Windy Valley Level B
0 5 Windy Valley Level C
0 6 Twinkle Park Level A
0 7 Twinkle Park Level B
1 0 Twinkle Park Level C
1 1 Speed Highway Level A
1 2 Speed Highway Level B
1 3 Speed Highway Level C
1 4 Red Mountain Level A
1 5 Red Mountain Level B
1 6 Red Mountain Level C
1 7 Sky Deck Level A
2 0 Sky Deck Level B
2 1 Sky Deck Level C
2 2 Lost World Level A
2 3 Lost World Level B
2 4 Lost World Level C
2 5 Ice Cap Level A
2 6 Ice Cap Level B
2 7 Ice Cap Level C
3 0 Casinopolis Level A
3 1 Casinopolis Level B
3 2 Casinopolis Level C
3 3 Final Egg Level A
3 4 Final Egg Level B
3 5 Final Egg Level C

Event Flags

Offset Bit Description
8 1 Sonic Unlocked in Adventure
8 2 Tails Unlocked in Adventure
8 3 Knuckles Unlocked in Adventure
8 4 Amy Unlocked in Adventure
8 5 Gamma Unlocked in Adventure
8 6 Big Unlocked in Adventure
8 7 Super Sonic Unlocked in Adventure
9 0 Sonic's Story Complete
9 1 Tails' Story Complete
9 2 Knuckles' Story Complete
9 3 Amy's Story Complete
9 4 Gamma's Story Complete
9 5 Big's Story Complete
9 6 Super Sonic's Story Complete
9 7 Gold Chao Egg Taken
A 0 Silver Chao Egg Taken
A 1 Black Chao Egg Taken

Sonic

Offset Bit Description
10 1 Station Square Hotel open
10 2 Station Square Station open
10 4 Casino open all times of day
10 5 Ice Stone available
10 6 Door from Hotel to Casino open
10 7 Casinopolis open
11 0 Door from Station to Casino open
11 1 Twinkle Park open
11 2 Twinkle Circuit open
11 4 Speed Highway open
11 5 Light Speed Shoes obtained
11 6 Crystal Ring obtained
12 1 Egg Carrier transformed
12 2 Egg Carrier open?
12 3 Egg Carrier sunk
12 4 Windy Valley open
12 6 Angel Island open
12 7 Ice Cap open
13 1 Red Mountain open
13 2 Door to Shrine/Red Mountain open
13 3 Mystic Ruins Jungle open
13 4 Lost World open
13 5 Final Egg (Field) open
13 7 Ancient Light obtained
14 0 Final Egg open
14 1 Station Square <-> Mystic Ruins train open
14 4 Gamma defeated
14 5 Knuckles defeated
14 6 Emerald Coast clear
14 7 Windy Valley clear
15 0 Casinopolis clear
15 1 Twinkle Park clear
15 2 Speed Highway clear
15 3 Red Mountain clear
15 4 Ice Cap clear
15 5 Sky Deck clear
15 6 Lost World clear
15 7 Final Egg clear
16 0 Chaos 0 clear
16 1 Chaos 4 clear
16 2 Chaos 6 clear
16 3 Egg Hornet clear
16 4 Egg Viper clear
16 5 Sky Chase Act 1 clear
16 6 Sky Chase Act 2 clear
16 7 Set after completion
17 0 Set after completion
17 1 Set after completion

Tails

Offset Bit Description
18 1 Station Square Hotel open
18 5 Casinopolis open
19 2 Station Square Station open
19 5 Jet Anklet obtained
1A 3 Windy Valley open
1A 6 Ice Cap open
1B 3 Rhythm Badge obtained
1B 4 Station Square <-> Mystic Ruins train open
1C 1 Windy Valley clear
1C 2 Casinopolis clear
1C 3 Speed Highway clear
1C 4 Ice Cap clear
1C 5 Sky Deck clear
1C 6 Sand Hill clear
1C 7 Chaos 4 clear
1D 0 Egg Walker clear
1D 1 Egg Hornet clear
1D 2 Sky Chase Act 1 clear
1D 3 Sky Chase Act 2 clear
1D 4 Emerald Coast clear
1D 5 Red Mountain clear

Knuckles

Offset Bit Description
20 3 Casinopolis open
23 1 Shovel Claw obtained
23 2 Fighting Gloves obtained
23 7 Casinopolis clear
24 0 Speed Highway clear
24 1 Red Mountain clear
24 2 Lost World clear
24 3 Chaos 2 clear
24 4 Chaos 6 clear
24 5 Chaos 4 clear
24 6 Sky Deck clear

Amy

Offset Bit Description
2A 2 Warrior Feather obtained
2A 6 Twinkle Park clear
2A 7 Hot Shelter clear
2B 0 Final Egg clear
2B 1 ZERO clear
2B 6 Long Hammer obtained

Gamma

Offset Bit Description
31 1 Jet Booster obtained
31 2 Laser Blaster obtained
32 0 Windy Valley open
33 3 Emerald Coast clear
33 4 Windy Valley clear
33 5 Red Mountain clear
33 6 Hot Shelter clear
33 7 Final Egg clear
34 0 E-101 clear
34 1 E-101mkII clear

Big

Offset Bit Description
3A 0 Life Ring obtained
3A 1 Power Rod obtained
3A 5 Emerald Coast clear
3A 6 Hot Shelter clear
3A 7 Twinkle Park clear
3B 0 Ice Cap clear
3B 1 Chaos 6 clear
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