XWV: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
The sound format used by Valve's Xbox 360 games. Still being researched...
The sound format used by Valve's Xbox 360 games. Still being researched...
No Known values listed = one value is consistent across all tested files.
No Known values listed = one value is consistent across all tested files.
Header


<code>
<code>
Line 26: Line 28:


DWORD magic11 = 1258356736
DWORD magic11 = 1258356736
DWORD magic12 = (known values 6144, 7680, 5632)
</code>
</code>

Revision as of 11:57, 31 August 2010

The sound format used by Valve's Xbox 360 games. Still being researched... No Known values listed = one value is consistent across all tested files.

Header

DWORD id = 1482118688 "XWV " (Xbox Wave (Little Endian) or Valve Wave Xbox (Big Endian))

DWORD magic1 = 4

DWORD magic2 = 48

DWORD magic3 = (known values 156, 172, 192) increases with file size

DWORD magic4 = 2048

DWORD magic5 = (known values 71680, 90,112) very similar to file size! (within a kilo or two)

DWORD magic6 = (kv 268288, 204288, 243200) increases with file size

DWORD magic7 = -1

DWORD magic8 = 0

DWORD magic9 = 16

DWORD magic10 = 17826305

DWORD magic11 = 1258356736

DWORD magic12 = (known values 6144, 7680, 5632)