Actions

SCHG

Difference between revisions of "SCHG:Sonic & Sega All-Stars Racing/Formats/SSRT"

From Sonic Retro

(Created page with "{{SCHG ASR}} ==Format== SSRT files start with the following header: {| class="prettytable" !Offset||Type||Description |- | 0 | String | "SSRT" |- | 4 | Int | The number of gro...")
 
m (Text replacement - "{| class="prettytable" " to "{| class="prettytable" style="width:auto;" ")
Line 2: Line 2:
 
==Format==
 
==Format==
 
SSRT files start with the following header:
 
SSRT files start with the following header:
{| class="prettytable"
+
{| class="prettytable" style="width:auto;"
 
!Offset||Type||Description
 
!Offset||Type||Description
 
|-
 
|-
Line 20: Line 20:
  
 
A group structure has the following format:
 
A group structure has the following format:
{| class="prettytable"
+
{| class="prettytable" style="width:auto;"
 
!Offset||Type||Description
 
!Offset||Type||Description
 
|-
 
|-
Line 42: Line 42:
  
 
A subgroup structure has the following format:
 
A subgroup structure has the following format:
{| class="prettytable"
+
{| class="prettytable" style="width:auto;"
 
!Offset||Type||Description
 
!Offset||Type||Description
 
|-
 
|-
Line 59: Line 59:
  
 
Following that is an array of the following struct:
 
Following that is an array of the following struct:
{| class="prettytable"
+
{| class="prettytable" style="width:auto;"
 
!Offset||Type||Description
 
!Offset||Type||Description
 
|-
 
|-

Revision as of 17:26, 21 February 2020

Sonic Community Hacking Guide
Sonic & Sega All-Stars Racing
Formats
SSRT

XPAC

Format

SSRT files start with the following header:

Offset Type Description
0 String "SSRT"
4 Int The number of groups contained in the file.
8 Pointer Array Pointer to each group structure.


A group structure has the following format:

Offset Type Description
0 Int  ?
4 Char The name of the group. Padded to 64 bytes with zeroes.
68 Int The number of subgroups contained in the group.
72 Pointer Array Pointer to each subgroup structure.


A subgroup structure has the following format:

Offset Type Description
0 Int The number of nodes contained in the subgroup.
4 Int  ?
8 Char The name of the subgroup. Padded to 64 bytes with zeroes.

Following that is an array of the following struct:

Offset Type Description
0 Int A unique hash identifying the node.
4 Int A unique hash identifying the node type.
8 Int The value of the node. If the node type is 0xB7459825, the value is a pointer to a null terminated string.
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