The Nations CA: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
(No difference)
| |
Revision as of 20:32, 31 May 2022
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 files
- gami (imag) - image files (converted TGA files?)
- enon (none) - DLG files?
- htap (path)
- mina (anim) - animations?
- pamb (bmap) - objects?
- 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
Not written yet.
Compatible Programs
- The Nations Map Editor (can only create new CA map files)