Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Hitman / Kane & Lynch series model tools

Post questions about game models here, or help out others!
Post Reply
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Hitman / Kane & Lynch series model tools

Post by daemon1 »

Hitman Absolution, Sniper Challenge archive/model/texture tools.

1. Drop .pc_resourcelib onto Hitman5.exe. It will extract all resources from it. Corresponding .pc_headerlib files must be in the same dir. The tool will search all .pc_headerlib files for needed information.

2. Drop .TEXT file onto Hitman5DDS.exe. It will convert all textures to DDS or TGA.

3. Drop .BORG file onto Hitman5Model.exe. Corresponding .PRIM file must be there too. <BORG>/<PRIM> files will be near each other (in pairs). This will produce SMD model with skeleton and all lods. You can separate them by materials. Later I will maybe make an option to skip low lods or something.

Cloth support (model tool). If some .CLOS files will be there too, they will be converted to static .OBJ files with cloth geometry. Cloth driver will be present in a main SMD model. This driver will have weights and move with the skeleton. You should be able to apply driver movements to actual cloth model after that. Note: The geometry generation algorythm was not completely reversed so some minor errors may appear.

Sniper Challenge separate archive/model tools are used same way as for absolution, textures can be extracted with Hitman5DDS.

Currently the tool will ONLY unpack segments if some skeletal models will be there. This is only about 300 packages from all 5000 (according to headers). So if you run it on all of them, 300 folders will be created. After that, you can find the model name in MATI files as material name will include it.

ImageImage
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Sun Apr 02, 2017 12:07 pm, edited 18 times in total.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch model tools

Post by daemon1 »

Hitman 4 (Blood Money), Kane & Lynch 2 model tools.

Usage: Drop .PRP file onto the tool or use command line, .PRM file must be in the same dir.

The tool only currently unpacks animated characters, and not all of them work. Mostly human models. Each model can be repeated with variations or without, because of game files structure. One model usually will contain many clothes variations. Filename includes material number followed by model variation.

Image
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Thu Feb 23, 2017 5:38 pm, edited 5 times in total.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch model tools

Post by daemon1 »

Hitman 2/3 models.

Usage: Drop .PRM file onto the tool or use command line, .GMS file must be in the same dir.

I had no time to reverse their properties tree, so the tool only currently unpacks animated characters, like humans, pigs, rats, birds etc. The possible names are dumped into names.txt file.

Image

Hitman 1 tools here: viewtopic.php?f=16&t=15695
You do not have the required permissions to view the files attached to this post.
Last edited by daemon1 on Thu Feb 23, 2017 4:15 pm, edited 8 times in total.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 »

Hitman 4 / Kane & Lynch 2 tools posted.
ssringo
veteran
Posts: 98
Joined: Sat Apr 19, 2014 8:02 am
Has thanked: 46 times
Been thanked: 13 times

Re: Hitman / Kane & Lynch series model tools

Post by ssringo »

:o Oh my god. I didn't think Hitman would ever get modeling tools and we'd be stuck with .obj rips and fan rigs. Time to get to work downloading these games.
hhchunter
beginner
Posts: 29
Joined: Tue Sep 08, 2015 9:51 am
Has thanked: 19 times
Been thanked: 10 times

Re: Hitman / Kane & Lynch series model tools

Post by hhchunter »

This is awesome!

Seems like UV's are Vert Flipped on some models?

If source was published could this eventually lead to geometry mods for Blood Money?

Also if it's not too much trouble would it be possible to get a obj or FBX version as well?
Last edited by hhchunter on Sun Feb 19, 2017 8:56 am, edited 1 time in total.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 »

obj tool for hitman 4 existed for 10 years, made in 2006.

And I'm never working with fbx because its very unstable and non-standard format.
hhchunter wrote:could this eventually lead to geometry mods?
Geometry formats are mostly simple. So yes, modding is very possible.
Last edited by Gh0stBlade on Thu Feb 23, 2017 3:07 pm, edited 1 time in total.
Reason: Double post merge.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 »

Hitman 2/3 tools posted.

Hitman 4 tools updated: skeletons mirrored to correct right handed coordinate system. Normals added.

So now all hitmans from 1 to 4 are covered. Only absolution left. Will be ready soon.
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 »

ok i have very good progress on all variations of glacier engine, so I will probably be able to get all models with skeletons and proper names for Absolution, and probably for 2016 game too.

Image
User avatar
Tosyk
double-veteran
double-veteran
Posts: 1027
Joined: Thu Oct 22, 2009 10:24 am
Location: Russia, Siberia
Has thanked: 269 times
Been thanked: 154 times
Contact:

Re: Hitman / Kane & Lynch series model tools

Post by Tosyk »

Looking good! From the professional point of view it's also nice to have all the LODs of the game model. I hope you willing to lying your hands on the items/vehicles/static as well — they're great in the last 2 games.
Thank you for all you do here
my blog | my forum
volfin
ultra-veteran
ultra-veteran
Posts: 452
Joined: Sun Jul 06, 2014 6:30 am
Has thanked: 110 times
Been thanked: 326 times

Re: Hitman / Kane & Lynch series model tools

Post by volfin »

daemon1 wrote:ok i have very good progress on all variations of glacier engine, so I will probably be able to get all models with skeletons and proper names for Absolution, and probably for 2016 game too.

Image
For what it's worth, I already created a model converter for Hitman 2016. But I didn't bother with weights and skeletons, so if you add that, would be nice. If you can read python, my script will probably help you a lot with the format. It's quite close to Deus Ex: Mankind Divided since they use the same engine. That's why I always try to release source code, so others can learn and improve for the benefit of all :)

viewtopic.php?p=126983#p126983
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 »

volfin wrote:I already created a model converter for Hitman 2016.
Yes I know, but my main point is to add skeletons and sort everything out with names, and this is completely absent in your script as we know.

I can read python, but from my experience, its usually easier to research the format myself, than read someone else's code. Especially considering the fact, that I already researched Absolution and it seems completely the same as 2016.
volfin
ultra-veteran
ultra-veteran
Posts: 452
Joined: Sun Jul 06, 2014 6:30 am
Has thanked: 110 times
Been thanked: 326 times

Re: Hitman / Kane & Lynch series model tools

Post by volfin »

No problem. :)
daemon1
MEGAVETERAN
MEGAVETERAN
Posts: 2647
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 65 times
Been thanked: 2870 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 »

Actually sometimes I can't understand even my own code after a while. It's just like I better grasp the data than the code.

Absolution tools posted in the thread start.

Image
ssringo
veteran
Posts: 98
Joined: Sat Apr 19, 2014 8:02 am
Has thanked: 46 times
Been thanked: 13 times

Re: Hitman / Kane & Lynch series model tools

Post by ssringo »

Thank you for the new tools. A couple questions:

-That's a LOT of files to go through. Any way to find out what's what without going through the whole process?
-Is there a way to convert textures?

EDIT: Referring to Absolution
Post Reply