Motocross Madness 2 RES TEX DAT: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks m (Ikskoks moved page Motocross Madness 2 to Motocross Madness 2 RES TEX DAT) |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 29: | Line 29: | ||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
<pre> | |||
ImpType Standard ; | |||
IDString 0 RS2 ; | |||
Get FOOBAR Byte 0 ; | |||
Get FILENUM Long 0 ; | |||
For X = 1 To FILENUM ; | |||
Get FNSIZE Long 0 ; | |||
GetDString FNAME FNSIZE 0 ; | |||
SavePos FOFFSETX 0 ; | |||
Get FOFFSET Long 0 ; | |||
SavePos FSIZEX 0 ; | |||
Get FSIZE Long 0 ; | |||
Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ; | |||
Next X ; | |||
</pre><br> | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Game Extractor|Game Extractor]]<br> | * [[Game Extractor|Game Extractor]]<br> | ||
* [[MultiEx Commander|MultiEx Commander]]<br> | |||
[[Category:File Format]] | |||
Latest revision as of 22:18, 16 January 2021
Choose archive extension:
RES, TEX, DAT
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {3} - Header (RS2)
byte {1} - null
uint32 {4} - Number Of Files
// for each file
- uint32 {4} - Filename Length (including terminating null byte)
- char {X} - Filename
- byte {1} - null Filename Terminator
- uint32 {4} - Offset
- uint32 {4} - Size
byte {X} - File Data
MultiEx BMS Script
ImpType Standard ; IDString 0 RS2 ; Get FOOBAR Byte 0 ; Get FILENUM Long 0 ; For X = 1 To FILENUM ; Get FNSIZE Long 0 ; GetDString FNAME FNSIZE 0 ; SavePos FOFFSETX 0 ; Get FOFFSET Long 0 ; SavePos FSIZEX 0 ; Get FSIZE Long 0 ; Log FNAME FOFFSET FSIZE FOFFSETX FSIZEX ; Next X ;