# HITMAN 3 - Modding Thread

**URL:** <https://www.hitmanforum.com/t/hitman-3-modding-thread/127>\
**Category:** Hitman: World of Assassination\
**Created:** [December 24, 2020, 11:53am UTC](https://www.hitmanforum.com/t/hitman-3-modding-thread/127 "2020-12-24T11:53:43Z")\
**Posts on this page:** 1\
**Showing post:** 916

<div class="post-metadata">

**Author:** ![HMBM47](https://www.hitmanforum.com/user_avatar/www.hitmanforum.com/hmbm47/32/479_2.png) [@HMBM47](https://www.hitmanforum.com/u/HMBM47)\
**Post date:** [May 18, 2021, 6:15pm UTC](https://www.hitmanforum.com/t/hitman-3-modding-thread/127/916 "2021-05-18T18:15:06Z")

</div>

Not sure if you are aware, but RPKG Tool has been updated to automate extracting all the depends of an outfit .TEMP that can then be patched to chunk0.

In case you didn’t know, (I also cover a lot of things you probably already know, but including them for newcomers.)

Automatic Outfit .TEMP Swap Script:  
**1.5** Updated for Ambrose Island (chunk28). Removed settings for chunk1 and chunk2. Script now automatically copies depend folders from the bottom (28) up (0) so the latest files are the ones that get patched. This also alleviates the issue of having duplicate files that may be in multiple chunks.

> **[HITMAN3\_OutfitSwapper\_1.5.rar](https://www.dropbox.com/s/m20ryolqt8h5751/HITMAN3_OutfitSwapper_1.5.rar?dl=0)**
>
> Shared with Dropbox

(Links to RPKG Tool and Outfit Spreadsheet are at bottom of post)

1. Create a working folder.

2. Copy over rpkg-cli.exe from RPKG Tool into working folder.  
Tip: Or add the folder that contains rpkg-cli.exe to Environment Variables so rpkg-cli.exe can be accessed from anywhere on your computer.  
Search for “Advanced System Settings” and follow diagram below  

3. Extract .bat scripts into working folder.

4. Open 00\_Settings.bat in text editor and change settings accordingly.

```auto
set "OutfitHash=002CC01E5889B687"
set "NewOutfitHash=00FF8C6314EA882E"
set "RuntimeFolder=C:\Program Files\Epic Games\HITMAN3\Runtime"
set "PatchNumber=3"
set "FromChunk0=n"

```

“OutfitHash” is the outfit you are extracting.  
“NewOutfitHash” is the outfit you are replacing.  
“RuntimeFolder” is the location of the Runtime folder.  
“PatchNumber” is what patch number you would like the .rpkg to be.  
“FromChunk0” y or n.

1. Run 01\_ExtractHashDepends.bat
2. Copy chunk0patch[number].rpkg to Runtime folder.  
Default location: _C:\Program Files\Epic Games\HITMAN3\Runtime_

Note: Using RPKG Tool to load up the Runtime Folder and extracting All depends is quicker if you want to test out multiple outfits. In which case, you would skip 01\_ExtractHashDepends.bat and use 02\_OrganizeAndPack.bat instead. (The hashes in 00\_Settings.bat still needs to be set accordingly.)

Manual Outfit .TEMP Swap Tutorial:

1. With RPKG Tool  
a. Import\>Import RPKGs Folder (Default location: C:\Program Files\Epic Games\HITMAN3\Runtime)  
b. Search for the outfit .TEMP you want to swap one of 47’s default outfits WITH  
(e.g. 002CC01E5889B687.TEMP - OUTFIT\_Llama\_Unique\_Diana\_F\_Actor\_v0)  
c. In the right panel, Extract Hash Depends\> Extract All Hash Depends.
2. In the extracted folder,  
.  
Automatic script for parts a.-b.  
Download and put .bat script into the ALLDEPENDS/[Hash].TEMP folder.  
Run .bat.  
[Dropbox - HITMAN3\_Organize ALLDEPENDS Folders.bat - Simplify your life](https://www.dropbox.com/s/54i1c6y2o2zombu/HITMAN3_Organize%20ALLDEPENDS%20Folders.bat?dl=0)  
.  
a. Delete chunk0 folders,  
b. Transfer folders in the chunk[number]patch1 folders into their base folders (The same chunk[number] without “patch1”), overwriting them. Do the same for each additional chunk[number]patch[number] folder. (patch2 is as far as it goes at this time.)  
c. Rename .TEMP and .TEMP.meta of the outfit .TEMP to the hash of the 47 outfit you are replacing  
(e.g  
[OUTFIT\_Llama\_Unique\_Diana\_F\_Actor\_v0 outfit .TEMPs]  
002CC01E5889B687.TEMP  
002CC01E5889B687.TEMP.meta  
are renamed to  
[OUTFIT\_Agent47\_SignatureSuit\_HeroA\_V0 outfit TEMPs]  
00FF8C6314EA882E.TEMP  
00FF8C6314EA882E.TEMP.meta)
3. Rename ALLDEPENDS folder to chunk0patch3 (Or whatever the next patch number is in your Runtime folder)
4. With RPKG Tool  
a. Generate\> Generate RPKG From Folder  
b. Copy chunk0patch3.rpkg file (Or whatever number you made it) into HITMAN 3’s Runtime folder.  
Default location: _C:\Program Files\Epic Games\HITMAN3\Runtime_

Prerequisite for getting mod to work:  
_packagedefinition.txt_ needs to be patched  
(Default location: _C:\Program Files\Epic Games\HITMAN3\Runtime)_

> **[XTEA Online Tool - glaciermodding.org](https://glaciermodding.org/tools/online/xtea/)**
>
> An online tool built to encode and decode files that use IOI's modified XTEA algorithm.

Optional: Make a back up of _packagedefinition.txt_ .

1. Drag and drop _packagedefinition.txt_ into the above site.
2. Click “Set Patch Levels”.
3. Click “Save File” and overwrite your original _packagedefinition.txt_ .

Some resources for you and anyone else that might need them:

> **[RPKG Tool - glaciermodding.org](https://glaciermodding.org/rpkg/)**
>
> The RPKG tool allows for easy (un)packing of files from the Glacier 2 Engine RPKG file format!

Spreadsheet of outfit .TEMPs

> **[Hitman 3 Outfits - Google Drive](https://docs.google.com/spreadsheets/d/e/2PACX-1vRDiyiqdRebu0Olvvkr20CDhh6ANxu7FOQZ_O-1YHFN9e6kh0WmpbwDYbfgzevSvc3fO4_4Exu1fmQH/pubhtml#)**
>
> This Sheet is private

---

_[View the full topic](https://www.hitmanforum.com/t/hitman-3-modding-thread/127)._
