Notex.app

RPKG Tool

See below for past versions and changelogs
The RPKG tool in action.

New in v2.16.3

Released 1 August 2021

  • Updated ResourceLib:
    • Changelog:
      • Update ResourceLib for HITMAN 3 3.50.0.0.
      • Add Hitman 2016 support to CodeGenLib and the CodeGen tool.
      • Add a new ResourceLib variant that supports Hitman 2016 (ResourceLib_HM2016).
      • Add Hitman 2016 support to ResourceTool.
      • Improve error output of ResourceLib / ResourceTool when resource generation fails.
  • Note: H2016 brick editing is not currently supported but the ResourceLib DLL is included in the download. This DLL can be safely deleted.
  • Updated enums to match ResourceLib (for brick editor).
  • LOCR/RTLV support for the latest H3 update.
    • Note: DLGE will currently show the incorrect language identifiers but this doesn't affect functionality.
  • Made details, hex viewer & JSON viewer read only.
  • Fixed a bug where the image viewer can crash the GUI.
  • Fixed a bug where certain LOCR would crash the program (Inconsistent IOI).
  • Added a -licenses command to RPKG CLI.

Released 7 July 2021

  • Updated ResourceLib:
    • Changelog:
      • Added a shitload of new properties to ResourceLib (thanks Anthony Fuller).
    • Updated enums to match ResourceLib (for brick editor).
  • Added Hitman 2016 LOCR extraction and rebuilding.
  • RPKG CLI now loads the hash list from the folder the executable is in like RPKG GUI.

Released 3 July 2021

  • Refactored source code (thanks NoFaTe!)
    • Updated ResourceLib.
      • Changelog:
        • Update ResourceLib for HITMAN 3 3.40.0.0
        • Added a bunch of missing property names to ResourceLib (thanks Anthony Fuller).
    • From now on ResourceLib will not be bundled inside rpkg.exe to comply with the GPLv3 license. Instead, the latest release as of compilation is provided in the download, these DLLs need to be in the same directory as rpkg.exe.

Released 29 May 2021

  • Added the functionality to convert .meta files to .meta.JSON and vice versa for easy editing of hash dependencies.
    • GUI: See new "Utilities" menu.
    • CLI: -hash_meta_to_json and -json_to_hash_meta.

Released 27 May 2021

  • Revamped Discord Rich Presence integration.
  • Added Discord invite link for the Glacier² Modding server.
  • Fixed RPKG crashing when exiting if Discord Rich Presence was disabled.

Released 26 May 2021

  • Entity/Brick (TEMP/TBLU) Editor:
    • Converted to ZHMTools's ResourceLib for full H2 and H3 support.
    • Added a "Go" button for EntityIndex properties which takes you directly to the entity being referenced.
    • Added treeview entity (node) history so you can easily revisit entities (nodes) you were previously on.
    • Added JSON export feature that will output TEMP/TBLUs to prettified JSONs for any TEMPs that have been modified.
  • Added optional Discord Rich Presence (Off by default).
  • Fixed an issue that would cause RPKG to crash if the "InputFolder" property in "rpkg.json" was pointing to a deleted directory.

Released 21 May 2021

  • Updated ResourceTool by adding subEntities counts for generated TEMP and TBLU files to not only mimic IOI's TEMP and TBLU files, but to help RPKG with version checking.
  • Added a check for TEMP and TBLU mismatched subEntities counts when loading the Entity/Brick (TEMP/TBLU) Editor, and if mismatched a warning is displayed.
  • Added hash list checking in the Hash Calculator to let you know if a given hash is in the hash list or not.
  • Fixed an issue where TEMP and TBLU files which have a mismatched subEntities count would cause RPKG to crash.
  • Fixed an issue where RPKG would halt or crash due to blank/empty H2 RPKG files.

Released 20 May 2021

  • Entity/Brick (TEMP/TBLU) Editor:
    • Added Hitman 2 functionality to the Entity/Brick (TEMP/TBLU) Editor (by adding such functionality to ResourceTool).
    • Added the option to load the Entity/Brick (TEMP/TBLU) Editor in non-recursive mode.
    • Restored and moved the expand and collapse all nodes buttons in the Entity/Brick (TEMP/TBLU) Editor.
    • The Entity/Brick (TEMP/TBLU) Editor now allows editing of the TEMP's:
      • subEntities: propertyValues
      • subEntities: postInitPropertyValues
      • subEntities: platformSpecificPropertyValues
      • subType
      • blueprintIndexInResourceHeader
      • rootEntityIndex
      • propertyOverrides
      • externalSceneTypeIndicesInResourceHeader
  • Implemented a single progress window/bar when importing all the RPKGs in a folder.
  • Added multi-line IOI hash calculator function in the GUI.

Released 19 May 2021

  • Entity/Brick (TEMP/TBLU) Editor:
    • ResourceTool implementation for the Brick Editor which allows full rebuilding (Adding/removing entities coming soon).
    • Generating RPKGs/Saving TEMPs will now only use one single output folder per RPKG base chunk name, instead of splitting files into chunk* and chunk*patch* folders.
    • Implemented a proper progress bar when the TEMP/TBLU files are being recursively loaded.

Released 12 May 2021

  • Significantly improved search result speeds and also added 20k, 50k and 100k search options.

Released 11 May 2021

  • Fixed a texture color issue involving the extraction and rebuilding of BC7 (0x5A) type textures.
  • Fixed an issue where the hash depends button wasn't working properly on hashes found via the search function.

Released 10 May 2021

  • Transitioned to a higher performance treeview for the main RPKG GUI.
  • Fixed an issue with the TEMP editor that caused some TEMPs to not load properly.
  • Fixed an issue with the hash depends editor that caused RPKGs with multiple hashes to become malformed.

Released 10 May 2021

  • GUI and CLI
    • Recursive hash dependency extraction
      • -extract_all_hash_depends_from and -extract_all_hash_depends_prim_models_from
    • Direct hashes only dependency extraction
      • -extract_direct_hash_depends_from and -extract_direct_hash_depends_prim_models_from
  • GUI
    • Hash dependency editor
    • Patch archive deletion list editor
  • Changed -extract_direct_hash_depends to -extract_direct_hash_depends_from for uniformity.

Released 29 April 2021

  • HITMAN 3 export Models + Textures linked to a TEMP:
    • GUI:
      • Exporting:
        • Right click a TEMP hash and select "Extract PRIM Models Linked To 00123456789ABCDE.TEMP to GLB/TGA file(s)".
      • Reimporting:
        • Rebuild menu: "Rebuild Primitive Models (PRIM/TEXT/TEXD) From Folder" (RPKG(s) archive(s) will also automatically generate).
    • CLI:
      • -extract_all_prim_model_of_temp_from and -rebuild_prim_model_in.
  • Added error handling to the GUI when rebuilding PRIMs.
  • Added interactive mode to rpkg-cli which can be access using the -i argument.

Released 28 April 2021

  • HITMAN 3 Model (PRIM) exporting (Bones will also export but changes won't be reimported) and reimporting with/or without textures:
    • GUI:
      • Exporting:
        • Right click a PRIM hash and select "Extract 00123456789ABCDE.PRIM model to GLB/TGA file(s)".
      • Reimporting
        • Rebuild menu: "Rebuild Primitive Models (PRIM/TEXT/TEXD) From Folder" (RPKG(s) archive(s) will also automatically generate).
    • CLI:
      • With textures included:
        • -extract_prim_model_from and -rebuild_prim_model_in.
      • Models only:
        • -extract_prim_from and -rebuild_prim_in.
  • Details Tab:
    • Reverse hash dependencies will appear now.


  • Notes about model modding (Please read)
    • Must use Blender and export to the glTF 2.0 GLB format.
    • Do not rename any of the meshes.
    • You can remove the LOD meshes if you wish to rebuild the model without them.
    • New meshes must match the original mesh names and you can not add any extra.
    • Specific export settings needed for models with bones:
      • Untick "+Y Up" under the Transform category and make sure "Include All Bone Influences" is ticked under the Animation category.

Released 18 April 2021

  • HITMAN 3 Texture exporting and reimporting:
    • GUI:
      • Exporting:
        • Mass export or right click an individual TEXT hash.
      • Reimporting
        • Rebuild menu (RPKG(s) archive(s) will also automatically generate.)
      • Texture viewer for TEXT hashes.
    • CLI:
      • -extract_text_from, -extract_all_text_from and -rebuild_text_in
  • Brick Editor:
    • Search feature (Bricks will load slower initially now.)
  • Fixed bug with rebuilding GFXF files.

Released 8 April 2021

  • Brick Editor:
    • Multiple bricks now load if the main TEMP depends on them.
    • Recursive TEMP dependencies
      • Editor keeps track of what TEMPs you have edited.
    • H1 & H2 support for entity/brick (TEMP) editing.
    • Fixed ZString bug that caused strings with commas in them to crash RPKG.
  • Models (PRIM):
    • GLB exporting (glTF 2.0)
      • Either by right clicking a PRIM hash or right clicking a TEMP hash that has PRIM dependencies.
      • LODs are parsed and will only export the highest resolution ones.
      • No bone or texture support yet.
  • Added JSON viewer for JSON hashes.
  • Improved speed of loading RPKGs.

Released 21 March 2021

  • Implemented preliminary model (PRIM) viewer + exporter to OBJ models
    • -extract_prim_to_obj_from command in the CLI or you can use the GUI.
  • HITMAN 3:
    • Added: enum support for brick files.
    • Added: export all global entity coords to CSV file function.
  • Fixed hash depends showing duplicate hashes.

Released 19 March 2021

  • HITMAN 3: Implemented entity/brick (TEMP) file editing (accessed by right clicking on TEMP files.)
  • Added IOI paths to -hash_depends command line argument.
  • Fixed H1 issue again.

Released 6 March 2021

  • Fixed GFXF rebuilding if the size is different.
  • Fixed bug with Hitman 2016 RPKGs.

Released 3 March 2021

  • Added GFXF (Scaleform GFX) extraction and rebuilding
  • Fixed bug with archive generation in the GUI
  • New logo/icon thanks to Dribbleondo

Released 28 February 2021

  • Added an audio player for WWEM, WWES and WWEV hashes.
  • Added an image viewer for GFXI hashes.

Released 26 February 2021

  • Added new search GUI search feature where you can search through either:
    • The currently imported/loaded RPKGs
    • The hash list
  • Fixed an issue where the folder selection dialog appeared after clicking cancel on the right click popup menu.
  • Added a horizontal scroll bar to the Details section.
  • The hash details now displays the known IOI string for each known hash.
  • Added extra error outputs for the localization rebuilding functions when malformed JSONs are input.
  • Added patch archive deletion list for deleted hashes in the “Details” view for patch archives.

Released 23 February 2021

  • Added roughly 15k new hashes to the hash list thanks to grappigegovert.
  • Fixed issue with the -hash_probe function where output was duplicated when used with multiple filters.
  • Added new -extract_direct_hash_depends function that extracts direct depends to files and meta files.
  • Fixed issue with RPKG Details tab reporting the wrong number of hashes and total hash sizes for RPKGs.
  • Changed the default starting color theme to Dark/Red instead of Light/Blue.
  • Added natural sorting for the RPKG archives when importing by folder or mass extraction.

Released 22 February 2021

  • Completely rewritten, streamlined all the functions, bug fixes, etc…
  • Transformed rpkg into a shared solution consisting of a DLL and a CLI component/program + a WPF .NET Framework based GUI
  • GUI greatly extends the capabilities of rpkg:
    • Treeview: Resource and hash dependencies
    • Ability to see all details for a given hash, resource type or whole RPKG archive
    • Hex viewer
    • JSON viewer for localisation files containing strings (LOCR, DLGE and RTLV)
  • Implemented revorb.exe for WWEM/WWES and WWEV audio file extraction when extracting to OGG.
  • Implemented a master hash list that contains known hashes for all 3 of the HITMAN trilogy games.

Released 4 February 2021

  • Added extraction and rebuilding functionality for a variety of resources:
    • DLGE (Dialog subs) - Includes output specifying the WWES linked to the dialog
      • -extract_dlge_to_json_from
      • -rebuild_dlge_from_json_from
    • RTLV (Video subs)
      • -extract_rtlv_to_json_from
      • -rebuild_rtlv_from_json_from
  • Added extra meta file outputs when using WWES extraction mode.

Released 31 January 2021

  • Added rpkg.exe command JSON examples.
  • Fixed ORES extraction issue when no input filter was present.

Released 30 January 2021

  • Added filtering to the ORES WWEV and WWES extraction modes.
  • Implemented a new scripted command interface through the use of JSON files.
  • Enable the use of drag and drag for both RPKG and JSON files directly upon the exe, thereby allowing full control of rpkg.exe without command line interface use.

Released 29 January 2021

  • Added hash probe function (-hash_probe) that allows you to probe RPKG files for the existence of the hash file/resource and provides information.
  • Added an error message to indicate if a resource was not found when using the -filter function.

Released 28 January 2021

  • Added the ability to compute an IOI hash from an assembly string.
  • Added extraction and rebuilding functionality for a variety of resources:
    • WWEV (SFX) - (With partial IOI internal Wwise file paths / names)
    • LOCR (Localisation)
  • WWES (Dialog) extraction with full IOI internal Wwise file paths / names.
  • XTEA encryption/decryption for packagedefintion.txt / thumbs.dat

Released 25 January 2021

  • Fixed issue preventing perfect 1:1 repacking of previously unpacked RPKG files.

Released 25 January 2021

  • Added the ability to specify a desired output folder using -output_path.
  • Fixed an issue limiting importing RPKGs with under 100 hash files/resources.
  • Fixed ORES extraction issue.

Released 24 January 2021

  • Decreased the RPKG file import time by an order of magnitude.
  • Fixed issue related to handling multiple input filters.

Released 24 January 2021

  • Initial release.