EvilEngine/DYNA: Difference between revisions
(→Types) |
No edit summary |
||
Line 162: | Line 162: | ||
|} |
|} |
||
{{DynaAssets}} |
|||
==Formats== |
|||
===Grapple=== |
|||
{{DynaInfobox |
|||
|title=Grapple |
|||
|version=1 |
|||
|hash=0x2DB208FF |
|||
|games=The Incredibles<br>Rise of the Underminer}} |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || int || '''object''' || |
|||
|- |
|||
| 0x04 || [[Vector3]] || '''unknown''' || |
|||
|- |
|||
| 0x10 || int || '''grapFlags''' || |
|||
|} |
|||
===pointer=== |
|||
{{DynaInfobox |
|||
|title=pointer |
|||
|version=1 |
|||
|hash=0x2196C135 |
|||
|games=Battle For Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}} |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || [[Vector3]] || '''loc''' || Position |
|||
|- |
|||
| 0x0C || [[Vector3]] || '''rotation''' || Rotation |
|||
|} |
|||
===Incredibles:Icon=== |
|||
{{DynaInfobox |
|||
|title=Incredibles:Icon |
|||
|version=1 |
|||
|hash=0xD6093241 |
|||
|games=The Incredibles}} |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || [[Vector 3]] || '''position''' || |
|||
|- |
|||
| 0x0C || [[Vector 3]] || '''rotation''' || |
|||
|- |
|||
| 0x18 || float || '''unknown''' || |
|||
|- |
|||
| 0x1C || int || '''unknown''' || |
|||
|} |
|||
===JSP Extra Data=== |
|||
{{DynaInfobox |
|||
|title=JSP Extra Data |
|||
|version=1 |
|||
|hash=0x204D6ADB |
|||
|games=The SpongeBob SquarePants Movie<br>Rise of the Underminer}} |
|||
<source lang=cpp> |
|||
struct zJSPExtraDataAsset : xDynAsset |
|||
{ |
|||
uint32 jspID; |
|||
uint32 groupID; |
|||
}; |
|||
</source> |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || uint32 || jspID || [[JSP]] [[Asset ID]] |
|||
|- |
|||
| 0x04 || uint32 || grupID || [[GRUP]] [[Asset ID]] |
|||
|} |
|||
===Scene Properties=== |
|||
{{DynaInfobox |
|||
|title=Scene Properties |
|||
|version=1 |
|||
|hash=0xFABDB3B3 |
|||
|games=The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer}} |
|||
{| class="wikitable" |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || int || '''idle03ExtraCount''' || |
|||
|- |
|||
| 0x04 || Anim ID || '''idle03Extras''' || always 52 |
|||
|- |
|||
| 0x08 || int || '''idle04ExtraCount''' || |
|||
|- |
|||
| 0x0C || Anim ID || '''idle04Extras''' || always 52 |
|||
|- |
|||
| 0x10 || byte || '''bombCount''' || always 20 |
|||
|- |
|||
| 0x11 || byte || '''extraIdleDelay''' || always 5 |
|||
|- |
|||
| 0x12 || byte || '''hdrGlow''' || varies |
|||
|- |
|||
| 0x13 || byte || '''hdrDarken''' || varies |
|||
|- |
|||
| 0x14 || [[SND]]/[[SNDS]] || '''musicID''' || Background music for the level. |
|||
|- |
|||
| 0x18 || int || '''flags''' || always 0 or 1 |
|||
|- |
|||
| 0x1C || float || '''waterTileWidth''' || |
|||
|- |
|||
| 0x20 || float || '''lodFadeDistance''' || always 4 |
|||
|- |
|||
| 0x24 || int || null || |
|||
|- |
|||
| 0x28 || int || null || |
|||
|- |
|||
| 0x2C || int || null || |
|||
|- |
|||
| 0x30 || int || null || |
|||
|} |
|||
{{Assets}} |
{{Assets}} |
||
{{AutoGameNavs}} |
{{AutoGameNavs}} |
Revision as of 05:55, 28 May 2021
DYNA | |
---|---|
Dynamic | |
Type | Base |
Base Type | 0x00 |
Games used | Battle for Bikini Bottom The SpongeBob SquarePants Movie |
Source code | xDynAsset.h |
A Dynamic is an asset type which can do multiple functions, depending on their type. The format for each DYNA type is completely different, and some are only used in some games.
Format
Dynamics are base assets, so they start with their 8 byte header, then are followed by another 8 byte header:
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | int | type | The subtype of this dynamic. Each type is listed below. |
0x0C | short | version | The version of this dynamic (depends on the type). |
0x0E | short | handle | Always 0. |
Types
The following is a list of all DYNA types found across all 4 games (Scooby doesn't use DYNAs), as well as which DYNA types are present in each game, signified by a checkmark (✔).
Name | ID | Version | Description | BFBB | TSSM | Incredibles | ROTU | |
---|---|---|---|---|---|---|---|---|
|
0x3A335FCF | ✔ | ✔ | |||||
|
0xFA0E4015 | ✔ | ✔ | |||||
|
0xCDAB9190 | ✔ | ✔ | ✔ | ||||
|
0xBBA5036A | ✔ | ✔ | Unused. | ||||
|
0xBC304E86 | ✔ | ✔ | |||||
|
0x2DE7AB98 | ✔ | ✔ | |||||
|
0xDEC6DFF0 | ✔ | ||||||
|
0xFB1179F5 | ✔ | ||||||
|
0x081A3629 | ✔ | ||||||
|
0x5EAB97E1 | ✔ | ✔ | |||||
|
0x53CE3CA4 | ✔ | ✔ | |||||
|
0x96727F69 | ✔ | ||||||
|
0x94B8EF2D | 2 | ✔ | ✔ | ✔ | ✔ | ||
|
0x4AF4ABC7 | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0x2A59443A | 3 | ✔ | ✔ | ✔ | ✔ | ||
|
0x56F5D96F | Unused. | ||||||
|
0x1337E641 | 1 | ✔ | ✔ | ✔ | |||
|
0x9535DB9D | 1 | ✔ | ✔ | ✔ | |||
|
0xC2783A7F | 1 | ✔ | |||||
|
0x0903FBB9 | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0xA7039867 | ✔ | ✔ | |||||
|
0xCDF6730C | 2 | ✔ | |||||
|
0x6AA8BF67 | 2 | ✔ | ✔ | ✔ | |||
|
0xA866726F | 1 | ✔ | |||||
|
0x90D4BA5B | ✔ | ✔ | ✔ | ||||
|
0x03E64AEB | ✔ | Unused. | |||||
|
0x5B1CC119 | ✔ | Unused. | |||||
|
0xD2D6A1E5 | 4 | ✔ | Bucket-O-Tron enemy. | ||||
|
0x1F9D54BB | 1 | ✔ | Frogfish tongue spinner enemy and Dennis SpongeBob enemy. | ||||
|
0x45B73B62 | 2 | ✔ | Jellyfish enemy. | ||||
|
0xCE41C144 | 3 | ✔ | Dennis boss. | ||||
|
0x11FCF451 | 2 | ✔ | Frogfish boss. | ||||
|
0xC92170B2 | 3 | ✔ | Mindy, SpongeBob, and Patrick NPC. | ||||
|
0xBE8C5CAC | 4 | ✔ | King Neptune boss. | ||||
|
0x44EA147A | 7 | ✔ | Fogger, Slammer, Flinger, Popper, Spinner, Mini-Merv, and Mervyn enemy. | ||||
|
0x495BFF9B | 2 | ✔ | Supply Crate, Balloon Box, Supply Computer, Thunder Barrel, and Steel Safe. | ||||
|
0x9FEC1E09 | 4 | ✔ | Turret enemy. | ||||
|
0xBB4864D8 | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0x381232B4 | ✔ | ✔ | |||||
|
0x390467A4 | ✔ | ✔ | ✔ | ||||
|
0x574749A4 | 1 | ✔ | ✔ | ||||
|
0x57CFB6F0 | 13 | ✔ | ✔ | ||||
|
0x8F012778 | 2 | ✔ | ✔ | Bus Stop/Port-O-Head for switching playable characters. | |||
|
0xE44DCEBA | ✔ | ||||||
|
0x9092FB14 | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0x571A5DBC | 2 | ✔ | |||||
|
0xE6120704 | 4-5 | ✔ | ✔ | ✔ | ✔ | ||
|
0x85BFDF34 | 1 | ✔ | ✔ | ✔ | Widget for Flythrough. | ||
|
0x35D19631 | ✔ | ||||||
|
0xE7928821 | ✔ | ||||||
|
0x1D3C54EE | 1 | ✔ | ✔ | ||||
|
0x832E4208 | ✔ | ✔ | ✔ | ||||
|
0xBBCB17C1 | 2 | ✔ | ✔ | ||||
|
0x8768334A | 2 | ✔ | |||||
|
0x844BCF76 | 2 | ✔ | ✔ | ||||
|
0x945F2E84 | ✔ | ||||||
|
0x4D81C1EE | 2 | ✔ | |||||
|
0x18028CA7 | 3 | ✔ | |||||
|
0x3D0D5121 | ✔ | ✔ | |||||
|
0x0934B196 | 11 | ✔ | ✔ | ✔ | Instance of text box. | ||
|
0xE9D2C1BB | 2 | ✔ | ✔ | ✔ | NPC talk box settings for specific playable characters. | ||
|
0x4DC449FC | 1 | ✔ | Taxi stops for warping to other levels. | ||||
|
0x70ADB7F9 | 1 or 2 | ✔ | ✔ | Teleport box. | |||
|
0x442E1337 | 1 | ✔ | ✔ | ✔ | ✔ | ✔ | Text box style settings. |
|
0xC279D693 | ✔ | ||||||
|
0xEA7B28D9 | ✔ | ||||||
|
0x798A7982 | ✔ | ||||||
|
0x4E09EC43 | 1 | ✔ | ✔ | ✔ | |||
|
0x5E5B5165 | 1 | ✔ | ✔ | ✔ | |||
|
0xB8DA553C | ✔ | ||||||
|
0x8B3E732F | 3 | ✔ | ✔ | ||||
|
0x8D40B9AC | 3 | ✔ | ✔ | ||||
|
0xFF5691D2 | 1 | ✔ | ✔ | ||||
|
0x687ED0B0 | 1 | ✔ | ✔ | ✔ | |||
|
0xD6093241 | 1 | ✔ | |||||
|
0xF7E8697A | ✔ | ||||||
|
0x4B03B4F7 | ✔ | ||||||
|
0x4C1F2B57 | ✔ | ✔ | |||||
|
0x28478E46 | ✔ | ||||||
|
0x4D34C2B9 | ✔ | ||||||
|
0x1F662B3C | ✔ | ||||||
|
0x204D6ADB | 1 | ✔ | ✔ | ||||
|
0x4494F483 | ✔ | ||||||
|
0xF98698FF | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0x48C0D3A6 | ✔ | ✔ | |||||
|
0x2326640A | 1 | ✔ | |||||
|
0xFF7E4CFC | 4 | ✔ | |||||
|
0x2196C135 | 1 | ✔ | ✔ | ✔ | ✔ | ✔ | |
|
0xFABDB3B3 | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0x8C2D107D | 2 | ✔ | ✔ | ✔ | ✔ | ||
|
0xE8753BAE | 0 | ✔ | ✔ | ✔ | ✔ | ||
|
0x337BCB31 | 1 | ✔ | ✔ | ✔ | ✔ | ||
|
0x79F807C7 | 2 | ✔ | ✔ | ||||
|
0xBD7646D7 | 2 | ✔ | ✔ | ✔ | ✔ | ||
|
0xFB50BACB | ✔ | ✔ | ✔ | ✔ | |||
Unknown | 0x2743B85C | ✔ | ||||||
Unknown | 0x2CD29541 | ✔ | ||||||
Unknown | 0x460F4FB2 | ✔ | ||||||
Unknown | 0x4EE03B24 | ✔ | ||||||
Unknown | 0x9F234F8E | ✔ | ||||||
Unknown | 0xA072A4DA | ✔ | ||||||
Unknown | 0xAD7CB421 | ✔ | ||||||
Unknown | 0xC6C76EEE | ✔ | ||||||
Unknown | 0xCDB57387 | ✔ | ||||||
Unknown | 0xCF21DB89 | ✔ | ||||||
Unknown | 0xE2301EA9 | ✔ | ||||||
Unknown | 0xE5D82D97 | ✔ | ||||||
Unknown | 0xEBC04E7B | ✔ | ✔ | |||||
Unknown | 0xFC2951C1 | ✔ |