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.

Hitman 6 (*.pc_rpkg)

Featured Replies

  • Author
  • Localization

happyend, posted Thu Jul 23, 2015 1:47 pm (6570)


script is work,thx!!!
  • Author
  • Localization

lllccc, posted Sat Jul 25, 2015 1:44 pm (6613)


lmao i was just about to post this thank you so much
  • Author
  • Localization

Ekey, posted Sat Jul 25, 2015 2:07 pm (6614)


Code:
get DUMMY longlong

It's simple 64bit hash of file name (MD5 Custom).
  • Author
  • Localization

aluigi, posted Sat Jul 25, 2015 3:26 pm (6615)


MD5 custom looks like a salted hash rather than just a "simple" hash :)
Do you have the list of names and relative hashes?
  • Author
  • Localization

Ekey, posted Sat Jul 25, 2015 3:30 pm (6616)


aluigi wrote:
MD5 custom looks like a salted hash rather than just a "simple" hash :)

;)

aluigi wrote:
Do you have the list of names and relative hashes?

You mean like?

Code:
1122334455667788 - FILENAME 1
AABBCCDDEEFFAA - FILENAME 2
  • Author
  • Localization

Ekey, posted Sat Jul 25, 2015 3:50 pm (6617)


Here base if you want :)

Edited: See below
  • Author
  • Localization

aluigi, posted Sat Jul 25, 2015 4:04 pm (6618)


Namecrc rocks :)
I have attached the modified script that loads the names.

Just a note for the future, the best format for the list is "0xhash filename", very simple.

rpkg_names.zip

  • Author
  • Localization

Ekey, posted Sat Jul 25, 2015 4:21 pm (6619)


aluigi wrote:
Namecrc rocks :)
I have attached the modified script that loads the names.

Good job :p

aluigi wrote:
Just a note for the future, the best format for the list is "0xhash filename", very simple.

Opps. Ok. Just Dephi don't accept values with 0x :)
  • Author
  • Localization

aluigi, posted Sat Jul 25, 2015 4:38 pm (6620)


No problem I will try to make the Namecrc command a bit smarter to guess if the hash is decimal or hex
  • Author
  • Localization

Ekey, posted Sat Jul 25, 2015 4:50 pm (6622)


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
  • Author
  • Localization

aluigi, posted Sat Jul 25, 2015 7:34 pm (6624)


Great job with the file "assembly\templates\aspectdummy.aspect\assembly\_pro\environment\geometry\props\sculptures\sculpture_palace_covered_a.wl2\sculpture_palace_covered_a_00.prim.entitytype\modules\runtime.physics.moduleinfo\zclothcustommeshentity.class.entitytype\modules\game.ui.moduleinfo\zworldmapmarkerentity.class.entitytype.pc_entitytype".

Quickbms already handles the long filenames (it's simply necessary to add the \\?\ prefix) but in this case the problem were the folders for which this method wasn't used. Going to fix it.

I'm investigating why the crc of that file is not found.
*edit* problem found and will be fixed in next version.

Thanks for both the findings.
  • Author
  • Localization

Ekey, posted Sat Jul 25, 2015 8:16 pm (6625)


btw: first file - it's meta - contained additional headers for chunks like textures, objects etc.
  • Author
  • Localization

aluigi, posted Sun Jul 26, 2015 9:55 am (6633)


I'm thinking about the NameCRC command.
Currently the problem is that it reads the crc/hash from the file as a number so decimal by default and considered as hex if it has the 0x prefix.

Personally I don't care about the decimal notation for crc but I don't know if other people will use it.

Now, "guessing" if it's decimal or hex without 0x is too complex and long so I need a solution.
I'm ready to remove the support for decimal notation (basically 1234 will be considered as 0x1234 and not 1234, both 32 and 64bit) but I would like to know your opinion, after all you, Ekey, are probably the only one who creates the list of hashed names so let me know what you think.
  • Author
  • Localization

Ekey, posted Sun Jul 26, 2015 1:05 pm (6637)


Here solution. No unknown files now.

Note: Some files can be duplicated but it's not big problem, right? :)

rpkg_names_v2.zip

  • Author
  • Localization

michalss, posted Sun Jul 26, 2015 6:36 pm (6642)


aluigi wrote:
I'm thinking about the NameCRC command.
Currently the problem is that it reads the crc/hash from the file as a number so decimal by default and considered as hex if it has the 0x prefix.

Personally I don't care about the decimal notation for crc but I don't know if other people will use it.

Now, "guessing" if it's decimal or hex without 0x is too complex and long so I need a solution.
I'm ready to remove the support for decimal notation (basically 1234 will be considered as 0x1234 and not 1234, both 32 and 64bit) but I would like to know your opinion, after all you, Ekey, are probably the only one who creates the list of hashed names so let me know what you think.



Decimal is always better (i was always wonder why used hex on the first place)... thx all for research :)
  • Author
  • Localization

aluigi, posted Sun Jul 26, 2015 9:39 pm (6644)


That's a good point.
From the next version will be even possible to use memory files as list of hashes so it means it's possible to embed the whole list as a compressed variable... 23 megabytes of list is only 2 megabytes already embedded in the script :D
In that case the space occupied by the additional 0x prefix is irrelevant since it's all compressed.
  • Author
  • Localization

MemeGang, posted Thu Sep 10, 2015 6:29 am (7369)


Ekey wrote:
:

Image


What is that second tool?
  • Author
  • Localization

Ekey, posted Mon Sep 14, 2015 12:15 am (7466)


MemeGang wrote:
What is that second tool?

Use QuickBMS ;)
  • Author
  • Localization

MemeGang, posted Fri Sep 18, 2015 6:54 am (7535)


Thanks Ekey!
  • Author
  • Localization

SPooKMasTeR, posted Sun Sep 20, 2015 9:33 am (7563)


So how about the files in it? Can I extract the stuff in it with the same script?
  • Author
  • Localization

sigroon365, posted Sun Nov 06, 2016 6:03 am (18597)


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?
  • Author
  • Localization

Ekey, posted Sun Nov 06, 2016 10:29 am (18604)


Nope
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.