The Nations CA

From XentaxWiki
Revision as of 20:55, 31 May 2022 by imported>Ikskoks (→‎Compatible Programs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to index | Edit this page

CA

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : binary.archive00


Format Specifications

// header
24 bytes (char) - signature // "binary.archive00"
4 bytes (uint32) - index offset
4 bytes (uint32) - nulls
24 bytes (char) - copyright notice  // "(C)2001 JoWooD" or can be empty
8 bytes - unknown


// data
num_of_files *
{
   x bytes - file data
}


// index (64 bytes per entry)
num_of_files *
{
   16 bytes (char) - file name   // e.g. "menu.mp3"
   4 bytes (char) - file type  // e.g. "evaw" (wave)
   4 bytes (uint32) - file size
   4 bytes (uint32) - file offset
   20 bytes - nulls
   8 bytes - file hash??
   8 bytes - nulls
}

Notes and Comments

  • Following entry types are supported:
    • ewav (wave) - music and sounds (WAV/MP3 files)
    • bats (stab) - string table
    • txet (text) - TXT/DB files
    • gami (imag) - image files (converted TGA files?)
    • htap (path)
    • mina (anim) - animations?
    • pamb (bmap)
    • enon (none) - None type / Other type (DLG/CS/FIF/RAW/DAT/DMAP files)
  • extensions for pamb/htap entries are some object types like "woman", "stone", "rock9", "tree3", "guard" etc.
  • This file format probably has support for some custom hash function which is currently unknown.
  • gami entries (TGA files) seems to be encrypted or compressed with unknown algorithm.

Games

List of games using this file format:

  • JoWood's The Nations / Alien Nations 2 (PC) (*.CA)

QuickBMS Script

Compatible Programs