Scrapland PACKED: Difference between revisions
Jump to navigation
Jump to search
imported>Xennex No edit summary |
imported>Ikskoks No edit summary |
||
| (16 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{GRAFTemplate1| | {{GRAFTemplate1| | ||
file_extension= | file_extension=*.PACKED| | ||
format_type=Archive| | format_type=Archive| | ||
endian_order=Little Endian| | endian_order=Little Endian| | ||
date_posted= | date_posted=11:08, October 6, 2006| | ||
format_specifications= | format_specifications= | ||
<tt><b>byte {4} - Header {{Purple|(BFPK)}}<br> | |||
byte {4} - null<br> | |||
uint32 {4} - Numbers of files<br><br> | |||
{{Blue| // For each file}}<br> | |||
:uint32 {4} - Directory name length<br> | |||
:byte {x} - Directory name<br> | |||
:uint32 {4} - File size<br> | |||
:uint32 {4} - File offset<br><br> | |||
{{Blue| // For each file}}<br> <!-- Should be merged with previous block? --> | |||
:byte {x} - File data</b></tt>| | |||
notes=None| | notes=None| | ||
bms_script= | 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>| | |||
programs=None| | programs=None| | ||
documentation=None| | documentation=None| | ||
games= | 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