GRAF:AGON SFL: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
mNo edit summary
imported>Ikskoks
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:


== SFL ==
== SFL ==
{{GRAFPageMisc|date_posted=06:49, December 28, 2005}}
{{GRAFPageMisc}}


=== Format Specifications ===
=== Format Specifications ===
{{GRAFPageFormat|1={{Blue| // ARCHIVE HEADER }}
{{GRAFPageFormat|1={{BlockDescription| // ARCHIVE HEADER }}
: char {5}     - Header {{Purple|(SFL10)}}
: char {5}     - Header {{Constant|(SFL10)}}
: uint32 {4}   - Folders Directory Offset
: uint32 {4}   - Folders Directory Offset
: uint32 {4}   - Files Directory Offset
: uint32 {4}   - Files Directory Offset
Line 14: Line 14:
: uint32 {4}   - Filename Directory Length
: uint32 {4}   - Filename Directory Length


{{Blue| // FILE DATA }}
{{BlockDescription| // FILE DATA }}
: {{Blue| // for each file }}
: {{BlockDescription| // for each file }}
:: byte {X}     - File Data
:: byte {X}     - File Data


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


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


{{Blue| // FILENAME DIRECTORY }}
{{BlockDescription| // FILENAME DIRECTORY }}
: {{Blue| // for each file }}
: {{BlockDescription| // for each file }}
:: char {X}     - Filename
:: char {X}     - Filename
:: byte {1}     - null Filename Terminator}}
:: byte {1}     - null Filename Terminator}}
Line 58: Line 58:
[[Category:Platform PC|AGON SFL]]
[[Category:Platform PC|AGON SFL]]
[[Category:CE None|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