Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by bresense »

Hitman Contracts on the PS3 uses PSARC instead of the original WAV+WHD Headers found on the PC, XBox etc versions. Is it possible to write a script for this to get the audio out? The Xbox 360 version uses BIN Container. I will upload some examples, see if anyone can help. I will included both the PS3 & Xbox 360 version incase one is either to work with then the other. Would be great if someone could help thanks.

C00-1_LOAD.psarc
https://www11.zippyshare.com/v/NJZ3ut4m/file.html

C00-1_MAIN.psarc
https://www11.zippyshare.com/v/pazhIRCo/file.html

OUTRO.psarc
https://www11.zippyshare.com/v/139jQYzv/file.html

C00-1_LOAD.bin
https://www11.zippyshare.com/v/mIzd51Iv/file.html

C00-1_MAIN.bin
https://www11.zippyshare.com/v/v4KKKN1j/file.html

HMTRILAUNCHER.WAV
https://www11.zippyshare.com/v/pJ6XnJst/file.html

HMTRILAUNCHER.WHD
https://www11.zippyshare.com/v/0ttP5QZv/file.html

MUSIC.WAV
https://www11.zippyshare.com/v/nOgQTkKS/file.html
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by aluigi »

For the psarc files you can try this script:
http://aluigi.org/bms/brink.bms

The BIN files seem complex.

For WHD/WAV:
http://aluigi.org/bms/hitman_whd_wav.bms
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by bresense »

aluigi wrote:For the psarc files you can try this script:
http://aluigi.org/bms/brink.bms

The BIN files seem complex.

For WHD/WAV:
http://aluigi.org/bms/hitman_whd_wav.bms


The brink.bms script worked like a charm on the psarc files, thanks. the WHD/WAV script wouldn't work on the output wav/whd files unfortunately.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by aluigi »

what you mean?
the script worked correctly with the sample files you provided
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by bresense »

aluigi wrote:what you mean?
the script worked correctly with the sample files you provided


Well, the brink.bms script gets the files inside the psarc containers correctly. Once the whd/wav files are out they can't just be played natively, well these extracted wav audio files can't be anyways for some reason. I then proceeded to use the hitman_whd_wav.bms script on them and the output wasn't much really. I was maybe thinking there was audio inside like the PC version but it was just a few blank white files in the end. Maybe I missed something here other then what I've said. The HD versions of contracts and blood money have extra files which if you compare both console versions to the PC versions, you'll see that. that's why I'm interested in obtaining the audio.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by aluigi »

As far as I remember I was able to play the extracted wav audio without any problem using vgmstream, in fact the script automatically builds the SS2 header for making the raw PS adpcm data playable.
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by bresense »

aluigi wrote:As far as I remember I was able to play the extracted wav audio without any problem using vgmstream, in fact the script automatically builds the SS2 header for making the raw PS adpcm data playable.


After using the brink.bms script to get the files contained inside the psarc files or file, i then use your hitman_whd_wav.bms script on the wav/whd files and i get the following error message.

bms error output fdnum_open().png
[img]//www95.zippyshare.com/thumb/kWEazkfH/file.html[/img]
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by aluigi »

Provide a list of all the files C09-1_MAIN_NEW_LOC_ENGLISH.* you have there.

In short you provided a WHD and the related WAV file therefore the script expects a WHD and WAV file too.
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by bresense »

aluigi wrote:Provide a list of all the files C09-1_MAIN_NEW_LOC_ENGLISH.* you have there.

In short you provided a WHD and the related WAV file therefore the script expects a WHD and WAV file too.


Well the files inside the C09-1 Folder are as follows:

Image

Is that what you mean? If you mean the WAV/WHD files in there:

C09-1_MAIN.WAV
C09-1_MAIN_NEW_LOC_ENGLISH.WHD
C09-1_MAIN_NEW_LOC_FRENCH.WHD
C09-1_MAIN_NEW_LOC_SPANISH.WHD
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by aluigi »

Let's start uploading these 4 files.
bresense
Posts: 20
Joined: Sun Sep 16, 2018 12:26 am

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by bresense »

aluigi wrote:Let's start uploading these 4 files.


Alright then:

C09-1_MAIN.WAV
https://www54.zippyshare.com/v/zZpJM626/file.html
C09-1_MAIN_NEW_LOC_ENGLISH.WHD
https://www54.zippyshare.com/v/xMZlmp0M/file.html
C09-1_MAIN_NEW_LOC_FRENCH.WHD
https://www54.zippyshare.com/v/YrzeZuiD/file.html
C09-1_MAIN_NEW_LOC_SPANISH.WHD
https://www54.zippyshare.com/v/Zlbz2SXk/file.html
ZT111
Posts: 2
Joined: Tue Feb 02, 2021 6:10 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by ZT111 »

Contracts uses these bin archives, but 2 still uses zip like both do on pc. 360/ps3 have some different textures, but I don't know about these bin archives.

360 C01-1_LOAD and MAIN.bin
https://mega.nz/file/7owS3Kpa#wOzLpk9xS ... HVZZr4f50w
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman Contracts PSARC Container Need QuickBMSScript Or Something To Get The Audio Files HELP NEEDED (PS3)

Post by aluigi »

They contain data, I don't see any index for extracting the content.