Hitman 6 (2016)

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:
rtscholten wrote:
Tosyk wrote:this is a part of tutorial, you need follow it. I don't understand what you don't understand.

How can you run the tool like "*******"?
Like change the rpkg right?
I don't know how clear the process of extracting models from hitman 6 could be explained than 'run hitman6.exe list.txt' in the Windows console. list.txt is your 'list with numbers' as you call it. look at the attached image

Oke i got it but it says that it cant find list.txt and idk how to make it.
id-daemon wrote:run Hitman6 > list.txt and it will create list.txt

I dont get this :?:
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

rtscholten wrote:Oke i got it but it says that it cant find list.txt and idk how to make it.
but you told me you created it 36 minutes ago by this post:
rtscholten wrote:... Done now it opens a cmd and makes a list with numbers and then closes, what now?

rtscholten wrote:
id-daemon wrote:run Hitman6 > list.txt and it will create list.txt
I dont get this :?:
I think you need to learn how to work with Windows console then:
https://www.youtube.com/watch?v=MBBWVgE0ewk
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

I have the .smd and .ascii and the materials, i've managed to get the SMD and ASCII into Blender using addons, the face and body are rigged and stuff but they are not textured, i found the ****_materials.txt and copied all folders with the materials on the list to a materials folder but how do i correctly set the dds files and materials and stuff up so it looks like
Image
(Photo from @id-daemon)
I found people saying like Noesis, so i downloaded it. The program cant open the .ASCII but it does open SMD files. It shows the bones correctly, but again not the textures
how do i "say" to Blender (And if needed to Noesis) where the textures are located so Blender can apply them correctly? Because it did make the correct materials but if i open them in the node editor they are empty. Can someone please help me with setting up my Agent 47?

Greetings,
Robbert
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

rtscholten, you can't apply textures automatically with these tools. You have to do it manually - as image of the hitman head above. look at the name of the model, then search material text file with the same name, then open this material text file and you'll see the list of texture names used by this model.

all textures already should be extracted if you said you have ASCII/SMD files.
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:rtscholten, you can't apply textures automatically with these tools. You have to do it manually - as image of the hitman head above. look at the name of the model, then search material text file with the same name, then open this material text file and you'll see the list of texture names used by this model.

all textures already should be extracted if you said you have ASCII/SMD files.

Yes i know, i have all the textures that were in the txt file but how do i properly set them up?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6 (2016)

Post by id-daemon »

New version (first post updated)

1. Full game tree extraction

Run Hitman6 all or Hitman6 alltxt

This will extract all models from all files listed in INI files, and put them into folders according to game tree. For example, if some hitman outfit (or some NPC) consists of 9 models, they will all be in one folder.

Warning: it will create a lot of duplicates, because naturally some models are shared between many outfits/npcs.

With "all" option, all materials will be put into ONE common folder called "materials".
With "alltxt" option, materials will be put into separate subfolder for each model set, and this will increase output size tremendously, because of even more duplicates.

2. Patch support

To support patches, new INI file is needed - rpkg_patch.ini
You can regulate what to extract by deleting lines in these files.
For example, if you delete ALL files in rpkg.ini - it will only extract patches and so on.

3. Static objects support

Most static objects will be extracted both with new "all" options, and old options where you can extract individual model or a list of models.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6 (2016)

Post by id-daemon »

Here's the tool for Hitman 2018. Works the same as 2016.

I don't know what will work for season 1 from "both 2 seasons" pack, but one of the tools must work.
junk angel
Posts: 2
Joined: Mon Jan 21, 2019 2:32 am

Re: Hitman 6 (2016)

Post by junk angel »

id-daemon wrote:Here's the tool for Hitman 2018. Works the same as 2016.

I don't know what will work for season 1 from "both 2 seasons" pack, but one of the tools must work.


Hi ID-deamon. I've tried to run the hitman7 toolset, unfortunately no dice.

Code: Select all

C:\Users\Junk\Desktop\rufus_files>Hitman7.exe >list.txt

Unhandled Exception: System.IO.FileNotFoundException: Could not find file 'D:\Installs\HITMAN2\chunk0.rpkg'.
File name: 'D:\Installs\HITMAN2\chunk0.rpkg'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   at Hitman6.Hitman6.Main(String[] args)
   
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6 (2016)

Post by id-daemon »

its easy
you see:

Could not find file 'D:\Installs\HITMAN2\chunk0.rpkg'

you need to find it
junk angel
Posts: 2
Joined: Mon Jan 21, 2019 2:32 am

Re: Hitman 6 (2016)

Post by junk angel »

id-daemon wrote:its easy
you see:

Could not find file 'D:\Installs\HITMAN2\chunk0.rpkg'

you need to find it

I feel profoundly dumb right now. For some reason I missed the runtime folder and was staring at the error message as if I could not parse it.
deercg
Posts: 5
Joined: Wed Feb 27, 2019 9:25 pm

Re: Hitman 6 (2016)

Post by deercg »

Hi Daemon, thank you for your tool. And, is that Hitman6 > list.txt included static mesh in lastest version? I guess it doesn't have static mesh. For me, textures almost broken, especially with _dx10 file. Do I need specify use tool under windows and directx version for textures?
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6 (2016)

Post by id-daemon »

no, list is created only for skeletal models
static models only export in full game tree
dx10 textures are dx10 standard, google how to use them
deercg
Posts: 5
Joined: Wed Feb 27, 2019 9:25 pm

Re: Hitman 6 (2016)

Post by deercg »

It's work now, many thanks Daemon.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6 (2016)

Post by id-daemon »

New tool version that supports Hitman 3

Image