Hitman (2016) *.RPKG files [REQUEST]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by id-daemon »

BOTLANNER wrote:How does a person even find a hash's name?


You can calculate a hash if you have a name. As we have no names in this game, there will be NO hashes. Unless of course, the authors decide to publish the names list like they did in beta.
Player Tommy
Posts: 4
Joined: Sat Apr 30, 2016 9:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by Player Tommy »

AnonBaiter wrote:
SILENT_Pavel wrote:Is it encrypted or they can be converted? Thanks.

They can be converted. Use this tool for RIFF/FIFX vorbis files.

Hello. I extracted wav files -> winamp error, using ww2ogg024 (got ogg file) -> winamp error. How to convert files correctly?
Thanks.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by id-daemon »

Player Tommy wrote:
AnonBaiter wrote:
SILENT_Pavel wrote:Is it encrypted or they can be converted? Thanks.

They can be converted. Use this tool for RIFF/FIFX vorbis files.

Hello. I extracted wav files -> winamp error, using ww2ogg024 (got ogg file) -> winamp error. How to convert files correctly?
Thanks.


you must use another codebook (look for ww2ogg options)
Player Tommy
Posts: 4
Joined: Sat Apr 30, 2016 9:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by Player Tommy »

you must use another codebook (look for ww2ogg options)


Errors with ww2ogg022 and ww2ogg024. When using revorb or ww2ogg.exe app crashes. Help to convert please.

Extracted wav file - https://cloud.mail.ru/public/D3CR/uFDSd4bac
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by id-daemon »

Player Tommy wrote:
you must use another codebook (look for ww2ogg options)


Errors with ww2ogg022 and ww2ogg024. When using revorb or ww2ogg.exe app crashes. Help to convert please.

Extracted wav file - https://cloud.mail.ru/public/D3CR/uFDSd4bac


You must use another codebook!!! (look for ww2ogg options)
Read ww2ogg Help!
Player Tommy
Posts: 4
Joined: Sat Apr 30, 2016 9:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by Player Tommy »

id-daemon wrote:
Player Tommy wrote:
you must use another codebook (look for ww2ogg options)


Errors with ww2ogg022 and ww2ogg024. When using revorb or ww2ogg.exe app crashes. Help to convert please.

Extracted wav file - https://cloud.mail.ru/public/D3CR/uFDSd4bac


You must use another codebook!!! (look for ww2ogg options)
Read ww2ogg Help!


Please explain where to find another codebook.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by id-daemon »

Player Tommy wrote:Please explain where to find another codebook.


2 codebooks included with ALL ww2ogg releases
Player Tommy
Posts: 4
Joined: Sat Apr 30, 2016 9:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by Player Tommy »

del
Last edited by Player Tommy on Sat Apr 30, 2016 6:48 pm, edited 1 time in total.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by AnonBaiter »

These packed_codebook files are actually codebooks. You just converted them with the wrong settings, which isn't surprising since you still have no idea with how to deal with command line-based executables.

Code: Select all

usage: ww2ogg input.wav(this is the input file, as in, the file you're going to use with) [-o output.ogg](this is the output file that you're going to define) [--inline-codebooks] [--full-setup](try this one if you received an error, or are just too lazy to define the rest)
                        [--mod-packets | --no-mod-packets](choose if you wish to convert it with modified packets or not)
                        [--pcb packed_codebooks.bin(be it this one or the aoTuV_603 one)]


This will give you an idea of what you should do with ww2ogg. If you wish to execute this .exe file, right-click on the folder where you extracted and click on here it says "open command here", then type the exact filename of the .exe file and there you go.
LennardF1989
Posts: 5
Joined: Fri May 20, 2016 3:05 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by LennardF1989 »

Ekey wrote:
aluigi wrote:In my opinion there is no compression.
What's there looks like a xor with an 8 bytes key that changes for every file.

I found only encryption for config files (packagedefinition.txt and thumbs.dat). It's XTEA. But I'm not sure that the same algorithm is used for encryption data in archives.

It was pretty obvious already that the first 16 chars is the 128-bit key, but have you managed to get anything properly decrypted out of it using XTEA? I tried both that one and the original TEA, as well as using a bruteforce to try 1 to 128 rounds, but I simply don't get anything useful... Can you elaborate?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by Ekey »

LennardF1989 wrote:It was pretty obvious already that the first 16 chars is the 128-bit key, but have you managed to get anything properly decrypted out of it using XTEA? I tried both that one and the original TEA, as well as using a bruteforce to try 1 to 128 rounds, but I simply don't get anything useful... Can you elaborate?
LennardF1989
Posts: 5
Joined: Fri May 20, 2016 3:05 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by LennardF1989 »

Ekey wrote:
LennardF1989 wrote:It was pretty obvious already that the first 16 chars is the 128-bit key, but have you managed to get anything properly decrypted out of it using XTEA? I tried both that one and the original TEA, as well as using a bruteforce to try 1 to 128 rounds, but I simply don't get anything useful... Can you elaborate?
Thanks for the source! It does seem however they changed up some things. I updated the header already, but am curious how you got those keys from the game since they don't seem valid anymore (and they are not the first 16 bytes as I had expected).

I've kept backups between updates, and only the CRC has changed and stuff has been added to the end of the file. I have attached the latest version (since the update last Friday).
MemeGang
Posts: 11
Joined: Sat Jul 25, 2015 9:51 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by MemeGang »

Seems like patch archives are using a different header/archive type.

Can anyone confirm?
LegalizeRanch
Posts: 9
Joined: Fri Jul 01, 2016 8:33 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by LegalizeRanch »

MemeGang wrote:Seems like patch archives are using a different header/archive type.

Can anyone confirm?

dlc2patch1.rpkg definitely is.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by aluigi »

Can you provide that dlc2patch1.rpkg file?
Just curious if it's a different format, an updated version or maybe it's only encrypted.

Are you using the bms script to try to extract it? (maybe there are other tools of which I'm not aware)
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by AnonBaiter »

LegalizeRanch wrote:dlc2patch1.rpkg definitely is.

Post a sample of it then!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by aluigi »

Script 0.2.3

In this archive there is an additional zero 32bit at offset 0x10... don't know why so now the script just check if it's zero, the alternative would be to check if the archive name contains "dlc" but I don't think it's a good solution.
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by AnonBaiter »

Is it just me or are these headers of the archive files used in the Closed Alpha version of the game(.pc_rpkg) similar to the ones used in the "final" product(.rpkg)?

Closed Alpha .pc_rpkg headers
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Hitman (2016) *.RPKG files [REQUEST]

Post by aluigi »

Try script 0.2.4
Please next time post also some megabytes of the archive because this format uses encryption and I don't know if it's valid also for the beta or not because you cutted the sample till the header.