Mercenaries II - World in Flames (.PWS Format) Please help!

Codecs, formats, encoding/decoding of game audio, video and music
Carro2000
Posts: 13
Joined: Mon Oct 10, 2016 10:23 pm

Mercenaries II - World in Flames (.PWS Format) Please help!

Post by Carro2000 »

(Sorry for my bad english)
Hi all guys, please help me to extract the archive .pws that contains the soundtracks of the game.
I have find some script for this game, but not the script for open the archive music sound.

This is the link of the archive in question: https://mega.nz/#!KMAhwCwa!3KCohkImmw-- ... UNlJGdIqhM
Last edited by Carro2000 on Mon Sep 11, 2017 6:32 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by aluigi »

This is not my field but it may be one single audio data compressed with a codec like xma or similar, offset 0:

Code: Select all

1b 01 00 00 66 09 00 00 77 77 67 34 ff ff ff 31   ....f...wwg4...1
91 9b 22 98 01 bb 8a 33 99 64 d8 2b 91 54 c8 4a   .."....3.d.+.T.J
26 b9 20 98 47 a8 8a 80 40 91 bb 30 80 10 08 30   &. .G...@..0...0
a2 9b 74 12 c1 ae 28 34 80 9b 61 14 b0 bb 8c 11   ..t...(4..a.....
19 84 dd 08 53 85 ce 09 cb 10 34 00 56 05 35 00   ....S.....4.V.5.
92 88 90 29 11 10 b9 19 f0 0a 01 80 b1 9d 32 b1   ...)..........2.
8b 13 31 fc 0b 02 a0 ff 8f 21 88 88 0c 22 11 91   ..1......!..."..
a9 21 a8 48 89 91 ce 39 12 28 c1 9d 35 80 a9 9a   .!.H...9.(..5...
00 32 25 a8 22 18 83 af aa 8c 65 00 20 11 01 0a   .2%.".....e. ...
9b 0c 32 00 60 02 28 00 99 98 18 90 10 01 53 f8   ..2.`.(.......S.
8a 50 03 09 8d 32 33 90 ba cc 2a 04 a9 bb 49 84   .P...23...*...I.
99 80 cd 29 10 21 c0 4a 12 02 ff 38 16 88 dd 38   ...).!.J...8...8
82 89 09 21 82 9a 11 31 82 9c 46 a0 14 ac 61 93   ...!...1..F...a.
ac 88 29 06 ac 98 9d 02 96 08 32 00 1d 09 2e 00   ..).......2.....
a9 89 88 80 c2 ab 88 80 20 c0 68 b2 99 08 10 f8   ........ .h.....
9f 21 10 12 8b 23 11 fb 80 89 20 82 2a 33 02 fa   .!...#.... .*3..
30 fc 2c 15 8a ca 19 24 88 19 81 cc e9 2a 24 98   0.,....$.....*$.
da ff 48 81 fb ff 30 92 8a 91 8a 01 0a 91 9b 02   ..H...0.........
5e f2 3a 00 fc ef 38 00 99 20 90 9b 89 28 a1 bc   ^.:...8.. ...(..
f9 cf 33 91 fa 8f 43 98 aa 00 90 9d 9a 11 98 9b   ..3...C.........
01 ea 0a 22 01 fb 0a 12 c8 9b 72 82 b9 9b 56 83   ..."......r...V.
ab 01 89 23 ac 01 09 12 88 52 a2 0e 80 31 c1 2b   ...#.....R...1.+
45 80 09 01 67 90 09 02 7a e0 3c 00 20 e7 3c 00   E...g...z.<. .<.
80 98 10 63 80 88 38 34 43 c0 8c 31 34 f1 9b 41   ...c..84C..14..A
23 b9 29 23 13 a9 18 23 88 31 24 ba 9a 63 23 bb   #.)#...#.1$..c#.
31 43 83 50 29 32 82 38 35 c0 1a 22 36 c8 29 13   1C.P)2.85.."6.).
11 71 36 f9 ba 72 37 d9 8a 11 21 06 8a 22 32 07   .q6..r7...!.."2.
4e 35 40 00 e4 44 40 00 c9 18 82 99 99 38 82 18   N5@..D@......8..
44 42 15 a8 44 53 04 c9 9c 30 16 89 bb 50 13 9a   DB..DS...0...P..
08 98 09 53 99 ca 0a 44 01 ba 48 e8 81 ac 21 f9   ...S...D..H...!.
8b 62 82 b9 8b 43 03 ba 09 91 aa 08 1a 83 8b 31   .b...C.........1
08 92 cc 0b 12 15 fb 0b 75 3f 38 00 18 41 3d 00   ........u?8..A=.
There is no TOC or information at the end, and that sequence of bytes at the beginning exists only there.

I'm sure that someone else with the required skills and these information will be able to solve the mistery.
mauzerX
Posts: 7
Joined: Tue Mar 14, 2017 5:06 am

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by mauzerX »

After extraction U have to add GENH with VGMToolbox
Input File Format: XBOX 4-bit IMA ADPCM
Frequency: 48000
Channels: 2, 1
Interleave: 0x10
No Loops:+


After that U can play or convert with in_vgmstream
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by aluigi »

Oh, I didn't try with xbadpdec, I really forgot to check with it :)
LinkeV
Posts: 1
Joined: Fri Mar 31, 2017 5:51 am

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by LinkeV »

I'm sorry if this is a stupid question but how would you go about extracting the voices too? When I try that process it's just garbled noise.
Carro2000
Posts: 13
Joined: Mon Oct 10, 2016 10:23 pm

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by Carro2000 »

Thank you, I ran to the letter of your display, but once extracted the tracks and converted, when I start I can feel them, but with a fairly high level of noise in the background, even higher if you increase the volume, is a normal thing ? Because it seems to me quite strange. Thank you.
mauzerX
Posts: 7
Joined: Tue Mar 14, 2017 5:06 am

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by mauzerX »

Maybe U did something wrong?
Image Image
Carro2000
Posts: 13
Joined: Mon Oct 10, 2016 10:23 pm

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by Carro2000 »

Really sorry for my late reply. Yes, I have made all your passage, the file sample that you have posted is the proof of what I've said.
How is it possible that you can not notice it? If you try to raise the volume slightly, you can easily notice the high presence of grain noise.
I'll wait for an answer. Thanks guys.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by aluigi »

That may be caused by the usage of an IMA codec which is very similar to xbox adpcm but it's not the same, that's perfectly possible with IMA ADPCM from which it derivates.
So select "4-bit IMA ADPCM" and retry, and try the other codecs too if the result is not perfect.
Carro2000
Posts: 13
Joined: Mon Oct 10, 2016 10:23 pm

Re: Mercenaries II - World in Flames (.PWS File) Please help!!! ;(

Post by Carro2000 »

Unfortunately, by executing your indications the situation is worsened, now there is nothing more to hear, just a heavy disturb.