Jump to content

Monsters vs Aliens streams.dat/.raw files.


Go to solution Solved by BloodRaynare,

Recommended Posts

I was looking to get sound effects and voices out of the Monsters vs. Aliens game and I'm pretty sure they're found in the Streams.dat file.

I used a QuickBMS script on multiple versions and I couldn't figure out where to go from there

The one named "Monsters Aliens Streams"

It didn't work on the PS3 or Wii version

The PC version would just extract 3 files, one of them being 800MB

The best results I got were the Xbox 360 version where it actually extracted a whole lot of .raw files but I couldn't find any program I could open them with

 

I'll leave samples of both the files from PC and a few from the Xbox 360 version if anyone can give pointers

Streams.dat (PC)

Extracted .raw files (PC)

Streams 7_31_2024 12_44_48 AM.png

Xbox 360 raw file.zip

Link to comment
Share on other sites

  • Solution

For the extracted 360 files, use this TXTH file (put it on the same directory as those raw files then use a media player that supports vgmstream plugin such as foobar2000)

codec = XMA1
channels = 1
sample_rate = 48000
num_samples = data_size

Name the TXTH file ".raw.txth" then after you installed foobar2000 and the vgmstream plugin, drag the raw files to play them.

  • Like 1
Link to comment
Share on other sites

it seems there is some error in

10 hours ago, BillyBnMOfficial said:

I used a QuickBMS script on multiple versions and I couldn't figure out where to go from there

The one named "Monsters Aliens Streams"

The PC version would just extract 3 files, one of them being 800MB

working script for PC streams.dat

# Monsters vs Aliens PC streams.dat
# script for QuickBMS http://quickbms.aluigi.org

endian big
idstring "\xba\xdf\x1e\xa5"
get DUMMY long	# 3
get DUMMY long  # 1794
get NUM long	# 7

for i = 0 < NUM
    get SOME_ID[i] long
next i

get DUMMY long  # 0xc0c0c0c0
get DUMMY long  # 0xc0c0c0c0

#file table 0x34 * files
for
	get DUMMY1 long
	get FLAGS long
	get ZERO1 long
	get DUMMY2 long
	get ID long
	get OFFSET long
	get DUMMY3 long
	get FREQUENCY long
	get Unk1 long # FREQUENCY * Channels
	get CHANNELS short
	get BITS short
	get ZERO2 long
	get SIZE long
	get Unk2 long # not zero sometimes
	if ZERO1 == 0xaaaaaaaa
		break
	endif

	string NAME p "%d_%d_%d.raw" ID FREQUENCY CHANNELS
	log NAME OFFSET SIZE
next 

 

Edited by Sarinan
Link to comment
Share on other sites

  • 2 weeks later...
On 7/31/2024 at 10:52 AM, Sarinan said:

it seems there is some error in

working script for PC streams.dat

# Monsters vs Aliens PC streams.dat
# script for QuickBMS http://quickbms.aluigi.org

endian big
idstring "\xba\xdf\x1e\xa5"
get DUMMY long	# 3
get DUMMY long  # 1794
get NUM long	# 7

for i = 0 < NUM
    get SOME_ID[i] long
next i

get DUMMY long  # 0xc0c0c0c0
get DUMMY long  # 0xc0c0c0c0

#file table 0x34 * files
for
	get DUMMY1 long
	get FLAGS long
	get ZERO1 long
	get DUMMY2 long
	get ID long
	get OFFSET long
	get DUMMY3 long
	get FREQUENCY long
	get Unk1 long # FREQUENCY * Channels
	get CHANNELS short
	get BITS short
	get ZERO2 long
	get SIZE long
	get Unk2 long # not zero sometimes
	if ZERO1 == 0xaaaaaaaa
		break
	endif

	string NAME p "%d_%d_%d.raw" ID FREQUENCY CHANNELS
	log NAME OFFSET SIZE
next 

 

Is there any way to convert the sounds from there? I tried the txth method on the PC version's raw files and it didn't work. There's a few samples in the zip

raw.zip

Link to comment
Share on other sites

I'm using this site for raw files playback, but plays MvA audio files (from PC version) terribly and sounds like someone got messed with equaliser, the only thing is to figure out how play these files normally.

P.S. Switch audio converter can't convert these raw files normally too, same result as online raw audio player.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...