TOMBA2.DAT: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
In ''Tomba! 2: The Evil Swine Return'', the '''DAT''' file is used to store '''data assets''' that are essential for the game's gameplay. It stores different types of game data, each with its own format: | |||
* '''[[SPRT]]''' - Sprite Data | |||
*'''[[SMST]]''' - 3D Model Data, Standard Assets | |||
*Sprite Data | *'''[[MDAT]]''' - 3D Model Data, Level Geometry | ||
*3D Model Data | *'''[[TXTD]]''' - Text Data (explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68) | ||
*Text Data (explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68) | *'''[[ALFD]]''' - Asset Animation Data (responsible for moving limbs and model fragments, but doesn't construct skeleton - it seems like skeleton constructing occurs in MAIN.EXE) | ||
*Asset Animation Data (responsible for moving limbs and model fragments, but doesn't construct skeleton - it seems like skeleton constructing occurs in | *'''[[TANP]]''' - Tomba Animation Data | ||
*Level Collision Data | *'''[[BETP]]''' - Animation data type 2 | ||
*Drawmaps - used to display chunks of level only visible to camera | *'''[[SCLD]]''' - Level Collision Data | ||
* | *'''[[DRWB]]''' - Drawmaps - used to display chunks of level only visible to camera | ||
*'''[[BGMP]]''' - Backgrounds | |||
== DAT extraction == | |||
DAT file can be extracted using [[Tomba 2 Extraction Script]]. | |||
== Filetypes by ID == | |||
Below are listed filetype IDs from inside [[TOMBA2.DAT]] | |||
{| class="wikitable" | {| class="wikitable" | ||
|+Tomba 2 Retail DAT file | |+Tomba 2 Retail DAT file | ||
!ID | !ID | ||
!Filetype | |||
!Name | !Name | ||
!Description | !Description | ||
|- | |- | ||
|00 | |00 | ||
|SPRT | |||
|Sprites | |Sprites | ||
|General sprites, menu related(?) | |General sprites, menu related(?) | ||
|- | |- | ||
|01 | |01 | ||
|SMST | |||
|3D Model | |3D Model | ||
|Weapon set | |Weapon set | ||
|- | |- | ||
|02 | |02 | ||
|TXTD | |||
|Text | |Text | ||
|Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | |Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | ||
|- | |- | ||
|03 | |03 | ||
|TXTD | |||
|Text | |Text | ||
|Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | |Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | ||
|- | |- | ||
|04 | |04 | ||
|TANP | |||
|Tomba Animation | |Tomba Animation | ||
|Tomba's animation data, but no skeleton creation data, which might occur in | |Tomba's animation data, but no skeleton creation data, which might occur in MAIN.EXE | ||
|- | |- | ||
|05 | |05 | ||
|SMST | |||
|3D Model | |3D Model | ||
|Baron's model | |Baron's model | ||
|- | |- | ||
|06 | |06 | ||
|MDAP | |||
|Animations | |Animations | ||
|Baron's animation | |Baron's animation | ||
|- | |- | ||
|07 | |07 | ||
|SCLD | |||
|Level Collision | |Level Collision | ||
|Level collision data | |Level collision data | ||
|- | |- | ||
|08 | |08 | ||
|MDAT | |||
|Level Geometry | |Level Geometry | ||
|3D Level geometry data | |3D Level geometry data | ||
|- | |- | ||
|09 | |09 | ||
|DRWB | |||
|Drawmaps | |Drawmaps | ||
|Level "drawmap" | |Level "drawmap" | ||
|- | |- | ||
|10 | |10 | ||
|SPRT | |||
|Sprites | |Sprites | ||
|2D Sprites, level related | |2D Sprites, level related | ||
|- | |- | ||
|11 | |11 | ||
|BGMP | |||
|Background Maps | |Background Maps | ||
|Level backgrounds made of 2D tiles | |Level backgrounds made of 2D tiles | ||
|- | |- | ||
|12 | |12 | ||
|SMST | |||
|3D Model(s) | |3D Model(s) | ||
|Asset pack for every level: platforms, doors, objects, moveable level parts, etc. | |Asset pack for every level: platforms, doors, objects, moveable level parts, etc. | ||
|- | |- | ||
|13 | |13 | ||
|TXTD | |||
|Text | |Text | ||
|Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | |Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | ||
|- | |- | ||
|14 | |14 | ||
|BETP | |||
|Animation | |Animation | ||
|Type 2 animation | |Type 2 animation | ||
|- | |- | ||
|15 | |15 | ||
Line 97: | Line 105: | ||
|- | |- | ||
|16 | |16 | ||
|SMST | |||
|3D Model | |3D Model | ||
|Zippo's model | |Zippo's model | ||
|- | |- | ||
|17 | |17 | ||
|ALFP | |||
|Animation | |Animation | ||
|Zippo's animation | |Zippo's animation | ||
|- | |- | ||
|18-44 | |18-44 | ||
| | |||
|Mixed data | |Mixed data | ||
|mostly SMST, occasional ALFP, rarely MDAT | |mostly SMST, occasional ALFP, rarely MDAT | ||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
|+Tomba 2 Demo IDs | |+Tomba 2 Demo IDs | ||
!ID | !ID | ||
!Filetype | |||
!Name | !Name | ||
!Description | !Description | ||
|- | |- | ||
|00 | |00 | ||
|SPRT | |||
|Sprites | |Sprites | ||
|General sprites, menu related(?) | |General sprites, menu related(?) | ||
|- | |- | ||
|01 | |01 | ||
|SMST | |||
|3D Model | |3D Model | ||
|Weapon set | |Weapon set | ||
|- | |- | ||
|02 | |02 | ||
|TXTD | |||
|Text | |Text | ||
|Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | |Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | ||
|- | |- | ||
|03 | |03 | ||
|TXTD | |||
|Text | |Text | ||
|Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | |Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | ||
|- | |- | ||
|04 | |04 | ||
|TANP | |||
|Tomba Animation | |Tomba Animation | ||
|Tomba's animation data, but no skeleton creation data, which might occur in | |Tomba's animation data, but no skeleton creation data, which might occur in MAIN.EXE | ||
|- | |- | ||
|05 | |05 | ||
|SCLD | |||
|Level Collision | |Level Collision | ||
|Level collision data | |Level collision data | ||
|- | |- | ||
|06 | |06 | ||
|MDAT | |||
|Level Geometry | |Level Geometry | ||
|3D Level geometry data | |3D Level geometry data | ||
|- | |- | ||
|07 | |07 | ||
|DRWB | |||
|Drawmaps | |Drawmaps | ||
|Level "drawmap" | |Level "drawmap" | ||
|- | |- | ||
|08 | |08 | ||
|SPRT | |||
|Sprites | |Sprites | ||
|2D Sprites, level related | |2D Sprites, level related | ||
|- | |- | ||
|09 | |09 | ||
|BGMP | |||
|Background Maps | |Background Maps | ||
|Level backgrounds made of 2D tiles | |Level backgrounds made of 2D tiles | ||
|- | |- | ||
|10 | |10 | ||
|SMST | |||
|3D Model(s) | |3D Model(s) | ||
|Asset pack for every level: platforms, doors, objects, moveable level parts, etc. | |Asset pack for every level: platforms, doors, objects, moveable level parts, etc. | ||
|- | |- | ||
|11 | |11 | ||
|TXTD | |||
|Text | |Text | ||
|Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | |Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 | ||
|- | |- | ||
|12 | |12 | ||
|BETP | |||
|Animation | |Animation | ||
|Type 2 animation | |Type 2 animation | ||
|- | |- | ||
|13 | |13 | ||
|SMST | |||
|3D Model | |3D Model | ||
|Zippo's model | |Zippo's model | ||
|- | |- | ||
|14 | |14 | ||
|ALFP | |||
|Animation | |Animation | ||
|Zippo's animation | |Zippo's animation | ||
|- | |- | ||
|15-44 | |15-44 | ||
| | |||
|Mixed | |Mixed | ||
|mostly SMST, occasional ALFP, rarely MDAT | |mostly SMST, occasional ALFP, rarely MDAT | ||
|} | |} |
Latest revision as of 11:02, 12 January 2025
In Tomba! 2: The Evil Swine Return, the DAT file is used to store data assets that are essential for the game's gameplay. It stores different types of game data, each with its own format:
- SPRT - Sprite Data
- SMST - 3D Model Data, Standard Assets
- MDAT - 3D Model Data, Level Geometry
- TXTD - Text Data (explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68)
- ALFD - Asset Animation Data (responsible for moving limbs and model fragments, but doesn't construct skeleton - it seems like skeleton constructing occurs in MAIN.EXE)
- TANP - Tomba Animation Data
- BETP - Animation data type 2
- SCLD - Level Collision Data
- DRWB - Drawmaps - used to display chunks of level only visible to camera
- BGMP - Backgrounds
DAT extraction
DAT file can be extracted using Tomba 2 Extraction Script.
Filetypes by ID
Below are listed filetype IDs from inside TOMBA2.DAT
ID | Filetype | Name | Description |
---|---|---|---|
00 | SPRT | Sprites | General sprites, menu related(?) |
01 | SMST | 3D Model | Weapon set |
02 | TXTD | Text | Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 |
03 | TXTD | Text | Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 |
04 | TANP | Tomba Animation | Tomba's animation data, but no skeleton creation data, which might occur in MAIN.EXE |
05 | SMST | 3D Model | Baron's model |
06 | MDAP | Animations | Baron's animation |
07 | SCLD | Level Collision | Level collision data |
08 | MDAT | Level Geometry | 3D Level geometry data |
09 | DRWB | Drawmaps | Level "drawmap" |
10 | SPRT | Sprites | 2D Sprites, level related |
11 | BGMP | Background Maps | Level backgrounds made of 2D tiles |
12 | SMST | 3D Model(s) | Asset pack for every level: platforms, doors, objects, moveable level parts, etc. |
13 | TXTD | Text | Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 |
14 | BETP | Animation | Type 2 animation |
15 | ? | ? | ? |
16 | SMST | 3D Model | Zippo's model |
17 | ALFP | Animation | Zippo's animation |
18-44 | Mixed data | mostly SMST, occasional ALFP, rarely MDAT |
ID | Filetype | Name | Description |
---|---|---|---|
00 | SPRT | Sprites | General sprites, menu related(?) |
01 | SMST | 3D Model | Weapon set |
02 | TXTD | Text | Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 |
03 | TXTD | Text | Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 |
04 | TANP | Tomba Animation | Tomba's animation data, but no skeleton creation data, which might occur in MAIN.EXE |
05 | SCLD | Level Collision | Level collision data |
06 | MDAT | Level Geometry | 3D Level geometry data |
07 | DRWB | Drawmaps | Level "drawmap" |
08 | SPRT | Sprites | 2D Sprites, level related |
09 | BGMP | Background Maps | Level backgrounds made of 2D tiles |
10 | SMST | 3D Model(s) | Asset pack for every level: platforms, doors, objects, moveable level parts, etc. |
11 | TXTD | Text | Explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68 |
12 | BETP | Animation | Type 2 animation |
13 | SMST | 3D Model | Zippo's model |
14 | ALFP | Animation | Zippo's animation |
15-44 | Mixed | mostly SMST, occasional ALFP, rarely MDAT |