Soldier Front SFF: Difference between revisions
Jump to navigation
Jump to search
imported>Baccello |
imported>Ikskoks No edit summary |
||
| (9 intermediate revisions by 3 users not shown) | |||
| Line 25: | Line 25: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<bms author="Baccello" games="'Soldier Front'" ext="sff" platforms="'PC'" verbose="no" silence="no"> | |||
ImpType Standard ; | |||
Get NOF Long 0 ; | |||
Set SHIFT Long 136 ; | |||
Math SHIFT *= NOF ; | |||
Math SHIFT += 4 ; | |||
For I = 1 to NOF ; | |||
SavePos T 0 ; | |||
Get PN String 0 ; | |||
Math T += 128 ; | |||
Goto T 0 ; | |||
SavePos OFO 0 ; | |||
Get FO Long 0 ; | |||
Math FO += SHIFT ; | |||
SavePos OFL 0 ; | |||
Get FL Long 0 ; | |||
Log PN FO FL OFO OFL ; | |||
NEXT I ; | |||
</bms> | |||
=== Supported by Programs === | === Supported by Programs === | ||
{{NoProgramSupport}} | {{NoProgramSupport}} | ||
[[Category:File Format]] | |||
Latest revision as of 12:14, 21 January 2021
SFF
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
uint32 {4} - Number Of Files
// FILES DIRECTORY
- // for each file
- char {128} - Path Filename (included null and filled with 0xCC char)
- uint32 {4} - File Offset (start from end of File Directory)
- uint32 {4} - File Length
- char {128} - Path Filename (included null and filled with 0xCC char)
// FILE DATA
- // for each file
- byte {x} - File Data
- byte {x} - File Data
Notes and Comments
None
MultiEx BMS Script
<bms author="Baccello" games="'Soldier Front'" ext="sff" platforms="'PC'" verbose="no" silence="no"> ImpType Standard ; Get NOF Long 0 ; Set SHIFT Long 136 ; Math SHIFT *= NOF ; Math SHIFT += 4 ; For I = 1 to NOF ; SavePos T 0 ; Get PN String 0 ; Math T += 128 ; Goto T 0 ; SavePos OFO 0 ; Get FO Long 0 ; Math FO += SHIFT ; SavePos OFL 0 ; Get FL Long 0 ; Log PN FO FL OFO OFL ; NEXT I ; </bms>
Supported by Programs
Unknown