FSF
From Just Solve the File Format Problem
(Difference between revisions)
(→Sample file) |
MihaiPopa7 (Talk | contribs) (Cleaned up a little.) |
||
Line 1: | Line 1: | ||
{{FormatInfo | {{FormatInfo | ||
|formattype=electronic | |formattype=electronic | ||
− | |subcat= | + | |subcat=Document |
|extensions={{ext|ini}} | |extensions={{ext|ini}} | ||
|released=2023 | |released=2023 |
Revision as of 11:59, 3 October 2024
FSF or File Structure Format is a format introduced by Xelitan Hex Editor. FSF files can be used as templates to interpret various binary files. Files are not compressed and use INI formatting.
Contents |
Sample file
Below is an FSF template for TGA images:
[FSFormat] IdLen=UInt8 ColorMap=UInt8 ImageType=UInt8 FirstIndex=UInt16 ColorCount=UInt16 ColorBits=UInt8 LeftCornerX=UInt16 LeftCornerY=UInt16 Width=UInt16 Height=UInt16 BytesPerPixel=UInt8 Flags=UInt8
Data types
UInt8 - unsigned integer, 8 bit Int8 - signed integer, 8 bit UInt16 - unsigned integer, 16 bit MInt16 - signed integer, 16 bit, Motorola byte order Str(4) - ASCII string, 4 bytes long UInt32|hex - unsigned integer, 32 bit, display in hex UInt16|DosTime - unsigned integer, 16 bit, interpret as Dos Time NulStr - ASCII string, terminated by null byte (0x00)
Identification
FSF files begin with ASCII text [FSFormat]
.