Dinosaur King FIL DIR BIN

From XentaxWiki
Revision as of 21:18, 8 July 2022 by imported>Ikskoks (→‎Games)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.