FTG (Dark Reign)
From Just Solve the File Format Problem
(Difference between revisions)
(→Specification) |
|||
Line 19: | Line 19: | ||
|- | |- | ||
| Signature | | Signature | ||
− | | <code>BOTG</code> | + | | "<code>BOTG</code>" |
| | | | ||
|- | |- |
Revision as of 18:26, 11 January 2023
A .ftg file is an uncompressed archive format used by the real-time strategy game Dark Reign, to package most of the game’s assets.
Specification
The format includes a header, a directory of files, and the file data itself.
Header format:
Variable | Type | Notes |
---|---|---|
Signature | "BOTG "
|
|
Directory offset | unsigned int
|
|
File count | unsigned int
|
Each entry in the Directory has the following structure:
Variable | Type | Notes |
---|---|---|
File name | char[28]
|
Null-padded |
File offset | unsigned int
|
|
File size | unsigned int
|