Hitman 6 (2016)

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Hitman 6 (2016)

Post by id-daemon »

Hitman 6 tools.
Current state: all skeletal and most static models can be extracted with skeletons and textures. You must be able to get and check models now and start finding their hashes.

When run, the tool will output a model in SMD & ASCII, and a material text file with a list of all materials used by this model. All these textures will be extracted to corresponding folders.

To work, the tool needs rpkg.ini and/or rpkg_patch.ini - list of packages to look for models, you must edit it with your folder names.

1. run tool without parameters
It will output a list of skeletal models in all packages from RPKG.ini
So if you want only models from DLC5, delete other lines from RPKG.ini
For example, run Hitman6 > list.txt and it will create list.txt
This list has hash, size, number of materials for each model.
you have an idea, if it has 10 materials and its big, its probably character

2. to get one model, run the tool like Hitman6 6D1BF1B36511FD
this will create hitman's tie

3. to get all models in a list, run Hitman6 list.txt or drop list.txt onto the EXE

4. to get all models as game tree, run Hitman6 all or Hitman6 alltxt

Image

Cloth is weighted to the main skeleton

Image

Image
Last edited by id-daemon on Sun Aug 05, 2018 9:01 am, edited 3 times in total.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6

Post by id-daemon »

tests show that textures are properly extracted and linked to models
first tool version will be released soon

Image
Anexenaumoon
Posts: 119
Joined: Sun Dec 27, 2015 10:22 pm

Re: Hitman 6

Post by Anexenaumoon »

Awesome! Maybe post some progress videos to youtube if you're up for it? ;) I love watching them
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6

Post by id-daemon »

Anexenaumoon, i dont think there's anything interesting here to make videos

Tool posted.

There is a way to group all outfit parts together, I'm working on it.
id-daemon
Posts: 1040
Joined: Sun Mar 22, 2015 7:09 pm

Re: Hitman 6 (2016)

Post by id-daemon »

here's the full asset tree for chunk0

you can find all outfits there

for example, here you see hitmans head (green),
and all of those in red ellipse are parts of some outfit

Image
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Can anyone explain this? I've got this:
[img]https://i.gyazo.com/784c6c31d4f2f7a4748344cdb0feb165.png[/img]
But when i drag the rpkg or the chunk0_tree to the Hitman6.exe nothing happens, it only opens a CMD with the text "Unexpected exception" and then closes.

I've put this in my RPKG:

(Steam location)\steamapps\common\Hitman™\Runtime\chunk0.rpkg

Hitman6 list.txt

I dont really get the tutorial on the other sites, can anyone make it more clear?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

change 'Hitman™' to 'Hitman' in your path
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:change 'Hitman™' to 'Hitman' in your path


Still says Unexpected exception and then closes
Last edited by rtscholten on Mon Jul 09, 2018 12:24 pm, edited 1 time in total.
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

do you have spaces in you path to chunk0.rpkg?
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:do you have spaces in you path to chunk0.rpkg?

Nope, just
D:\Steam\steamapps\common\Hitman\Runtime\chunk0.rpkg
When i run it it opens cmd and then after less then a second closes
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

can you show full error?
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:can you show full error?
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Sometimes it gives the text "Onverwachte/Onverwerkte uitzondering" that translates to english to "Unexpected/Unprocessed exception" Idk which one of the two it is (Unexpected/Unprocessed) can't read it very well
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

wait... you should rename a folder 'Hitman™' to 'Hitman' as well
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:wait... you should rename a folder 'Hitman™' to 'Hitman' as well

Done now it opens a cmd and makes a list with numbers and then closes, what now?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

rtscholten wrote:
Tosyk wrote:wait... you should rename a folder 'Hitman™' to 'Hitman' as well
Done now it opens a cmd and makes a list with numbers and then closes, what now?
does this strings from the first post makes sense to you (?):
id-daemon wrote:2. to get one model, run the tool like Hitman6 6D1BF1B36511FD
this will create hitman's tie

3. to get all models in a list, run Hitman6 list.txt or drop list.txt onto the EXE
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:
rtscholten wrote:
Tosyk wrote:wait... you should rename a folder 'Hitman™' to 'Hitman' as well
Done now it opens a cmd and makes a list with numbers and then closes, what now?
does this strings from the first post makes sense to you (?):
id-daemon wrote:2. to get one model, run the tool like Hitman6 6D1BF1B36511FD
this will create hitman's tie

3. to get all models in a list, run Hitman6 list.txt or drop list.txt onto the EXE

Eh yeah i think so, like the list of numbers are like the same as 6D1BF1B36511FD but where are the models stored / what do i do now?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

rtscholten wrote:
Tosyk wrote:
rtscholten wrote:Done now it opens a cmd and makes a list with numbers and then closes, what now?
does this strings from the first post makes sense to you (?):
id-daemon wrote:2. to get one model, run the tool like Hitman6 6D1BF1B36511FD
this will create hitman's tie

3. to get all models in a list, run Hitman6 list.txt or drop list.txt onto the EXE

Eh yeah i think so, like the list of numbers are like the same as 6D1BF1B36511FD but where are the models stored / what do i do now?
this is a part of tutorial, you need follow it. I don't understand what you don't understand.
rtscholten
Posts: 11
Joined: Mon Jul 09, 2018 11:48 am

Re: Hitman 6 (2016)

Post by rtscholten »

Tosyk wrote:
rtscholten wrote:
Tosyk wrote:does this strings from the first post makes sense to you (?):

Eh yeah i think so, like the list of numbers are like the same as 6D1BF1B36511FD but where are the models stored / what do i do now?
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?
Tosyk
Posts: 81
Joined: Mon Aug 11, 2014 6:37 am

Re: Hitman 6 (2016)

Post by Tosyk »

rtscholten wrote:
Tosyk wrote:
rtscholten wrote:Eh yeah i think so, like the list of numbers are like the same as 6D1BF1B36511FD but where are the models stored / what do i do now?
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