GRAF:AGON SFL: Difference between revisions
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: | ||
{{GRAFPageHeader}} | |||
== SFL == | |||
{{GRAFPageMisc}} | |||
=== Format Specifications === | |||
{{GRAFPageFormat|1={{BlockDescription| // ARCHIVE HEADER }} | |||
: char {5} - Header {{Constant|(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 | |||
{{BlockDescription| // FILE DATA }} | |||
: {{BlockDescription| // for each file }} | |||
:: byte {X} - File Data | |||
{{BlockDescription| // FOLDERS DIRECTORY }} | |||
: {{BlockDescription| // for each folder (16 bytes for each entry, 12 bytes for the last entry) }} | |||
:: uint32 {4} - Folder Name Offset {{InlineComment|(relative to the start of the filename directory)}} | |||
:: uint32 {4} - File ID {{InlineComment|(can be all 255's) (incremental from -1)}} | |||
:: uint32 {4} - {{Unknown|Parent Directory ID?}} {{InlineComment|(mostly all 255's)}} | |||
:: uint32 {4} - {{Unknown|ID? of the first file in this folder}} {{InlineComment|(this field does not exist for the last folder entry)}} | |||
: | |||
:: uint32 {4} | |||
:: uint32 {4} | |||
:: uint32 {4} | |||
:: uint32 {4} | |||
{{BlockDescription| // FILES DIRECTORY }} | |||
: {{BlockDescription| // for each file (17 bytes for each entry) }} | |||
:: uint32 {4} - Filename Offset {{InlineComment|(relative to the start of the filename directory)}} | |||
:: byte {1} - null | |||
:: uint32 {4} - File ID {{InlineComment|(can be all 255's) (incremental from -1)}} | |||
:: uint32 {4} - File Offset | |||
:: uint32 {4} - File Length | |||
{{BlockDescription| // FILENAME DIRECTORY }} | |||
: {{BlockDescription| // for each file }} | |||
:: char {X} - Filename | |||
:: byte {1} - null Filename Terminator}} | |||
=== | === Notes and Comments === | ||
None | |||
* [[ | === 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 type: Archive
- Endianness: Little-endian
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