Defense Grid 2 - *.hpz

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
skyline1
Posts: 2
Joined: Mon Jun 08, 2015 11:31 pm

Re: Defense Grid 2 - *.hpz

Post by skyline1 »

Hi, sorry to post into an old thread, but I'm trying to extract data from the *.hpz files for Defense Grid 2 as well, and am running into an error while trying to use the script provided by aliugi in the second post. When I try to run quickbms, I get the following error:

QuickBMS generic files extractor and reimporter 0.6.4
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(May 29 2015 - 16:04:52)

http://quickbms.aluigi.org
http://twitter.com/luigi_auriemma
http://zenhax.com

- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on

- select the BMS script or plugin to use
- select the input archives/files to extract, type * or "" for whole folder and
subfolders
- select the output folder where extracting the files
- start the scanning of the input folder: C:\Games\Defense Grid 2\bms\input
- open input file C:\Games\Defense Grid 2\bms\input\.\data0000.hpz
- open script C:\Games\Defense Grid 2\bms\defense_grid_2.bms
- set output folder C:\Games\Defense Grid 2\bms\output

offset filesize filename
--------------------------------------
- enter in folder C:\Games\Defense Grid 2\bms\input
coverage file 0 0% 0 465675
- open input file C:\Games\Defense Grid 2\bms\input\data0000.hpz
- enter in folder C:\Games\Defense Grid 2\bms\input
- open input file C:\Games\Defense Grid 2\bms\input\data0001.hpz

Error: incomplete input file 0: C:\Games\Defense Grid 2\bms\input\data0000.hpz
Can't read 1425597719 bytes from offset 00071b0b.
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 0 99% 465656 465675

Last script line before the error or that produced the error:
22 getdstring NAME NAMESZ

Press RETURN to quit


Any ideas on what I might be doing wrong?

Cheers,
skyline1
Posts: 2
Joined: Mon Jun 08, 2015 11:31 pm

Re: Defense Grid 2 - *.hpz

Post by skyline1 »

Nevermind, just figured out that the script I was using was for a more recent patch of the game!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Defense Grid 2 - *.hpz

Post by aluigi »

On my website there are just these script:
http://aluigi.org/papers/bms/defense_grid.bms
http://aluigi.org/papers/bms/others/defense_grid_2.bms

I thought that they worked with any version, if not then I can update them.