[Xbox] Destroy all humans! 2 (PKG)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:46 pm, edited 1 time in total.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:46 pm, edited 1 time in total.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by aluigi »

The extension is automatically guessed, you get .dat if no pattern is recognized, while vap and lua are obtained in case of false positives.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by Warthog1336 »

The codec used by the VAP audio files is Xbox 4-bit IMA ADPCM (44100Hz) and the data starts at 0x9800
Last edited by Warthog1336 on Thu Feb 28, 2019 4:55 pm, edited 2 times in total.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by Warthog1336 »

- Download Foobar2000 and install the vgmstream plugin.
- Open Notepad, write this :

Code: Select all

codec = XBOX
interleave = 0
sample_rate = 44100
channels = 2
start_offset = 0x9800
num_samples = data_size


Then, save the file as ".txth" with only the extension.
- Place the .txth file inside the "e" folder where the audio files are.
- Rename all the audio files' extension to ".vgmstream"
- Drag and drop the *.vgmstream audio files into Foobar2000.
- Now you can play them correctly and you have the possibility to convert them.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by Warthog1336 »

Remove the start_offset line
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:47 pm, edited 1 time in total.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by Warthog1336 »

For the music, use 22050 for the sample_rate line instead of 44100 and remove start_offset
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:48 pm, edited 1 time in total.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by Warthog1336 »

Yes, sorry, I think the jingles must be played at 22050Hz though
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.
Last edited by zeaofsuos on Wed Apr 14, 2021 5:48 pm, edited 1 time in total.
Warthog1336
Posts: 140
Joined: Mon Feb 05, 2018 5:45 pm

Re: [Xbox] Destroy all humans! 2 (PKG)

Post by Warthog1336 »

It's a sound effect, not a jingle
zeaofsuos
Posts: 104
Joined: Sun Jan 13, 2019 11:45 pm

ADMIN, DELETE.

Post by zeaofsuos »

ADMIN, DELETE.