Scrapland PACKED: Difference between revisions
Jump to navigation
Jump to search
imported>Xennex No edit summary |
imported>Ikskoks No edit summary |
||
| (8 intermediate revisions by 4 users not shown) | |||
| Line 17: | Line 17: | ||
notes=None| | notes=None| | ||
bms_script= | bms_script= | ||
ImpType Standard ; | <bms author="Xennex" ext="packed" games="'Scrapland'" platforms="'PC'" version="1.0" verbose="Yes" silence="no"> | ||
Goto 8 0 ; | ImpType Standard ; | ||
Get FNum Long 0 ; | Goto 8 0 ; | ||
For n = 1 to FNum ; | Get FNum Long 0 ; | ||
Get FNLen Long 0 ; | For n = 1 to FNum ; | ||
GetDString FN FNLen 0 ; | Get FNLen Long 0 ; | ||
SavePos FOO 0 ; | GetDString FN FNLen 0 ; | ||
Get FO Long 0 ; | SavePos FOO 0 ; | ||
SavePos FSO 0 ; | Get FO Long 0 ; | ||
Get FS Long 0 ; | SavePos FSO 0 ; | ||
Log FN FS FO FSO FOO ; | Get FS Long 0 ; | ||
Next n ;| | Log FN FS FO FSO FOO ; | ||
Next n ; | |||
</bms>| | |||
programs=None| | programs=None| | ||
documentation=None| | documentation=None| | ||
games=Scrapland | games=Scrapland | ||
}} | }} | ||
[[Category:File Format]] | |||
Latest revision as of 11:46, 21 January 2021
Back to index | Edit this page
*.PACKED
{{GRAFPageMisc{{ subst:#if: Archive | {{subst:!}}Archive }}{{ subst:#if: Little Endian | {{subst:!}}Little Endian }}}}
Format Specifications
byte {4} - Header (BFPK)
byte {4} - null
uint32 {4} - Numbers of files
// For each file
- uint32 {4} - Directory name length
- byte {x} - Directory name
- uint32 {4} - File size
- uint32 {4} - File offset
// For each file
- byte {x} - File data
Notes and Comments
None
MultiEx BMS Script
<bms author="Xennex" ext="packed" games="'Scrapland'" platforms="'PC'" version="1.0" verbose="Yes" silence="no"> ImpType Standard ; Goto 8 0 ; Get FNum Long 0 ; For n = 1 to FNum ; Get FNLen Long 0 ; GetDString FN FNLen 0 ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Log FN FS FO FSO FOO ; Next n ; </bms>
Supported by Programs
None
Documentation
None
Games
Scrapland