XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Wed Dec 13, 2017 12:09 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Prey (2017) pak decryption tool
PostPosted: Fri May 05, 2017 11:01 pm 
Offline
veteran

Joined: Mon Aug 06, 2012 4:14 am
Posts: 95
Has thanked: 0 time
Have thanks: 63 times














You can make the ads go away by registering

Version 2 released.
Download here.

Changelog:
Version 1:
  • Initial release

Version 2:
  • Fixed file size check


Last edited by Sir Kane on Sat May 06, 2017 5:05 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Sat May 06, 2017 3:00 pm 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 139
Location: Germany
Has thanked: 98 times
Have thanks: 35 times
Thank you very much!
Is there a way to make it work with the larger files of the game? It gives this error message on all ~1+GB files:
Image


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Sat May 06, 2017 4:56 pm 
Offline
veteran

Joined: Mon Aug 06, 2012 4:14 am
Posts: 95
Has thanked: 0 time
Have thanks: 63 times
Yeah, I just noticed that. Looking into it.


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Sat May 06, 2017 6:24 pm 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 139
Location: Germany
Has thanked: 98 times
Have thanks: 35 times
Works perfect now thank you! :)


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Sun May 07, 2017 3:50 pm 
Offline
advanced

Joined: Sat Oct 04, 2014 5:22 am
Posts: 49
Has thanked: 0 time
Have thanks: 2 times
any way to pack the pak file back up?

also any way to get the xml files to be unencrypted?


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Sun May 07, 2017 4:49 pm 
Offline
veteran

Joined: Mon Aug 06, 2012 4:14 am
Posts: 95
Has thanked: 0 time
Have thanks: 63 times
Recompile of the old binary XML conversion tool I made for Crysis 3 or whatever.
Download.

As for the repacking, it might accept .zip files renamed to .pak, I'm not sure if files NEED to have signatures or if it works without them.


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Mon May 08, 2017 10:59 pm 
Offline
n00b
User avatar

Joined: Fri Nov 06, 2015 4:10 pm
Posts: 13
Has thanked: 6 times
Have thanks: 2 times
There're *.skin and *.skinm files. Do you know open this files? I try noesis rename *.skin to *.cgf but doesn't work


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Tue May 09, 2017 6:09 pm 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 139
Location: Germany
Has thanked: 98 times
Have thanks: 35 times
DarthphoeniX wrote:
There're *.skin and *.skinm files. Do you know open this files? I try noesis rename *.skin to *.cgf but doesn't work

Rename the .skinm files to cgf and use this tool viewtopic.php?f=33&t=13137


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Tue May 23, 2017 1:11 am 
Offline
ultra-n00b
User avatar

Joined: Sat Dec 24, 2016 11:35 pm
Posts: 9
Has thanked: 4 times
Have thanks: 0 time
o0Crofty0o wrote:
DarthphoeniX wrote:
There're *.skin and *.skinm files. Do you know open this files? I try noesis rename *.skin to *.cgf but doesn't work

Rename the .skinm files to cgf and use this tool http://forum.xentax.com/viewtopic.php?f=33&t=13137


The tool download link goes to a file not found. :[


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Wed May 24, 2017 4:50 pm 
Offline
n00b

Joined: Wed Mar 09, 2016 3:19 pm
Posts: 17
Has thanked: 6 times
Have thanks: 0 time
Not quite works....
Smoothing is destroyed, still unknown how to make textures work

Update.
For now most reliable way for me is ninjaripper for meshes+intelGPA for textures.
Would like to have models rigged though, and max res textures from the game files. I don't think i can run it with max settings for textures on my GTX 750Ti...

Proof of concept
http://i.imgur.com/LZkEY3H.png


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Wed May 24, 2017 11:36 pm 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 139
Location: Germany
Has thanked: 98 times
Have thanks: 35 times
Smoothing isn't really destroyed on my end(in blender at least).

You have to combine the split textures to one image in a hex editor and then you can load and convert them with the latest version of Noesis. I can write a short tutorial for you here if it helps anything^^
Rigged models would be amazing, but there's no way with existing tools i think.


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Wed May 24, 2017 11:43 pm 
Offline
n00b

Joined: Wed Mar 09, 2016 3:19 pm
Posts: 17
Has thanked: 6 times
Have thanks: 0 time
Yes, tutorial for that might help dramatically!
Please, do that!))


Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Thu May 25, 2017 1:23 am 
Offline
veteran
User avatar

Joined: Wed Nov 17, 2010 2:57 pm
Posts: 139
Location: Germany
Has thanked: 98 times
Have thanks: 35 times
Ok what you need:
Noesis (huge thanks here to MrAdults for supporting the normal map format of these properly, even Photoshop doesn't like them much)
Hex Editor
Intel .dds plugin for Photoshop (for the specgloss map thingies)
This .zip with headers:

1. Textures are made of these files:
Image
The .dds contains the header info and i think smallest mip level, 1-8 files are increasing mips of the texture. Just take the biggest one (with the highest number, in this case 8, it is the most HD version)

2. Open the .dds and the .8 file in HxD. Switch to the .8 file and select everything with ctrl+a, then copy it with ctrl+c.

3. Switch to the .dds file and select everyting starting at Offset 94 to the end:
Image
(94 is important, if you do it at for eg 95 your texture will be shifted sidewards and not match the UV)
Then simply paste with ctrl+p and save with ctrl+s.

4. Open texture in Noesis and convert to your format of choice.
You can alternatively open these in Photoshop using the Intel plugins mentioned above. For that open your texture in HxD again and change this small part from whatever it is to 01 (thanks to chrrox for figuring this out):
Image

5. You may have noticed that _ddn (normal maps) usually don't just have the 1-X files but also files called like 6a,7a,8a. 1-8 belong to normal map, 1a-8a belong to the gloss map.
You have to convert it seperately (as far as i know anyway). I don't know where the game gets this header from, it isn't the .a file. I figured it's BC4 textures however and added a .zip to this post that has headers for the dimensions i came across in the files. The gloss maps here share the dimensions the normal maps have (4k normal map = 4k gloss map). So if it is 4k, open BC4_4k_header.dds and the .8a file in HxD, copy everything from the .8a file again and paste it below the header (offset 80). Save it under a new name you will find easy.
Noesis displays these as plain white, but Photoshop with the linked plugins loads them fine.

6. I noticed that for some reasons the normal map channels seem to be switched (red should be green, green should be red). If you don't do that shading might look quite bad in whatever software you render in.

7. You're finally done and can load them all on your model! Yey!
Image


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: Prey (2017) pak decryption tool
PostPosted: Thu May 25, 2017 8:10 am 
Offline
n00b

Joined: Wed Mar 09, 2016 3:19 pm
Posts: 17
Has thanked: 6 times
Have thanks: 0 time
Thank you very , much!
Could you also direct me on where have you found player character's model? I'm looking female version too.
Also for other stuff, like psychoscope, backpack and helmet to complete the set.


Last edited by georgesears on Thu May 25, 2017 2:36 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Prey (2017) pak decryption tool
PostPosted: Thu May 25, 2017 11:10 am 
Offline
n00b

Joined: Thu Dec 05, 2013 5:14 pm
Posts: 11
Has thanked: 2 times
Have thanks: 7 times
Here is a video tutorial if someone need it:

https://www.youtube.com/watch?v=Izyyyh-mz98

You should get something like this:
Image

Here are samples for the Shotgun:
http://www.mediafire.com/file/9fs8l4c9n ... rienDS.zip


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 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