EvilEngine/SUBT: Difference between revisions
Content added Content deleted
m (Seil moved page SUBT to EvilEngine/SUBT) |
EnergyDrink (talk | contribs) No edit summary |
||
Line 11: | Line 11: | ||
==Format== |
==Format== |
||
Subtitles are base assets, so they start with their 0x8 base header, then are followed by: |
|||
===xSubtitlesAsset=== |
|||
{| class="wikitable" |
{| class="wikitable" |
||
! Offset !! Type !! Variable !! Description |
! Offset !! Type !! Variable !! Description |
||
|- |
|- |
||
| 0x08 || ushort || '''uAssetNumLines''' || Number of lines. |
| 0x08 || ushort || '''uAssetNumLines''' || Number of [[#paSubtitleLines|lines]]. |
||
|- |
|- |
||
| 0x0A || ushort || '''uAssetByteCount''' || |
| 0x0A || ushort || '''uAssetByteCount''' || Size of Asset (without xBaseAsset and this header) |
||
|} |
|||
===paSubtitleLines=== |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|- |
||
| |
| 0x00 || float || '''fStartTime''' || |
||
|- |
|- |
||
| |
| 0x04 || float || '''fStopTime''' || |
||
|- |
|- |
||
| |
| 0x08 || uint || '''uStringOffset''' || Offset to null-terminated string, relative to end of xSubtitlesAsset & paSubtitleLines. |
||
|} |
|} |
||
{{Assets}} |
{{Assets}} |
Latest revision as of 19:56, 24 September 2022
SUBT | |
---|---|
Subtitles | |
Type | Base |
Base Type | 0x00 |
Games used | The Incredibles Rise of the Underminer |
Format
Subtitles are base assets, so they start with their 0x8 base header, then are followed by:
xSubtitlesAsset
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | ushort | uAssetNumLines | Number of lines. |
0x0A | ushort | uAssetByteCount | Size of Asset (without xBaseAsset and this header) |
paSubtitleLines
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | float | fStartTime | |
0x04 | float | fStopTime | |
0x08 | uint | uStringOffset | Offset to null-terminated string, relative to end of xSubtitlesAsset & paSubtitleLines. |