GRAF:AGON SFL: Difference between revisions
Jump to navigation
Jump to search
imported>Dinoguy1000 mNo edit summary |
imported>Dinoguy1000 (GRAFPageMisc cleanup) |
||
| Line 2: | Line 2: | ||
== SFL == | == SFL == | ||
{{GRAFPageMisc | {{GRAFPageMisc}} | ||
=== Format Specifications === | === Format Specifications === | ||
Revision as of 20:36, 1 November 2011
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