FSF
From Just Solve the File Format Problem
(Difference between revisions)
(→Data types) |
|||
Line 26: | Line 26: | ||
== Data types == | == Data types == | ||
− | UInt8 - unsigned integer, 8 bit | + | UInt8 - unsigned integer, 8 bit |
− | Int8 - signed integer, 8 bit | + | Int8 - signed integer, 8 bit |
− | UInt16 - unsigned integer, 16 bit | + | UInt16 - unsigned integer, 16 bit |
− | MInt16 - signed integer, 16 bit, Motorola byte order | + | MInt16 - signed integer, 16 bit, Motorola byte order |
− | Str(4) - ASCII string, 4 bytes long | + | Str(4) - ASCII string, 4 bytes long |
− | UInt32|hex - unsigned integer, 32 bit, display in hex | + | UInt32|hex - unsigned integer, 32 bit, display in hex |
− | UInt16|DosTime - unsigned integer, 16 bit, interpret as Dos Time | + | UInt16|DosTime - unsigned integer, 16 bit, interpret as Dos Time |
− | NulStr - ASCII string, terminated by null byte (0x00) | + | NulStr - ASCII string, terminated by null byte (0x00) |
== Identification == | == Identification == |
Revision as of 11:38, 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]
.