FSF

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category added)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{FormatInfo
 
{{FormatInfo
 
|formattype=electronic
 
|formattype=electronic
|subcat=Text
+
|subcat=Document
 
|extensions={{ext|ini}}
 
|extensions={{ext|ini}}
 
|released=2023
 
|released=2023
Line 10: Line 10:
 
Below is an FSF template for TGA images:
 
Below is an FSF template for TGA images:
 
<code>
 
<code>
[FSFormat]
+
[FSFormat]
IdLen=UInt8
+
IdLen=UInt8
ColorMap=UInt8
+
ColorMap=UInt8
ImageType=UInt8
+
ImageType=UInt8
FirstIndex=UInt16
+
FirstIndex=UInt16
ColorCount=UInt16
+
ColorCount=UInt16
ColorBits=UInt8
+
ColorBits=UInt8
LeftCornerX=UInt16
+
LeftCornerX=UInt16
LeftCornerY=UInt16
+
LeftCornerY=UInt16
Width=UInt16
+
Width=UInt16
Height=UInt16
+
Height=UInt16
BytesPerPixel=UInt8
+
BytesPerPixel=UInt8
Flags=UInt8
+
Flags=UInt8
 
</code>
 
</code>
  
 
== 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 ==
Line 43: Line 43:
 
== Sample files ==
 
== Sample files ==
 
* [[Xelitan Hex Editor]]
 
* [[Xelitan Hex Editor]]
 +
 +
 +
[[Category:INI based file formats]]

Latest revision as of 12:15, 18 October 2024

File Format
Name FSF
Ontology
Extension(s) .ini
Released 2023

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

[edit] 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

[edit] 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)

[edit] Identification

FSF files begin with ASCII text [FSFormat].

[edit] Software

[edit] Sample files

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox