TOMBA2.DAT: Difference between revisions

From Tomba! Wiki
Jump to navigation Jump to search
No edit summary
 
(10 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:


==Filetypes description==
* '''[[SPRT]]''' - Sprite Data
DAT file contains:
*'''[[SMST]]''' - 3D Model Data, Standard Assets
*[[SPRT]] - Sprite Data  
*'''[[MDAT]]''' - 3D Model Data, Level Geometry
*[[SMST]] - 3D Model Data, Standard Assets
*'''[[TXTD]]''' - Text Data (explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68)  
*[[MDAT]] - 3D Model Data, Level Geometry
*'''[[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)
*[[TXTD]] - Text Data (explained in detail here: https://www.youtube.com/watch?v=Bbk2eXQPL68)  
*'''[[TANP]]''' - Tomba Animation Data
*[[ALFD]] - Asset Animation Data (responsible for moving limbs and model fragments, but doesn't construct skeleton - it seems like skeleton constructing occurs in TOMBA2.EXE)
*'''[[BETP]]''' - Animation data type 2
*[[TANP]] - Tomba Animation Data
*'''[[SCLD]]''' - Level Collision Data  
*[[BETP]] - Animation data type 2
*'''[[DRWB]]''' - Drawmaps - used to display chunks of level only visible to camera
*[[SCLD]] - Level Collision Data  
*'''[[BGMP]]''' - Backgrounds
*[[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 ==
== 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
!Our arbtirary filetype name
!Filetype
!Name
!Name
!Description
!Description
Line 44: Line 47:
|TANP
|TANP
|Tomba Animation
|Tomba Animation
|Tomba's animation data, but no skeleton creation data, which might occur in TOMBA2.EXE
|Tomba's animation data, but no skeleton creation data, which might occur in MAIN.EXE
|-
|-
|05
|05
Line 119: Line 122:
|+Tomba 2 Demo IDs
|+Tomba 2 Demo IDs
!ID
!ID
!Our arbtirary filetype name
!Filetype
!Name
!Name
!Description
!Description
Line 146: Line 149:
|TANP
|TANP
|Tomba Animation
|Tomba Animation
|Tomba's animation data, but no skeleton creation data, which might occur in TOMBA2.EXE
|Tomba's animation data, but no skeleton creation data, which might occur in MAIN.EXE
|-
|-
|05
|05

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

Tomba 2 Retail DAT file
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
Tomba 2 Demo IDs
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