Difference between revisions of "SCHG:Sonic & Sega All-Stars Racing/Formats/SSRT"
From Sonic Retro
Ccawley2011 (talk | contribs) (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 - "{{SCHGuides}}" to "==References== <references /> {{SCHGuides}}") |
||
(One intermediate revision by the same user not shown) | |||
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 | ||
|- | |- | ||
Line 74: | Line 74: | ||
| The value of the node. If the node type is '''0xB7459825''', the value is a pointer to a null terminated string. | | The value of the node. If the node type is '''0xB7459825''', the value is a pointer to a null terminated string. | ||
|} | |} | ||
+ | |||
+ | ==References== | ||
+ | <references /> | ||
{{SCHGuides}} | {{SCHGuides}} |
Latest revision as of 15:51, 24 March 2020
Sonic Community Hacking Guide Sonic & Sega All-Stars Racing |
---|
Formats |
SSRT |
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. |
References