GRAF:AGON SFL: Difference between revisions
Jump to navigation
Jump to search
imported>Mr.Mouse m (AGON SFL moved to GRAF:AGON SFL) |
imported>Mr.Mouse m (AGON SFL moved to GRAF:AGON SFL) |
(No difference)
| |
Revision as of 13:03, 23 October 2006
SFL
- Format Type : Archive
- Endian Order : 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
- 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)
- uint32 {4} - Folder Name Offset (relative to the start of the filename directory)
// 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
- uint32 {4} - Filename Offset (relative to the start of the filename directory)
// FILENAME DIRECTORY
- // for each file
- char {X} - Filename
- byte {1} - null Filename Terminator
- char {X} - Filename
MultiEx BMS
Not written yet