XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Mar 26, 2017 11:55 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 55 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 1:47 am 
Offline
veteran

Joined: Mon Oct 13, 2014 6:54 am
Posts: 85
Has thanked: 45 times
Have thanks: 2 times
I hate to sound like a dummy, Tosyk, but how do I use the model sorter?


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 11:58 am 
Offline
ultra-n00b

Joined: Mon Mar 14, 2016 10:57 am
Posts: 6
Has thanked: 2 times
Have thanks: 0 time
Is there a chance of adding Sniper Challenge support? It has several models that are missing in main game, like Birdie.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 12:04 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 782
Location: Russia, Siberia
Has thanked: 133 times
Have thanks: 76 times
trexjones wrote:
I hate to sound like a dummy, Tosyk, but how do I use the model sorter?
well,
  • first you need to unpack all the game archives with unpacker from the first post;
  • then put 'model_sorter_v0.2.cmd' into <you_hitman_game_root_folder>\runtime\ and run;
  • after that all (actually almost all 'cause I'm still in working on the sorter — atm 87% done) the game assets will be sorted

you can use it in unfinished state or after I finish it, anyway it shouldn't conflict.

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 12:07 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 782
Location: Russia, Siberia
Has thanked: 133 times
Have thanks: 76 times
YourImaginaryFriend wrote:
Is there a chance of adding Sniper Challenge support? It has several models that are missing in main game, like Birdie.
so you saying that archive unpacker doesn't work with SC?

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 12:33 pm 
Offline
ultra-n00b

Joined: Mon Mar 14, 2016 10:57 am
Posts: 6
Has thanked: 2 times
Have thanks: 0 time
Yes, the tool crashes


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 1:12 pm 
Offline
veteran

Joined: Mon Oct 13, 2014 6:54 am
Posts: 85
Has thanked: 45 times
Have thanks: 2 times
Thanks Tosyk!

And yeah, it's not completely compatible. I noticed a lot of the female meshes are coming out funny and not alligned properly or distorted, but Daemon's looking into it.


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 1:52 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 782
Location: Russia, Siberia
Has thanked: 133 times
Have thanks: 76 times
YourImaginaryFriend wrote:
Yes, the tool crashes
if you want SC to be supported you need to pass daemon sample files, don't you think he want to download the game just for you?

trexjones wrote:
Thanks Tosyk!
And yeah, it's not completely compatible. I noticed a lot of the female meshes are coming out funny and not alligned properly or distorted, but Daemon's looking into it.
yeah, I know, he already fixed uv distortion, but my sorter-tool is beyond the processes daemon's tools do.

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Tue Mar 14, 2017 11:11 pm 
Offline
ultra-n00b

Joined: Mon Mar 14, 2016 10:57 am
Posts: 6
Has thanked: 2 times
Have thanks: 0 time
My mistake. Here are samples if needed http://www95.zippyshare.com/v/ONrTvlGx/file.html


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Wed Mar 15, 2017 1:47 am 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 782
Location: Russia, Siberia
Has thanked: 133 times
Have thanks: 76 times
Here's final version of filesorter for absolution (PC, tested on final steam version but should work on any) I worked on. It will unpack and sort all the assets of the original game and DLCs.
how to use:
  • unpack all the files from h5_asset_unpacker_and_sorter.zip into <your_hitman_game_root_folder>\runtime\
  • put Hitman5.exe from first post into <your_hitman_game_root_folder>\runtime\
    • on this step you have 3 .cmd files and 1 .exe file in runtime folder;
  • run 01_h5_move_bad_archives.cmd — it will move all the bad (not unpackable and ones with error) .pc_resourcelib files into temp folders:
    • all the neccecary folders will be creaeted at this step;
    • wait till the process is finished;
  • [you should omit this step for now, do it manually] run 02_h5_unpack_pc_resourcelib.cmd — it will find and unpack all valid .pc_resourcelib files:
    • you'll get a bunch of different nameless files;
    • wait till the process is finished;
  • run 03_h5_asset_sorter.cmd — it will sort all the assets so you can find them in <your_hitman_game_root_folder>\runtime\unp\
    • wait till the process is finished;
  • run 04_h5_move_bad_archives_back.cmd to move bad .pc_resourcelib files back:
    • wait till the process is finished;
    • play the game normaly.

After all the steps you can convert models and textures with the tools from first post of this thread.
Note that this process will work from <your_hitman_game_root_folder>\runtime\ folder only. Also if you moved any of the archives manually filesorter may not find them.

Many of the archives cannot be unpacked due to the Hitman5.exe archive unpacker incompleation (compleation of which is beyond my possibilities), that's why I moved them into temp directories. if they be able to be unpacked someday I will update filesorter. You can also pass not unpackable files to daemon so he can reverse them.

p.s.: Please report me on errors.


Attachments:


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


_________________
Thank you for all you do here
my blog | my forum


Last edited by Tosyk on Thu Mar 16, 2017 9:12 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Wed Mar 15, 2017 4:14 pm 
Offline
double-veteran
double-veteran

Joined: Tue Mar 24, 2015 8:12 pm
Posts: 1062
Has thanked: 14 times
Have thanks: 424 times
I'm currently working on cloth data from Absolution. They have special cloth engine unique only for Absolution. I've seen no other game like this. Even new 2016 hitman has all clothes as usual meshes. But in Absolution, jackets, ties and other cloth meshes no NOT exist in game files. Instead, they're built on the fly with their cloth engine, using special cloth generation tables.

So even to get one, initial geometry shape for it, I will need to reproduce their cloth engine and implement it in my tool. This may take weeks or even months.

ImageImage


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Thu Mar 16, 2017 4:18 am 
Offline
veteran

Joined: Mon Oct 13, 2014 6:54 am
Posts: 85
Has thanked: 45 times
Have thanks: 2 times
Hey Tosyk -- I tried your new tools, but ran in to a couple of problems.

I did everything exactly as you stated, but none of the files actually got unpacked or sorted. The first cmd worked -- the move_bad_archives worked fine, but after that, all that happened was the appearance of a "unp" folder, with the animals, characters, foliage, garbage, props, vehicles, weapons folders inside, but none of the archives ended up in those folders... any idea what I might be doing wrong?


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Thu Mar 16, 2017 11:00 am 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 782
Location: Russia, Siberia
Has thanked: 133 times
Have thanks: 76 times
trexjones wrote:
Hey Tosyk -- I tried your new tools, but ran in to a couple of problems.

I did everything exactly as you stated, but none of the files actually got unpacked or sorted. The first cmd worked -- the move_bad_archives worked fine, but after that, all that happened was the appearance of a "unp" folder, with the animals, characters, foliage, garbage, props, vehicles, weapons folders inside, but none of the archives ended up in those folders... any idea what I might be doing wrong?
didn't you forgot to put hitman5.exe into runtime folder? can I see a screenshot of your runtime folder?

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Thu Mar 16, 2017 12:49 pm 
Offline
veteran

Joined: Mon Oct 13, 2014 6:54 am
Posts: 85
Has thanked: 45 times
Have thanks: 2 times
Sure thing... Here's what it looks like...


Attachments:


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



Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Thu Mar 16, 2017 2:18 pm 
Offline
double-veteran
double-veteran
User avatar

Joined: Thu Oct 22, 2009 10:24 am
Posts: 782
Location: Russia, Siberia
Has thanked: 133 times
Have thanks: 76 times
trexjones wrote:
Sure thing... Here's what it looks like...
seems like everything is correct at the screenshot. So you saying "bad" archives (.pc_resourcelib) were moved to the folders, right? Next you run second script and it return... an error or what? Is it doing something?

p.s.: is this PC version, right?

_________________
Thank you for all you do here
my blog | my forum


Top
 Profile  
 
 Post subject: Re: Hitman / Kane & Lynch series model tools
PostPosted: Thu Mar 16, 2017 3:39 pm 
Offline
veteran

Joined: Mon Oct 13, 2014 6:54 am
Posts: 85
Has thanked: 45 times
Have thanks: 2 times
So, I run the unpack_pc_resoucelib.cmd and this is what comes up in response...

And correct the bad archives seem to go into their correct places...


Attachments:


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



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

All times are UTC + 1 hour


Who is online

Users browsing this forum: atheoi, Google [Bot], lyhtem and 9 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