FTG (Dark Reign)
From Just Solve the File Format Problem
(Difference between revisions)
(→Specification) |
|||
| Line 50: | Line 50: | ||
| | | | ||
|} | |} | ||
| + | |||
| + | [[Category:Dark Reign (Game)]] | ||
Revision as of 14:18, 12 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
|