EvilEngine/CSNM: Difference between revisions
Content added Content deleted
(add movie format) |
EnergyDrink (talk | contribs) m (add ROTU) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#vardefine:type|[[Base]]}}<nowiki/> |
{{#vardefine:type|[[Base]]}}<nowiki/> |
||
{{#vardefine:basetype|0x28}}<nowiki/> |
{{#vardefine:basetype|0x28}}<nowiki/> |
||
{{#vardefine:games|Scooby BFBB TSSM Incredibles}}<nowiki/> |
{{#vardefine:games|Scooby BFBB TSSM Incredibles ROTU}}<nowiki/> |
||
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xCutsceneMgr.h xCutsceneMgr.h]}}<nowiki/> |
{{#vardefine:sourcecode|[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xCutsceneMgr.h xCutsceneMgr.h]}}<nowiki/> |
||
{{#vardefine:image|}}<nowiki/> |
{{#vardefine:image|}}<nowiki/> |
||
Line 10: | Line 10: | ||
{{AutoAssetInfobox}} |
{{AutoAssetInfobox}} |
||
==Format: Night of 100 Frights and Battle for Bikini Bottom== |
|||
==Format== |
|||
Cutscene managers are [[Base|base assets]], so they start with their 0x8 byte header, then are followed by: |
Cutscene managers are [[Base|base assets]], so they start with their 0x8 byte header, then are followed by: |
||
Line 18: | Line 18: | ||
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
||
|- |
|- |
||
| 0x0C || int || '''flags''' || |
| 0x0C || unsigned int || '''flags''' || |
||
|- |
|- |
||
| 0x10 || |
| 0x10 || float || '''interpSpeed''' || |
||
|- |
|- |
||
| 0x14 || |
| 0x14 || float[15] || '''startTime''' || |
||
|- |
|- |
||
| 0x50 || |
| 0x50 || float[15] || '''endTime''' || |
||
|- |
|- |
||
| 0x8C || |
| 0x8C || [[AssetID]][15] || '''emitID''' || |
||
|- |
|- |
||
! colspan="4" | Events |
! colspan="4" | Events |
||
Line 33: | Line 33: | ||
|} |
|} |
||
⚫ | |||
==Format== |
|||
⚫ | |||
{| class="wikitable" |
{| class="wikitable" |
||
Line 41: | Line 40: | ||
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
| 0x08 || [[AssetID]] ([[CSN|Cutscene]]) || '''cutsceneAssetID''' || |
||
|- |
|- |
||
| 0x0C || int || '''flags''' || Usually 1C |
| 0x0C || unsigned int || '''flags''' || Usually 1C |
||
|- |
|- |
||
| 0x10 || float || '''interpSpeed''' || |
| 0x10 || float || '''interpSpeed''' || |
||
|- |
|- |
||
| 0x14 || [[SUBT]] || '''uSubtitlesID''' || Subtitles_AssetID |
| 0x14 || [[SUBT]] || '''uSubtitlesID''' || Subtitles_AssetID |
||
|- |
|- |
||
| 0x18 || float[15] || '''startTime''' || |
| 0x18 || float[15] || '''startTime''' || |
||
|- |
|- |
||
| 0x54 || float[15] || '''endTime''' || |
| 0x54 || float[15] || '''endTime''' || |
||
|- |
|- |
||
| 0x90 || int[15] || '''emitID''' || |
| 0x90 || unsigned int[15] || '''emitID''' || |
||
|- |
|- |
||
! colspan="4" | Events |
! colspan="4" | Events |
Latest revision as of 08:07, 3 November 2022
CSNM | |
---|---|
Cutscene Mgr | |
Type | Base |
Base Type | 0x28 |
Games used | Night of 100 Frights Battle for Bikini Bottom |
Source code | xCutsceneMgr.h |
Format: Night of 100 Frights and Battle for Bikini Bottom
Cutscene managers are base assets, so they start with their 0x8 byte header, then are followed by:
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | AssetID (Cutscene) | cutsceneAssetID | |
0x0C | unsigned int | flags | |
0x10 | float | interpSpeed | |
0x14 | float[15] | startTime | |
0x50 | float[15] | endTime | |
0x8C | AssetID[15] | emitID | |
Events | |||
0xC8 | Event[numberOfEvents] | Events |
Format: The SpongeBob SquarePants Movie and The Incredibles
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | AssetID (Cutscene) | cutsceneAssetID | |
0x0C | unsigned int | flags | Usually 1C |
0x10 | float | interpSpeed | |
0x14 | SUBT | uSubtitlesID | Subtitles_AssetID |
0x18 | float[15] | startTime | |
0x54 | float[15] | endTime | |
0x90 | unsigned int[15] | emitID | |
Events | |||
0xCC | Event[numberOfEvents] | Events |