Hitman / Kane & Lynch series model tools

Post questions about game models here, or help out others!
daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 » Fri Mar 31, 2017 4:11 pm

ngovandang wrote:Hope you got an other solution on jackets
What are you talking about? This is how they are in this game. They are not like in other games (part of normal weighted mesh), they are generated by the engine.

User avatar
ngovandang
advanced
Posts: 73
Joined: Sun Aug 10, 2014 10:33 am
Has thanked: 18 times
Been thanked: 1 time
Contact:

Re: Hitman / Kane & Lynch series model tools

Post by ngovandang » Fri Mar 31, 2017 4:13 pm

daemon1 wrote: What are you talking about? This is how they are in this game. They are not like in other games (part of normal weighted mesh), they are generated by the engine.
.o. Oh I see
Just forget it xD
Um... I'm having a trouble
Can you tell me which files constain 47 head textures? Default with bar code tattoo and band-aid?
Image

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 » Fri Mar 31, 2017 4:40 pm

ngovandang wrote: Can you tell me which files constain 47 head textures? Default with bar code tattoo and band-aid?
i have no idea

User avatar
ngovandang
advanced
Posts: 73
Joined: Sun Aug 10, 2014 10:33 am
Has thanked: 18 times
Been thanked: 1 time
Contact:

Re: Hitman / Kane & Lynch series model tools

Post by ngovandang » Fri Mar 31, 2017 4:50 pm

daemon1 wrote: i have no idea
:crying:
Image

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 » Sun Apr 02, 2017 12:08 pm

Sniper Challenge tools added to the first post.

Nightstalkery
ultra-n00b
Posts: 8
Joined: Sun Aug 17, 2014 12:14 pm
Has thanked: 4 times

Re: Hitman / Kane & Lynch model tools

Post by Nightstalkery » Wed Jun 14, 2017 4:36 pm

daemon1 wrote: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
This is truly golden. Will you ever find time for static objects though?

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch model tools

Post by daemon1 » Thu Jun 15, 2017 4:07 pm

Nightstalkery wrote:Will you ever find time for static objects though?
I doubt that.

Nightstalkery
ultra-n00b
Posts: 8
Joined: Sun Aug 17, 2014 12:14 pm
Has thanked: 4 times

Re: Hitman / Kane & Lynch model tools

Post by Nightstalkery » Sat Jun 17, 2017 4:13 pm

daemon1 wrote:
Nightstalkery wrote:Will you ever find time for static objects though?
I doubt that.
That's a real shame. It's just cloth simulated objects like Hitman's tie won't import. Guess you have to make sacrifices when it comes to such tools.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch model tools

Post by daemon1 » Sat Jun 17, 2017 7:21 pm

Nightstalkery wrote: It's just cloth simulated objects like Hitman's tie won't import.
these are not statics. cloth is different. can you give examples?

boldie
ultra-n00b
Posts: 2
Joined: Tue Apr 24, 2018 3:09 pm

Re: Hitman / Kane & Lynch series model tools

Post by boldie » Thu Apr 26, 2018 1:56 pm

Hello. I have a question unrelated to your model extraction tools.
I'm currently researching the ways to mod hitman 2 a little.
daemon1 wrote: There are 2 guards on a level. Each of them stored in properties tree of the level with its own position (x,y,z) and links to model, animation set, behavior script etc.
Do you have any description for those property trees and it's format?

My dream - a full map editor, with the ability to import new maps (like an old Edit4O7 project), is a very hard task, and seems impossible.

I'd like to know how to search for positions of guards in the files and modify them. Also I'd like to add more guards to the level, even without patrol paths - do you think it's possible? What's more importantly, I want to extract the behaivour script of each npc and modify it, or at least extract. In hitman: c47 they are present in archives, but in h2 I only saw global variables for script and it's path (this is inside .gms files). I haven't yet found solutions to any of those problems.

I think these little things will bring some life in these old games, but I'm struggling with file format, so I'm asking for help.

How hard it will be, to correctly implement aforementioned mods?


I pm'd you with more detailed description few days ago. Thanks in advance!!

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 » Thu Apr 26, 2018 4:38 pm

boldie wrote:Hello. I have a question unrelated to your model extraction tools.
i dont have time to look into that, and i dont remember anything about hitman now
i worked with dozens of games after that, you have to understand

boldie
ultra-n00b
Posts: 2
Joined: Tue Apr 24, 2018 3:09 pm

Re: Hitman / Kane & Lynch series model tools

Post by boldie » Thu Apr 26, 2018 9:04 pm

daemon1 wrote:
boldie wrote:Hello. I have a question unrelated to your model extraction tools.
i dont have time to look into that, and i dont remember anything about hitman now
i worked with dozens of games after that, you have to understand
That's fine. I realize it's a bit different topic, but I didn't find any more info about scripts other than your post. But if you can, and will find time, it would be cool if you can upload subproduct of your hitman research like notes on format... because at my current level I don't understand even about property tree :D

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 » Thu Apr 26, 2018 9:16 pm

boldie wrote: it would be cool if you can upload subproduct of your hitman research like notes on format...
I'm not making any notes on formats. Also I dont need IDA or any other disassembler to reverse game code. Looking into code in case of simple formats like hitman is a waste of time. All was done by analysing of data files themselves.

TrumpetPro
beginner
Posts: 30
Joined: Wed Jul 06, 2016 1:51 am
Has thanked: 1 time
Been thanked: 1 time

Re: Hitman / Kane & Lynch series model tools

Post by TrumpetPro » Fri Aug 03, 2018 4:38 pm

Whenever I try to unpack the Hitman: Absolution files (using a batch script I created that runs it on all files), I keep getting the error "Can't find header for given resource". This repeats for almost all files, leaving only 20 or so folders. Inside the folders, the .MATI files don't have the name, instead having random numbers like 0025.

daemon1
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 1762
Joined: Tue Mar 24, 2015 8:12 pm
Has thanked: 38 times
Been thanked: 1209 times

Re: Hitman / Kane & Lynch series model tools

Post by daemon1 » Fri Aug 03, 2018 5:59 pm

i dont think the game was updated in last year
it means either some files are missing, or your script is wrong
must be about 300 folders after extraction

Post Reply