TOMBA2.DAT: Difference between revisions

From Tomba! Wiki
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:


==TOMBA2.DAT==
* '''[[SPRT]]''' - Sprite Data
DAT file contains:
*'''[[SMST]]''' - 3D Model Data, Standard Assets
*Sprite Data
*'''[[MDAT]]''' - 3D Model Data, Level Geometry
*3D Model Data (Standard and level model files)
*'''[[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 TOMBA2.EXE)
*'''[[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  
*Background Tiles
*'''[[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
!Our arbtirary filetype name
|-
|-
|00
|00
|SPRT
|Sprites
|Sprites
|General sprites, menu related(?)
|General sprites, menu related(?)
|SPRT
|-
|-
|01
|01
|SMST
|3D Model
|3D Model
|Weapon set
|Weapon set
|SMST
|-
|-
|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
|TXTD
|-
|-
|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
|TXTD
|-
|-
|04
|04
|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
|TANP
|-
|-
|05
|05
|SMST
|3D Model
|3D Model
|Baron's model
|Baron's model
|SMST
|-
|-
|06
|06
|MDAP
|Animations
|Animations
|Baron's animation
|Baron's animation
|MDAP
|-
|-
|07
|07
|SCLD
|Level Collision
|Level Collision
|Level collision data
|Level collision data
|SCLD
|-
|-
|08
|08
|MDAT
|Level Geometry
|Level Geometry
|3D Level geometry data
|3D Level geometry data
|MDAT
|-
|-
|09
|09
|DRWB
|Drawmaps
|Drawmaps
|Level "drawmap"
|Level "drawmap"
|DRWB
|-
|-
|10
|10
|SPRT
|Sprites
|Sprites
|2D Sprites, level related
|2D Sprites, level related
|SPRT
|-
|-
|11
|11
|BGMP
|Background Maps
|Background Maps
|Level backgrounds made of 2D tiles
|Level backgrounds made of 2D tiles
|BGMP
|-
|-
|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.
|SMST
|-
|-
|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
|TXTD
|-
|-
|14
|14
|BETP
|Animation
|Animation
|Type 2 animation
|Type 2 animation
|BETP
|-
|-
|15
|15
Line 97: Line 105:
|-
|-
|16
|16
|SMST
|3D Model
|3D Model
|Zippo's model
|Zippo's model
|SMST
|-
|-
|17
|17
|ALFP
|Animation
|Animation
|Zippo's animation
|Zippo's animation
|ALFP
|-
|-
|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
!Our arbtirary filetype name
|-
|-
|00
|00
|SPRT
|Sprites
|Sprites
|General sprites, menu related(?)
|General sprites, menu related(?)
|SPRT
|-
|-
|01
|01
|SMST
|3D Model
|3D Model
|Weapon set
|Weapon set
|SMST
|-
|-
|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
|TXTD
|-
|-
|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
|TXTD
|-
|-
|04
|04
|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
|TANP
|-
|-
|05
|05
|SCLD
|Level Collision
|Level Collision
|Level collision data
|Level collision data
|SCLD
|-
|-
|06
|06
|MDAT
|Level Geometry
|Level Geometry
|3D Level geometry data
|3D Level geometry data
|MDAT
|-
|-
|07
|07
|DRWB
|Drawmaps
|Drawmaps
|Level "drawmap"
|Level "drawmap"
|DRWB
|-
|-
|08
|08
|SPRT
|Sprites
|Sprites
|2D Sprites, level related
|2D Sprites, level related
|SPRT
|-
|-
|09
|09
|BGMP
|Background Maps
|Background Maps
|Level backgrounds made of 2D tiles
|Level backgrounds made of 2D tiles
|BGMP
|-
|-
|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.
|SMST
|-
|-
|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
|TXTD
|-
|-
|12
|12
|BETP
|Animation
|Animation
|Type 2 animation
|Type 2 animation
|BETP
|-
|-
|13
|13
|SMST
|3D Model
|3D Model
|Zippo's model
|Zippo's model
|SMST
|-
|-
|14
|14
|ALFP
|Animation
|Animation
|Zippo's animation
|Zippo's animation
|ALFP
|-
|-
|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

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