FTG (Dark Reign)
From Just Solve the File Format Problem
(Difference between revisions)
m (→Specification) |
|||
Line 23: | Line 23: | ||
|- | |- | ||
| Directory offset | | Directory offset | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|- | |- | ||
| File count | | File count | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|} | |} | ||
Line 43: | Line 43: | ||
|- | |- | ||
| File offset | | File offset | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|- | |- | ||
| File size | | File size | ||
− | | <code> | + | | <code>uint</code> |
| | | | ||
|} | |} | ||
[[Category:Dark Reign (Game)]] | [[Category:Dark Reign (Game)]] |
Revision as of 17:07, 15 March 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 | uint
|
|
File count | uint
|
Each entry in the Directory has the following structure:
Variable | Type | Notes |
---|---|---|
File name | char[28]
|
Null-padded |
File offset | uint
|
|
File size | uint
|