The Nations CA: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "{{GRAFPageHeader}} == CA == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature ''':...") |
imported>Ikskoks |
||
| (39 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
<pre> | <pre> | ||
// header | // 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 | 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 | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 20: | Line 42: | ||
=== Notes and Comments === | === Notes and Comments === | ||
None. | * 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 === | === Games === | ||
| Line 28: | Line 61: | ||
=== QuickBMS Script === | === QuickBMS Script === | ||
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/The%20Nations/The_Nations_CA_script.bms The_Nations_CA_script.bms] | |||
=== Compatible Programs === | === Compatible Programs === | ||
| Line 36: | Line 69: | ||
[[Category:Complete | [[Category:Complete Almost Done|The Nations CA]] | ||
[[Category:Platform PC|The Nations CA]] | [[Category:Platform PC|The Nations CA]] | ||
[[Category:CE | [[Category:CE Both|The Nations CA]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[Category:Extension_ca| Extension: ca]] | [[Category:Extension_ca| Extension: ca]] | ||
[[Category: | [[Category:Hash]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
Latest revision as of 20:55, 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/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
- The Nations Map Editor (can only create new CA map files)