GRAF:AGON SFL: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
 
imported>Ikskoks
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== SFL ==
{{GRAFPageHeader}}


* ''' Format Type ''':    Archive <br>
== SFL ==
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
{{GRAFPageMisc}}


=== Format Specifications ===
{{GRAFPageFormat|1={{BlockDescription| // ARCHIVE HEADER }}
: char {5} &nbsp;&nbsp;&nbsp; - Header {{Constant|(SFL10)}}
: uint32 {4} &nbsp; - Folders Directory Offset
: uint32 {4} &nbsp; - Files Directory Offset
: uint32 {4} &nbsp; - Filename Directory Offset
: uint32 {4} &nbsp; - Number Of Folders
: uint32 {4} &nbsp; - Number Of Files
: uint32 {4} &nbsp; - Filename Directory Length


=== Format Specifications ===
{{BlockDescription| // FILE DATA }}
: {{BlockDescription| // for each file }}
:: byte {X} &nbsp;&nbsp;&nbsp; - File Data


<tt><b>
{{BlockDescription| // FOLDERS DIRECTORY }}
<font color="blue"> ''' // ARCHIVE HEADER ''' </font> <br>
: {{BlockDescription| // for each folder (16 bytes for each entry, 12 bytes for the last entry) }}
: char {5}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(SFL10)</font> <br>
:: uint32 {4} &nbsp; - Folder Name Offset {{InlineComment|(relative to the start of the filename directory)}}
: uint32 {4}&nbsp;&nbsp; - Folders Directory Offset <br>
:: uint32 {4} &nbsp; - File ID {{InlineComment|(can be all 255's) (incremental from -1)}}
: uint32 {4}&nbsp;&nbsp; - Files Directory Offset <br>
:: uint32 {4} &nbsp; - {{Unknown|Parent Directory ID?}} {{InlineComment|(mostly all 255's)}}
: uint32 {4}&nbsp;&nbsp; - Filename Directory Offset <br>
:: uint32 {4} &nbsp; - {{Unknown|ID? of the first file in this folder}} {{InlineComment|(this field does not exist for the last folder entry)}}
: uint32 {4}&nbsp;&nbsp; - Number Of Folders <br>
: uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
: uint32 {4}&nbsp;&nbsp; - Filename Directory Length <br>
<br>
<font color="blue"> ''' // FILE DATA ''' </font> <br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
<br>
<font color="blue"> ''' // FOLDERS DIRECTORY ''' </font> <br>
: <font color="blue"> ''' // for each folder (16 bytes for each entry, 12 bytes for the last entry) ''' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Folder Name Offset <font color="purple">(relative to the start of the filename directory)</font> <br>
:: uint32 {4}&nbsp;&nbsp; - File ID <font color="purple">(can be all 255's)</font> <font color="purple">(incremental from -1)</font> <br>
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Parent Directory ID? <font color="purple">(mostly all 255's)</font> '' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - <font color="red"> '' ID? of the first file in this folder <font color="purple">(this field does not exist for the last folder entry)</font> '' </font> <br>
<br>
<font color="blue"> ''' // FILES DIRECTORY ''' </font> <br>
: <font color="blue"> ''' // for each file (17 bytes for each entry) ''' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Filename Offset <font color="purple">(relative to the start of the filename directory)</font> <br>
:: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null <br>
:: uint32 {4}&nbsp;&nbsp; - File ID <font color="purple">(can be all 255's)</font> <font color="purple">(incremental from -1)</font> <br>
:: uint32 {4}&nbsp;&nbsp; - File Offset <br>
:: uint32 {4}&nbsp;&nbsp; - File Length <br>
<br>
<font color="blue"> ''' // FILENAME DIRECTORY ''' </font> <br>
: <font color="blue"> ''' // for each file ''' </font> <br>
:: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - Filename <br>
:: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - null Filename Terminator <br>
</b></tt>


=== MultiEx BMS ===
{{BlockDescription| // FILES DIRECTORY }}
: {{BlockDescription| // for each file (17 bytes for each entry) }}
:: uint32 {4} &nbsp; - Filename Offset {{InlineComment|(relative to the start of the filename directory)}}
:: byte {1} &nbsp;&nbsp;&nbsp; - null
:: uint32 {4} &nbsp; - File ID {{InlineComment|(can be all 255's) (incremental from -1)}}
:: uint32 {4} &nbsp; - File Offset
:: uint32 {4} &nbsp; - File Length


Not written yet<br><br>
{{BlockDescription| // FILENAME DIRECTORY }}
: {{BlockDescription| // for each file }}
:: char {X} &nbsp;&nbsp;&nbsp; - Filename
:: byte {1} &nbsp;&nbsp;&nbsp; - null Filename Terminator}}


=== Supported Programs ===  
=== Notes and Comments ===
None


* [[Game Extractor|Game Extractor]]<br>
=== MultiEx BMS Script ===
{{NoBMSScript}}
 
=== Supported by Programs ===
* {{ProgramSupportGameExtracter}}
 
=== Links ===
None
 
=== Games ===
* [[AGON]] [[SFL|*.sfl]]
 
{{GRAFPageFooter}}
 
[[Category:Complete Almost Done|AGON SFL]]
[[Category:Platform PC|AGON SFL]]
[[Category:CE None|AGON SFL]]
[[Category:File Format]]

Latest revision as of 01:08, 3 January 2021

Back to index | Edit this page

SFL

Format Specifications

// ARCHIVE HEADER
char {5}     - Header (SFL10)
uint32 {4}   - Folders Directory Offset
uint32 {4}   - Files Directory Offset
uint32 {4}   - Filename Directory Offset
uint32 {4}   - Number Of Folders
uint32 {4}   - Number Of Files
uint32 {4}   - Filename Directory Length

// FILE DATA

// for each file
byte {X}     - File Data

// FOLDERS DIRECTORY

// for each folder (16 bytes for each entry, 12 bytes for the last entry)
uint32 {4}   - Folder Name Offset (relative to the start of the filename directory)
uint32 {4}   - File ID (can be all 255's) (incremental from -1)
uint32 {4}   - Parent Directory ID? (mostly all 255's)
uint32 {4}   - ID? of the first file in this folder (this field does not exist for the last folder entry)

// FILES DIRECTORY

// for each file (17 bytes for each entry)
uint32 {4}   - Filename Offset (relative to the start of the filename directory)
byte {1}     - null
uint32 {4}   - File ID (can be all 255's) (incremental from -1)
uint32 {4}   - File Offset
uint32 {4}   - File Length

// FILENAME DIRECTORY

// for each file
char {X}     - Filename
byte {1}     - null Filename Terminator

Notes and Comments

None

MultiEx BMS Script

None written yet.

Supported by Programs

Links

None

Games

Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used