Smacker Video SMK: Difference between revisions

From XentaxWiki
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:
== SMK ==
{{GRAFPageHeader}}


* ''' Format Type ''':    Archive <br>
== SMK ==
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
{{GRAFPageMisc|date_posted=10:52, December 12, 2005}}


=== Format Specifications ===
{{GRAFPageFormat|1=char {4} &nbsp;&nbsp;&nbsp; - Header {{Constant|(SMK2)}}<br>
uint32 {4} &nbsp; - {{Unknown}}<br>
uint32 {4} &nbsp; - {{Unknown}}<br>
uint32 {4} &nbsp; - Number Of Files<br>
byte {88} &nbsp;&nbsp; - {{Unknown}}


=== Format Specifications ===
{{BlockDescription| // for each file }}
: uint32 {4} &nbsp; - File Length


<tt><b>
{{BlockDescription| // for each file }}
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(SMK2)</font> <br>
: byte {1} &nbsp;&nbsp;&nbsp; - {{Unknown}}
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
 
uint32 {4}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
byte {X} &nbsp;&nbsp;&nbsp; - File Data}}
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
byte {88}&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>
: uint32 {4}&nbsp;&nbsp; - File Length <br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>
: byte {1}&nbsp;&nbsp;&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
<br>
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
<br>
</b></tt>


=== 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 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
byte {X}     - File Data

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 ;

Games

Compatible Programs