Smacker Video SMK: Difference between revisions
imported>Ikskoks m (Ikskoks moved page GRAF:Smacker Video to Smacker Video SMK) |
imported>Ikskoks No edit summary |
||
| Line 1: | Line 1: | ||
{{GRAFPageHeader}} | {{GRAFPageHeader}} | ||
== SMK == | |||
* ''' Format Type ''': Video <br> | |||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | |||
* ''' Signature ''': SMK2 <br> | |||
=== Format Specifications === | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
// header | |||
4 bytes (char) - signature // "SMK2" | |||
4 bytes (uint32) - width | |||
4 bytes (uint32) - height | |||
4 bytes (uint32) - number of frames | |||
88 bytes - unknown | |||
// info table | |||
num_of_frames * | |||
{ | |||
4 bytes (uint32) - frame size | |||
} | |||
// data | |||
num_of_frames * | |||
{ | |||
1 byte - unknown | |||
x bytes - data | |||
} | |||
</pre> | |||
</div> | |||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<bms author="unknown" ext="smk" games="'Jurassic Park: Trespasser'" platforms="'PC'" version="1.0" silence="no" verbose="no"> | |||
IDString 0 SMK2 ; | <bms author="unknown" ext="smk" games="'Jurassic Park: Trespasser'" platforms="'PC'" version="1.0" silence="no" verbose="no"> 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 ; </bms> <bms author="unknown" ext="zrb" games="'Total Annihilation'" platforms="'PC'" version="1.0" silence="yes" verbose="no"> 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 ; </bms> | ||
Get DUMMYL Long 0 ; | |||
Get DUMMYL Long 0 ; | === Notes and Comments === | ||
Get FILECNTL Long 0 ; | |||
Set FILESTART Long 104 ; | * None. | ||
Set FILEJMP Long FILECNTL ; | |||
Math FILEJMP *= 4 ; | === Games === | ||
Math FILEJMP += FILECNTL ; | List of games using this file format: | ||
Math FILEJMP += 104 ; | * [[Jurassic Park: Trespasser]] [[SMK|*.SMK]] | ||
Do ; | * [[Total Annihilation]] [[ZRB|*.ZRB]] | ||
Set FILEOFF Long FILEJMP ; | * William Shatner's TekWar (*.SMK) | ||
GoTo FILESTART 0 ; | |||
Get FILESIZE Long 0 ; | === Compatible Programs === | ||
SavePos FILESTART 0 ; | |||
Log FILENAME FILEOFF FILESIZE 0 0 ; | |||
Math FILEJMP += FILESIZE ; | |||
Math EXTRCNT += 1 ; | |||
While EXTRCNT <> FILECNTL ; | |||
</bms> | |||
<bms author="unknown" ext="zrb" games="'Total Annihilation'" platforms="'PC'" version="1.0" silence="yes" verbose="no"> | |||
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 ; | |||
</bms> | |||
* {{ProgramSupportMexcom}} | * {{ProgramSupportMexcom}} | ||
* {{ProgramSupportGameExtracter}} | * {{ProgramSupportGameExtracter}} | ||
* [http://www.radgametools.com/smkdown.htm Smacker] | * [http://www.radgametools.com/smkdown.htm Smacker] | ||
<br/><br> | |||
[[Category:Complete | [[Category:Complete WIP|Smacker Video SMK]] | ||
[[Category:Platform PC|Smacker Video]] | [[Category:Platform PC|Smacker Video SMK]] | ||
[[Category: | [[Category:CE None|Smacker Video SMK]] | ||
[[Category: | [[Category:Format_Video | Type: Video]] | ||
[[Category: | [[Category:Extension_smk | Extension: smk]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
Revision as of 12:50, 31 October 2021
Back to index | Edit this page
SMK
- Format Type : Video
- Endian Order : Little Endian
- Signature : SMK2
Format Specifications
// header
4 bytes (char) - signature // "SMK2"
4 bytes (uint32) - width
4 bytes (uint32) - height
4 bytes (uint32) - number of frames
88 bytes - unknown
// info table
num_of_frames *
{
4 bytes (uint32) - frame size
}
// data
num_of_frames *
{
1 byte - unknown
x bytes - data
}
MultiEx BMS Script
<bms author="unknown" ext="smk" games="'Jurassic Park: Trespasser'" platforms="'PC'" version="1.0" silence="no" verbose="no"> 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 ; </bms> <bms author="unknown" ext="zrb" games="'Total Annihilation'" platforms="'PC'" version="1.0" silence="yes" verbose="no"> 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 ; </bms>
Notes and Comments
- None.
Games
List of games using this file format:
- Jurassic Park: Trespasser *.SMK
- Total Annihilation *.ZRB
- William Shatner's TekWar (*.SMK)
Compatible Programs