Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Destroy All Humans! (PS2) PKG Files Decryption Help

Featured Replies

  • Author
  • Localization

coflamsta, posted Fri May 18, 2018 11:30 am (35009)


Hi, I was looking into the Destroy All Humans PS2 Audio files when I came across some PKG files that seem to house ambience and music but I think they are encrypted. Can anyone help? Anything to help decrypt them? Much appreciated! Links provided below to look at.

DISCARD.PKG
https://www119.zippyshare.com/v/0GwihnME/file.html
E.DIR
https://www119.zippyshare.com/v/UZGQbWL8/file.html
RESIDENT.PKG
https://www119.zippyshare.com/v/URR55hKX/file.html
SOUNDCCH.PKG
https://www119.zippyshare.com/v/KGBMOxPw/file.html
SOUNDRES.PKG
https://www119.zippyshare.com/v/g3sTdima/file.html
SOUNDSTR.PKG
https://www119.zippyshare.com/v/mLd2vssR/file.html
  • Author
  • Localization

coflamsta, posted Sat May 19, 2018 11:01 pm (35056)


How would I go about getting the audio out of the extracted data to see what format it uses?
  • Author
  • Localization

aluigi, posted Sun May 20, 2018 6:41 am (35065)


There are no filenames stored in E.DIR but soundstr and soundres contain for sure raw PS adpcm data.
With raw adpcm the only problem is the "interleave" value that controls the stereo files, in fact if you use mfaudio with 000004df.dat the value 8000 in mfaudio is correct but it's different for the others (apparently many files use 8000).
  • Author
  • Localization

Teancum, posted Sun May 20, 2018 12:06 pm (35077)


I've always wanted to be able to mod this game. I'll have to see if this works on the other entries.
  • Author
  • Localization

coflamsta, posted Sun May 20, 2018 12:36 pm (35078)


aluigi wrote:
There are no filenames stored in E.DIR but soundstr and soundres contain for sure raw PS adpcm data.
With raw adpcm the only problem is the "interleave" value that controls the stereo files, in fact if you use mfaudio with 000004df.dat the value 8000 in mfaudio is correct but it's different for the others (apparently many files use 8000).


Here's what I got out of your script

0000000000000001.lua
https://www72.zippyshare.com/v/a3UbbdCf/file.html
0000000000000003.lua
https://www72.zippyshare.com/v/3mkh6kv7/file.html
0000000000000000.dat
https://www72.zippyshare.com/v/6Gx4aIiL/file.html
0000000000000002.dat
https://www72.zippyshare.com/v/155Zj9Mm/file.html

MfAudio converts them but when I play the sound, it plays with clicking sounds, errors or no sound at all.
  • Author
  • Localization

toystory2wasok, posted Sun May 20, 2018 3:58 pm (35089)


Is there a way to fix this or is the script just meant for extracting soundstr,soundres, soundcch files?
  • Author
  • Localization

aluigi, posted Sun May 20, 2018 5:03 pm (35100)


It doesn't give me that problem here.
  • Author
  • Localization

coflamsta, posted Sun May 20, 2018 5:13 pm (35105)


aluigi wrote:
There are no filenames stored in E.DIR but soundstr and soundres contain for sure raw PS adpcm data.
With raw adpcm the only problem is the "interleave" value that controls the stereo files, in fact if you use mfaudio with 000004df.dat the value 8000 in mfaudio is correct but it's different for the others (apparently many files use 8000).


What is the "000004df.dat" you speak of? I found no such file in the data results.
  • Author
  • Localization

aluigi, posted Sun May 20, 2018 5:25 pm (35109)


In your "soundstr" folder it has a different name because here I had to limit the script only to the pkg I downloaded.
Anyway it's one of the biggest files in soundstr, try with interleave 8000 and most of them should play correctly.
  • Author
  • Localization

coflamsta, posted Mon May 21, 2018 2:50 am (35124)


aluigi wrote:
In your "soundstr" folder it has a different name because here I had to limit the script only to the pkg I downloaded.
Anyway it's one of the biggest files in soundstr, try with interleave 8000 and most of them should play correctly.


I don't know what interleave is as I have no experience with that unfortunately. There isn't a soundstr folder when the data is dumped using your script unless you mean the raw PKG soundstr file. Sorry if I'm being a pain/noob btw. I'm new to all this.

Image

Image

Image
  • Author
  • Localization

aluigi, posted Mon May 21, 2018 10:50 am (35133)


Script 0.1.2
That's the max I can do because the format has references to unavailable packages.
The script automatically generates ss2 files for soundstr, basically if you are interested in the musics you will get everything you need.
play ss2 files with winamp and the appropriate plugin (vgmstream I guess) and play the files with bigger size (the musics)
  • Author
  • Localization

coflamsta, posted Sat May 26, 2018 1:41 pm (35274)


aluigi wrote:
Script 0.1.2
That's the max I can do because the format has references to unavailable packages.
The script automatically generates ss2 files for soundstr, basically if you are interested in the musics you will get everything you need.
play ss2 files with winamp and the appropriate plugin (vgmstream I guess) and play the files with bigger size (the musics)


Only DAT and LUA files are dumped, not SS2. Discard and Resident files are the only two folders.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.