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.

[Xbox] Destroy all humans! 2 (PKG)

Featured Replies

  • Author
  • Localization

Warthog1336, posted Sat Oct 13, 2018 7:15 pm (39510)


Hi! I need some help extracting the content of soundstr.pkg from the Xbox version of DAH! 2

There's an index file provided in the same RAR archive.

Download

Thanks!
  • Author
  • Localization

Warthog1336, posted Sat Oct 13, 2018 10:36 pm (39523)


Ok. Is it possible to modify the script please in order to extract all the files RAW? (no automatic codec?)
  • Author
  • Localization

aluigi, posted Sun Oct 14, 2018 7:49 am (39535)


Yes, replace "callfunction DUMP_VAG 1" with:
log "" OFFSET SIZE 1
  • Author
  • Localization

Warthog1336, posted Sun Oct 14, 2018 11:09 am (39543)


Sorry but I get an error when trying to extract the PKGs by selecting the dir file.
I took a screenshot of the error.
  • Author
  • Localization

aluigi, posted Sun Oct 14, 2018 2:33 pm (39549)


Just made a work-around but it's not an issue of the script, version 0.1.1a
  • Author
  • Localization

Mygoshi, posted Sun Oct 14, 2018 4:40 pm (39557)


Really weird because I remember years ago testing a script here that worked like a charm on the soundstr.pkg files and extracted all the music (headerless). Now, there's just one music extracted (52Kb).
You're right Warthoh.
  • Author
  • Localization

aluigi, posted Sun Oct 14, 2018 4:48 pm (39560)


Last time it was PS2
  • Author
  • Localization

Mygoshi, posted Sun Oct 14, 2018 4:55 pm (39561)


You're right but I remember using a script that extracted headerless XBox IMA ADPCM audio encoded at 48,000 Hz without missing files.
I don't recall which script though... But for sure there's no thread about the XBox ver. of Destroy All Humans 2 except this one.
  • Author
  • Localization

Mygoshi, posted Sun Oct 14, 2018 5:14 pm (39564)


Ok fixed, in fact @Warthog1336 you need to use the script in this thread: viewtopic.php?t=3226
Output files are mostly interleaved XBox IMA ADPCM encoded at 44,100Hz (I was wrong about the sample rate)
  • Author
  • Localization

zeaofsuos, posted Mon Jan 21, 2019 4:28 am (42588)


ADMIN, DELETE.
  • Author
  • Localization

zeaofsuos, posted Sat Feb 23, 2019 8:59 pm (45226)


ADMIN, DELETE.
  • Author
  • Localization

Warthog1336, posted Sat Feb 23, 2019 9:08 pm (45227)


You did get DAT files that use the Xbox 4-bit IMA ADPCM codec but they're just headerless. You need to rebuild the header.

Could you please upload a sample because I removed everything. Thank you.
  • Author
  • Localization

zeaofsuos, posted Mon Feb 25, 2019 9:21 pm (45272)


ADMIN, DELETE.
  • Author
  • Localization

Warthog1336, posted Tue Feb 26, 2019 6:52 am (45279)


To me it's not an audio file so I can't help you, maybe upload other samples please?
  • Author
  • Localization

zeaofsuos, posted Tue Feb 26, 2019 7:07 am (45280)


ADMIN, DELETE.
  • Author
  • Localization

zeaofsuos, posted Tue Feb 26, 2019 7:28 am (45281)


ADMIN, DELETE.
  • Author
  • Localization

Warthog1336, posted Tue Feb 26, 2019 4:24 pm (45315)


Sure, you need to use this script: http://aluigi.altervista.org/bms/destroy_humans_ps2.bms

Open QuickBMS, select destroy_humans_ps2.bms and then apply it to the e.dir file. In fact, if I remember correctly (I removed all the files as I said), there are several directories like ab (Albion), bc (Bay City), common, mb (Moon Base), tk (Takoshima) and tu (Tunguska), and inside, the name of the index file .dir is different, so you have to rename it into e.dir to that there are no errors. Then, it normally extracts *.DAT files. When you get them, please send me an audio file so I can help you playing the file and converting it correctly.

Thanks.
  • Author
  • Localization

zeaofsuos, posted Thu Feb 28, 2019 2:45 pm (45387)


ADMIN, DELETE.
  • Author
  • Localization

Warthog1336, posted Thu Feb 28, 2019 2:56 pm (45388)


You should not have SS2 output files, it's for PS2. Maybe you didn't replace that line of the script :

Code:
callfunction DUMP_VAG 1


By :

Code:
log "" OFFSET SIZE 1
  • Author
  • Localization

zeaofsuos, posted Thu Feb 28, 2019 3:06 pm (45389)


ADMIN, DELETE.
  • Author
  • Localization

zeaofsuos, posted Thu Feb 28, 2019 3:23 pm (45391)


ADMIN, DELETE.
  • Author
  • Localization

zeaofsuos, posted Thu Feb 28, 2019 3:43 pm (45395)


ADMIN, DELETE.
  • Author
  • Localization

aluigi, posted Thu Feb 28, 2019 3:53 pm (45396)


The extension is automatically guessed, you get .dat if no pattern is recognized, while vap and lua are obtained in case of false positives.
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.