Modern Warfare 2 Remastered file extraction

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
danielnrg
Posts: 3
Joined: Wed Jun 03, 2020 2:42 am

Modern Warfare 2 Remastered file extraction

Post by danielnrg »

I am completely new to any of this stuff, but I've downloaded QuickBMS and purchased MW2 Remastered via battle.net. I now realize that I will need a QuickBMS script or other method of extracting the files (music) from the game. The files that were installed are just listed as 002, 003, 004, all the way to 061. Is there a QuickBMS script that will work with files of that type? The game was only $20 but I'm desperate for the music files, which should in theory be better than the MP3 files I have for the original game. If anyone can help out a noobie it would be greatly appreciated. I can provide further information as needed.
vlad[54rus]
Posts: 1
Joined: Tue Jun 09, 2020 9:57 am

Re: Modern Warfare 2 Remastered file extraction

Post by vlad[54rus] »

Those files are Blizzard CASC archives, they can be opened using Ladik's Casc View. Inside are .bik's, .pak's and .ff files. I think it's possible to extract them using tools for previous CoD games.
danielnrg
Posts: 3
Joined: Wed Jun 03, 2020 2:42 am

Re: Modern Warfare 2 Remastered file extraction

Post by danielnrg »

So I've used CASC viewer to get the soundfile files, there are 78 of them and in PAK format. But I've used all 3 of the COD scripts on the script site for these files, and it keeps saying:

signature of 4 bytes at offset 0x0000000000000000 doesn't match the one expected by the script:
this one: "fLaC"
66 4c 61 43 fLaC

expected: "PAK0"
50 41 4b 30 PAK0

So I'm confused. QuickBMS thinks these PAK files are flac, but I can't open them with 7Zip, WinRar, or anything else I have. But I guess having the PAK files means I'm one step closer.

EDIT: There aren't 78 files, there's only 38 but they're numbered up to 78. Also, 3 of them are soundfile1, the first is a regular PAK like the rest and the next two are soundfile1.pak_1 and soundfile1.pak_2. The first two are 1.7gb and the third is 740mb, the largest of all the files. Just so you have as much info as possible, it's really not my skillset to know what this stuff means.
danielnrg
Posts: 3
Joined: Wed Jun 03, 2020 2:42 am

Re: Modern Warfare 2 Remastered file extraction

Post by danielnrg »

Ok, so I have actually managed to do it, but it's gonna be a lot more effort than I thought. I used VGMToolBox, and used some presets that someone on xentax posted for Advanced Warfare. I am now in the process of unpacking all the PAK files, but it appears music isn't conveniently located in one package, and each of the PAKs contain 200-3000 individual audio files, with music files sprinkled throughout. So yeah it's gonna take me a while, but I think I've found my solution. Thank you for commenting, without you I wouldn't have used CASC view and wouldn't be in the delightfully tedious predicament I'm in now :)