Hitman 6 (*.pc_rpkg)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MemeGang
Posts: 11
Joined: Sat Jul 25, 2015 9:51 am

Re: Hitman 6 (*.pc_rpkg)

Post by MemeGang »

Thanks Ekey!
SPooKMasTeR
Posts: 5
Joined: Tue Aug 11, 2015 6:16 pm

Re: Hitman 6 (*.pc_rpkg)

Post by SPooKMasTeR »

So how about the files in it? Can I extract the stuff in it with the same script?
sigroon365
Posts: 330
Joined: Fri Nov 21, 2014 4:03 am

Re: Hitman 6 (*.pc_rpkg)

Post by sigroon365 »

Ekey wrote:I tested script and see some files can't be extracted with original name because they have a long path more than 255 characters and QuickBMS it offers to rename them.

Also some names can't be detected and set name like 0000000000000434.dat which should not be. Example :

Image


Hi, Ekey. Is your rpkg tool works on Hitman 2016?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Hitman 6 (*.pc_rpkg)

Post by Ekey »

Nope
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman 6 (*.pc_rpkg)

Post by aluigi »

As far as I remember it was enough to modify one line of the script (updated recently viewtopic.php?f=9&t=2223&p=18530#p18530) to add support for the filenames.
The 255 chars limit reported in the old posts has been fixed some quickbms versions ago.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (*.pc_rpkg)

Post by Tosyk »

hello, I'm trying to unpack it with 0.2.5 version of the script and got some filename issues. how I can automatically solve them for all extracted files. without making names like this:
111.jpg
edit: also what is the list of the unnamed files in a folder near the assembly directoty? in comparing to the assembly derectory itself which is ~200mb those files total size is about 2gb and it's nearly the same size as the archive I tried to unpack - chunk0patch1.rpkg
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman 6 (*.pc_rpkg)

Post by aluigi »

Wasn't the script working correctly last time?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (*.pc_rpkg)

Post by Tosyk »

I already being told that this script and its filelist was made for alpha version and doesn't work for full game. Unfortunatelly to proceed with model converting we need a structure ao at least a links between files.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman 6 (*.pc_rpkg)

Post by aluigi »

That complicates everything.
Welll, so what we need is at least one of these archives for analyzing the new struct.
If it's very big (> 500Mb) better to upload the filecutted samples.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (*.pc_rpkg)

Post by Tosyk »

aluigi wrote:That complicates everything.
Welll, so what we need is at least one of these archives for analyzing the new struct.
If it's very big (> 500Mb) better to upload the filecutted samples.
do you think it's possible to get structure out of the final game archive?
I'll upload sample in a few hours when I get home.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (*.pc_rpkg)

Post by Tosyk »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman 6 (*.pc_rpkg)

Post by aluigi »

It's necessary at least a 10 Mb sample due to the big number of files.
You can set it directly in the filecutter.bms script replacing the 2 of MEGABYTES with 10.

Eh probably id-daemon will be faster than me with his release :D
viewtopic.php?f=5&t=8112
sigroon365
Posts: 330
Joined: Fri Nov 21, 2014 4:03 am

Re: Hitman 6 (*.pc_rpkg)

Post by sigroon365 »

Is there any way to re-compress&encrypt a single file?
Not reimpot, but re-compress&encryption.
I've manually change one of file's offset, zsize, size. The game reads original file but it has problem when it reads reimported file.