The Darkness (X360) *.xwc archive

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Game Ripper
Posts: 123
Joined: Sat Sep 02, 2017 12:56 pm

The Darkness (X360) *.xwc archive

Post by Game Ripper »

Hi guys, can you help me with unpacking XWC variant from this game? That Syndicate (2012) script by RENIKRILL doesn't work on any *.xwc archives from The Darkness so that I'll welcome any assistance with these bigfiles.

I uploaded 2 smaller XWCs (untouched files from disc) & 2 pairs of cuts from much bigger ones, the sample pack can be found here. Filenames offset is 0xB00100 in Streamed_Music.xwc_end & 0xAFF9D6 in Streamed_TV.xwc_end; 0x737000 in ExtraContent.xwc & 0x504800 in Streamed_IngameVideo.xwc.
I can also post such offsets for complete archives (Streamed_Music.xwc and Streamed_TV.xwc) if that helps you figure out this Starbreeze format. Thanks in advance!

Later!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Darkness (X360) *.xwc archive

Post by aluigi »

Game Ripper
Posts: 123
Joined: Sat Sep 02, 2017 12:56 pm

Re: The Darkness (X360) *.xwc archive

Post by Game Ripper »

Thanks for an update but actually my main predicament is still the same: I have to somehow split that bigfile (now WAVEDATA one) into individual tracks & no typical XMA headers can be seen there.
Do you think that the bigger archive can be unpacked using names from STRINGS file & maybe offsets or other data from remaining ones (like WAVEDATA2 or SFXDESC2)? I hope it won't prove impossible...
Best regards!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Darkness (X360) *.xwc archive

Post by aluigi »

The "MOS DATAFILE2.0" format already includes its filenames.
What you see, if it's not related to these filenames of the format, is something else.
There is nothing else to do on that format, I can't help for custom works.
Game Ripper
Posts: 123
Joined: Sat Sep 02, 2017 12:56 pm

Re: The Darkness (X360) *.xwc archive

Post by Game Ripper »

This is the final solution for anyone who finds this thread in future and also wants to extract playable sounds from XWCs with their proper filenames:
1st step) above script (darkness_xcd.bms) should be used on initial *.xwc archives;
2nd step) this BMS by Bnnm from HCS64 forum should be used on either WAVEDATA bigfile or STRINGS file.
Big thanks to both Luigi & Bnnm for their work!

Oh and the last thing: resulting smaller XWCs contain 1 stream each and can be played back with VGMstream plugin for Foobar2000/Winamp/XMPlay.

Have a nice day everyone!