Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AlphaTwentyThree »

I've tried extracting the files from the DLC with this script http://forum.xentax.com/viewtopic.php?f=10&t=3818 but to no avail, there's a lengthy error message saying there's something wrong with the decompression. Here's the file pair: http://www49.zippyshare.com/v/lq5qv5aj/file.html
Thanks for your help!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

I have updated the following script to version 0.2.1:
http://aluigi.org/bms/stacking.bms
AlphaTwentyThree
Posts: 909
Joined: Sat Aug 09, 2014 11:21 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AlphaTwentyThree »

Thanks Luigi! :D
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AnonBaiter »

Here are the samples for the PS3 version of Stacking:
.~h files
.~p files

These files might trigger some errors with your script, which is why I posted it here.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

Mah, here everything works perfectly.
What of these files gives you errors?
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AnonBaiter »

Here:

Code: Select all

  1c037800 16912      characters/largedoll/model/accessories/golddonjuanhat

Error: incomplete input file 1: E:\PKG\NPEB00283\USRDIR\PS3\Packs\RgS_Stuff.~p
       Can't read 1739954 bytes from offset 1c090000.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 1   791%   3721812082 470351872

Last script line before the error or that produced the error:
  101 clog NAME OFFSET ZSIZE SIZE 1
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

Script 0.2.2
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AnonBaiter »

The error still persists. I'll edit this post when I'm done checking the script with the other files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

It seems strange because I rebuilt the cutted file and made the tests there.
The "problem" was simply the weird method used by the archives of this engine that had an additiona 0x400000 flag mask on ZSIZE/SIZE
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AnonBaiter »

Huh.

Anyway, here's the script run in debug mode, tested with the same archive:

Code: Select all

. 0000189c
. 00019230 get     SIZE       0x00004210 3
. 00019233 get     DUMMY      0x00000032 2
. 00019235 get     ZSIZE      0x00c02965 3
. 00019238 get     OFFSET     0x00e01bc0 3
. 0001923b get     VALUEX     0x00000002 1
. 0001923c get     NAMEX      0x0027d5d8 3
. 0001923f get     ZIP        0x00000014 1
. 00068f6b get     NAME       "characters/largedoll/model/accessories/golddonjuanhat" -1
  1c037800 16912      characters/largedoll/model/accessories/golddonjuanhat

Error: incomplete input file 1: E:\PKG\NPEB00283\USRDIR\PS3\Packs\RgS_Stuff.~p
       Can't read 1739954 bytes from offset 1c090000.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 1   791%   3721812082 470351872

Last script line before the error or that produced the error:
  101 clog NAME OFFSET ZSIZE SIZE 1


Do I have to upload the full file or something?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

Are you sure you have updated the script and it reports 0.2.2 in the header?
You can't get that error with 0.2.2
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AnonBaiter »

Ah yes, all that was just my incompetence. However when I checked the .bms link you posted back then it only has this to display:

Code: Select all

# Stacking and Double Fine Productions games (script 0.2.1a)
# script for QuickBMS http://quickbms.aluigi.org
Which is strange since I've been paying attention at the RSS feed, and the title for that link said "Stacking and Double Fine Productions games (script 0.2.2)". So you did update the script but you didn't update the link for that script?

EDIT: Oh so you finally updated the link? All right, I'll edit this post when I'm done testing the new version.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

Usually the problem is the cache of the browser.
I make new posts only after the script has been manually uploaded and checked by me.
CTRL-F5 solves lot of problems while checking updated pages.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by AnonBaiter »

^ Well, it's just my browser issue then.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Brütal Legend: Hammer of Infinite Fate (X360) *.~h, *.~p

Post by aluigi »

Don't worry, almost all the users have the same problem.
Once you know the trick you are fine :D