Smacker Video SMK: Difference between revisions
Jump to navigation
Jump to search
imported>Dinoguy1000 m (SmackerVideo moved to GRAF:Smacker Video: per naming conventions) |
imported>Dinoguy1000 m (To be continued...) |
||
| Line 1: | Line 1: | ||
{{GRAFPageHeader}} | |||
== SMK == | |||
{{GRAFPageMisc|date_posted=10:52, December 12, 2005}} | |||
=== Format Specifications === | |||
{{GRAFPageFormat|1=char {4} - Header {{Constant|(SMK2)}}<br> | |||
uint32 {4} - {{Unknown}}<br> | |||
uint32 {4} - {{Unknown}}<br> | |||
uint32 {4} - Number Of Files<br> | |||
byte {88} - {{Unknown}} | |||
{{BlockDescription| // for each file }} | |||
: uint32 {4} - File Length | |||
{{BlockDescription| // for each file }} | |||
: byte {1} - {{Unknown}} | |||
byte {X} - File Data}} | |||
: byte {1} | |||
byte {X} | |||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
| Line 45: | Line 40: | ||
While EXTRCNT <> FILECNTL ; | While EXTRCNT <> FILECNTL ; | ||
</pre> | </pre> | ||
=== Games === | |||
* [[Jurassic Park: Trespasser]] [[SMK|*.smk]] | |||
* [[Total Annihilation]] [[ZRB|*.zrb]] | |||
=== Compatible Programs === | === Compatible Programs === | ||
Revision as of 21:20, 30 January 2007
Back to index | Edit this page
SMK
- Format type: Archive
- Endianness: Little-endian
Format Specifications
char {4} - Header (SMK2)
uint32 {4} - Unknown
uint32 {4} - Unknown
uint32 {4} - Number Of Files
byte {88} - Unknown
// for each file
- uint32 {4} - File Length
// for each file
- byte {1} - Unknown
MultiEx BMS Script
IDString 0 SMK2 ; Get DUMMYL Long 0 ; Get DUMMYL Long 0 ; Get FILECNTL Long 0 ; Set FILESTART Long 104 ; Set FILEJMP Long FILECNTL ; Math FILEJMP *= 4 ; Math FILEJMP += FILECNTL ; Math FILEJMP += 104 ; Do ; Set FILEOFF Long FILEJMP ; GoTo FILESTART 0 ; Get FILESIZE Long 0 ; SavePos FILESTART 0 ; Log FILENAME FILEOFF FILESIZE 0 0 ; Math FILEJMP += FILESIZE ; Math EXTRCNT += 1 ; While EXTRCNT <> FILECNTL ;