FTG (Dark Reign)
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Archiving |extensions={{ext|ftg}} }} A '''.ftg''' file is an uncompressed archive format used by the real-time strategy game [http...") |
|||
| Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|formattype=electronic | |formattype=electronic | ||
| − | |subcat= | + | |subcat=Game data files |
|extensions={{ext|ftg}} | |extensions={{ext|ftg}} | ||
}} | }} | ||
Revision as of 17:53, 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
|