Dinosaur King FIL DIR BIN: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(7 intermediate revisions by the same user not shown)
Line 11: Line 11:
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
<pre>
// TODO
// FIL / DIR / BIN file formats
// By DKDave
 
 
DIR file - this is a list of the main folders
 
No header, so divide file size by 40 to get number of entries. Each entry is as follows:
 
uint32 Start file index in FIL file for this folder
uint32 Number of files in this folder
char (32) Full folder path (null-padded to 32 bytes)
 
 
FIL file - this is a list of the actual files
 
No header, files are referenced from the DIR file. Each entry is 44 bytes as follows:
 
uint32 File offset in BIN file
uint32 File size
uint32 Compression flag (0 = uncompressed, 1 = compressed)
char (32) Filename (null-padded to 32 bytes)
 
 
If files are compressed, they begin with a 16-byte header as follows:
 
char (4) "SSZL"
uint32 Total size of the decompresssed file
uint32 Total size of the compressed file, including this header
uint32 Unknown - maybe some custom value for LZSS decompression
</pre>
</pre>
</div>
</div>
Line 23: Line 51:
=== Games ===  
=== Games ===  
List of games using this file format:
List of games using this file format:
* Kodai Ouja Kyouryuu King - Mezame yo! Arata Naru Chikara/ Dinosaur King (Arcade)
* Dinosaur King - Operation: Dinosaur Rescue
* Dinosaur King - D-Team VS. The Alpha Fortress
* Kodai Ouja Kyouryuu King - Mezame yo! Arata Naru Chikara / Dinosaur King (Arcade)


=== QuickBMS Script ===  
=== QuickBMS Script ===  
Line 36: Line 66:


[[Category:Complete WIP|Dinosaur King FIL DIR BIN]]
[[Category:Complete WIP|Dinosaur King FIL DIR BIN]]
[[Category:Platform PC|Dinosaur King FIL DIR BIN]]
[[Category:Platform Arcade|Dinosaur King FIL DIR BIN]]
[[Category:CE Compressed|Dinosaur King FIL DIR BIN]]
[[Category:CE Compressed|Dinosaur King FIL DIR BIN]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]

Latest revision as of 21:18, 8 July 2022

Back to index | Edit this page

FIL, DIR, BIN

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : SSZL


Format Specifications

// FIL / DIR / BIN file formats
// By DKDave


DIR file - this is a list of the main folders

No header, so divide file size by 40 to get number of entries. Each entry is as follows:

uint32 Start file index in FIL file for this folder
uint32 Number of files in this folder
char (32) Full folder path (null-padded to 32 bytes)


FIL file - this is a list of the actual files

No header, files are referenced from the DIR file. Each entry is 44 bytes as follows:

uint32 File offset in BIN file
uint32 File size
uint32 Compression flag (0 = uncompressed, 1 = compressed)
char (32) Filename (null-padded to 32 bytes)


If files are compressed, they begin with a 16-byte header as follows:

char (4) "SSZL"
uint32 Total size of the decompresssed file
uint32 Total size of the compressed file, including this header
uint32 Unknown - maybe some custom value for LZSS decompression

Notes and Comments

  • This file format use unknown compression method. It's probably a custom variant of LZSS.
  • Compressed files in BIN archive starts with "SSZL" signature.
  • FIL file is the file index, DIR file is a directory index and BIN file holds all the data.

Games

List of games using this file format:

  • Dinosaur King - Operation: Dinosaur Rescue
  • Dinosaur King - D-Team VS. The Alpha Fortress
  • Kodai Ouja Kyouryuu King - Mezame yo! Arata Naru Chikara / Dinosaur King (Arcade)

QuickBMS Script

Compatible Programs

None.