Smacker Video SMK: Difference between revisions
Jump to navigation
Jump to search
imported>Dinoguy1000 m (To be continued...) |
imported>Dinoguy1000 m (To be continued...) |
(No difference)
| |
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 ;