XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Sep 21, 2017 8:18 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 69 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Hitman / Kane & Lynch series model tools
PostPosted: Thu Feb 16, 2017 9:26 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by daemon1 on Sun Apr 02, 2017 12:07 pm, edited 18 times in total.

Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch model tools
PostPosted: Thu Feb 16, 2017 9:26 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by daemon1 on Thu Feb 23, 2017 5:38 pm, edited 5 times in total.

Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch model tools
PostPosted: Thu Feb 16, 2017 9:27 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Last edited by daemon1 on Thu Feb 23, 2017 4:15 pm, edited 8 times in total.

Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sat Feb 18, 2017 2:59 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
Hitman 4 / Kane & Lynch 2 tools posted.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 19, 2017 3:19 am 
Offline
veteran

Joined: Sat Apr 19, 2014 8:02 am
Posts: 85
Has thanked: 42 times
Have thanks: 9 times
: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.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 19, 2017 7:33 am 
Offline
beginner

Joined: Tue Sep 08, 2015 9:51 am
Posts: 25
Has thanked: 18 times
Have thanks: 5 times
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.

Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 19, 2017 7:57 am 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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.
Double post merge.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Thu Feb 23, 2017 3:03 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sat Feb 25, 2017 9:15 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sat Feb 25, 2017 9:21 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 823
Location: Russia, Siberia
Has thanked: 153 times
Have thanks: 84 times
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


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 26, 2017 12:44 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Sun Jul 06, 2014 6:30 am
Posts: 344
Has thanked: 71 times
Have thanks: 219 times
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


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 26, 2017 7:20 am 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 26, 2017 5:29 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Sun Jul 06, 2014 6:30 am
Posts: 344
Has thanked: 71 times
Have thanks: 219 times
No problem. :)


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 26, 2017 6:43 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1178
Has thanked: 19 times
Have thanks: 548 times
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


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Sun Feb 26, 2017 8:34 pm 
Offline
veteran

Joined: Sat Apr 19, 2014 8:02 am
Posts: 85
Has thanked: 42 times
Have thanks: 9 times
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 69 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group