[MVE Header]
Offset Size-Bytes Description
-------- ---------------- ---------------------------------------
00h 22 MVE File ID - 'Interplay MVE File',1A,00,1A,00
16h 2 (word) Unknown-0100h
18h 4 (dword) Pointer? Some kind of Checksum
1Ah 4 (dword) Pointer? Used during Checksum calculation
Start of Chunk Data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 0Ah - UNKNOWN]
Offset Size-Bytes Description
-------- ---------------- ---------------------------------------
00h 2 (word) Chunk Length
02h 1 (byte) Chunk Type - 0Ah
03h 1 (byte) Unknown
04h 2 (word) Width - Suggested
06h 2 (word) Height - Suggested
08h 2 (word) Unknown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 05h - UNKNOWN]
Offset Size-Bytes Description
--------- ---------------- ----------------------------------------
00h 2 (word) Chunk Length
02h 1 (byte) Chunk Type - 05h
03h 1 (byte) Unknown
04h 2 (word) Unknown
06h 2 (word) Unknown
08h 2 (word) Unknown
0Ah 2 (word) Unknown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 0Ch - PALETTE]
Offset Size\\Bytes Description
--------- ---------------- ----------------------------------------
00h 2 (word) Chunk Length
02h 1 (byte) Chunk Type - 0Ch
03h 1 (byte) Unknown
04h 2 (word) First Palette Entry
06h 2 (word) Number of Palette Entries
08h NumPalEntries*3 Palette- R,G,B bytes. Aligned to byte boundary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 01h - READMVENOW]
Offset Size\\Bytes Description
--------- ---------------- ----------------------------------------
00h 2 (word) Chunk Length, Probably always 0
02h 1 (byte) ChunkType - 01h
03h 1 (byte) Unknown
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 03h - CREATESOUNDBUFFER]
Offset Size\\Bytes Description
--------- ---------------- ----------------------------------------
00h 2 (word) Chunk Length, Probably always 0
02h 1 (byte) ChunkType - 03h
03h 1 (byte) TypeBufferSize (0-2 Bytes used for Sound Buffer Size, 1-4 Bytes used)
04h 2 (word) Unknown
06h 2 (word) Bytes Per Sample, 1 or 2. This determines Number of Channels as
if you have 1 Byte per Sample then you have 2 channels. 2 Bytes per channel
and you have 1 channel.
08h 2 (word) Samples Per Second
0Ah 2 or 4 (word or dword *Depends on TypeBufferSize) Sound Buffer Size
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 06h - CREATEFRAME]
Offset Size\\Bytes Description
--------- ---------------- ----------------------------------------
00h 2 (word) Chunk Length, Probably always 0
02h 1 (byte) ChunkType - 03h
03h 1 (byte) TypeBufferSize (0-2 Bytes used for Sound Buffer Size, 1-4 Bytes used)
08h 2 (word) Unknown
0Ah 2 (word) Unknown
0Ch 2 (word) Unknown
0Eh 2 (word) Unknown
10h 1 (byte) 0-Swap Surfaces, 1-Don't swap surfaces
12h 4? (dword) data?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Chunk Type 08h/09h - READSOUNDDATA]
Offset Size\\Bytes Description
--------- ---------------- ----------------------------------------
00h 2 (word) Chunk Length, Probably always 0
02h 1 (byte) ChunkType - 03h
03h 1 (byte) TypeBufferSize (0-2 Bytes used for Sound Buffer Size, 1-4 Bytes used)
2Ch-2Dh bytes per row??? scanlines??? crashes when too large, looks bad when 2 small
2Eh-2Fh Possibly video related, crashes hard on most different values
30h-33h 01 00 00 00 -Same in 3 different movies
339h 0 - Padding to align next data to 2 byte boundary. Not present if alrighty at
2 byte boundary.
33Ah-33Dh 04 00 15 00 -Same in 3 different movies
33Eh-33Fh ??? When changed does nothing
340h-341h ??? When changed, does nothing
342h-343h 00 00 -Same in 3 different movies
344h-345h 01 00 -Same in 3 different movies
346h-349h Offset pointer possibly??? way smaller in sound movie
34Ah-34Bh Different. Causes failure if changed 0a-sound file, 06-non-sound file
34Ch Major crashola if changed
34Dh No idea??? 01-sound file, 00-non sound file. No its not nound on/off
doesn't matter if changed
34Eh ??? I think the sound/non sound files have parted company at this point
doesn't matter if changed
34Fh ??? In sound file, doesn't matter if changed
350h ??? sound file, doesn't matter if changed
351h ??? sound file, doesn't matter if changed
352h-353h samples per second
354h-355h Synchronization possibly? when lowered, frames stop and start
356h-357h 00 00 ??? when changed, crashola
358h-359h 00 00 ??? when changed, nothing
35Ah-35Bh 01 00 ??? don't friggin know
35Ch-35Dh offset to data 11 bytes after wav data from 35C
35Eh-35Fh 01 00 ??? see above comment
360h-361h offset to 4 bytes before end of wave data. Weird
362h-363h 08 00
364h-365h 00 00 -Frame number
366h-367h 01 00 ??? see previous comments
368h-369h length of Wave data
36Ah-xxh Wave data - Size of length of Wave data