VAB files (not from PS1) [Twisted Metal 1 and Air Assault (Warhawk)]

Codecs, formats, encoding/decoding of game audio, video and music
ultradumb
Posts: 7
Joined: Thu Apr 23, 2020 5:57 pm

VAB files (not from PS1) [Twisted Metal 1 and Air Assault (Warhawk)]

Post by ultradumb »

You can listen to the sound effects in the VAB files from the PC games Twisted Metal 1 and Air Assault (Warhawk) with the following .txth files with Foobar2000 and vgmstream.

Warhawk has 45 sound effects, but most are played at different sample rates when walking the header. That is why the txth file shows 100 tracks.

Code: Select all

# RMCOREW.VAB from Air Assault (Warhawk) PC

id_value = 0x64000000
id_offset = @0x00:BE
codec = PCM16LE

subsong_count = 100
subsong_offset = 0x48
base_offset = 0x04

channels = @0x00$1
sample_rate = @0x04
start_offset = @0x44
data_size = @0x2C
num_samples = data_size

subsong_offset = 0


Twisted Metal 1 has 35 sound effects, but most are played at different sample rates when walking the header. That is why the txth file shows 138 tracks.

Code: Select all

# UACOREW.VAB from Twisted Metal 1 PC

id_value = 0x8A000000
id_offset = @0x00:BE
codec = PCM16LE

subsong_count = 138
subsong_offset = 0x48
base_offset = 0x04

channels = @0x00$1
sample_rate = @0x04
start_offset = @0x44
data_size = @0x2C
num_samples = data_size

subsong_offset = 0