XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Nov 19, 2017 4:18 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 38 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Tue Dec 13, 2016 9:09 pm 
Offline
n00b

Joined: Tue Apr 10, 2012 6:48 pm
Posts: 12
Has thanked: 7 times
Have thanks: 1 time

I'll take a look.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Wed Dec 14, 2016 2:54 am 
Offline
ultra-n00b

Joined: Tue Dec 13, 2016 4:59 am
Posts: 6
Has thanked: 1 time
Have thanks: 0 time
I'm also apparently missing the texture for the bottles, shsb_hous001_bn_bsm. I can only find shsb_hous001_bn_bsm_alp and shsb_hous001_bn_nrm, a subtexture and normal texture of the bottles' texture.


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Mon Apr 17, 2017 10:01 pm 
Offline
ultra-n00b

Joined: Mon Apr 17, 2017 9:50 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
emoose wrote:
Here's a dictionary for the texture.qar with all textures named, based off the pathid_list_ps4 file:
http://pastebin.com/raw/Sx7dgktA

https://github.com/emoose/MGSV-QAR-Dictionary-Project has also been updated with these filenames :)

Edit: for anyone interested, a small guide on unpacking PT, hopefully I didn't miss anything [roll]:
Quote:
Downloads:
- GameArchives: https://github.com/maxton/GameArchives/releases
- psarc-138.002: http://www.mediafire.com/file/aegbgpkm3xfot80/psarc.zip
- MGSV_ResDec: https://www.dropbox.com/s/xg9slfszkyf0w ... ResDec.rar
- GzsTool: https://github.com/Atvaark/GzsTool/releases
- MGSV QAR Tool: https://www.dropbox.com/s/0rtpumx2mxsja ... R_Tool.rar

pfs_image.dat:
- Use GameArchives to open pfs_image.dat and extract chunk1.psarc & texture.qar

chunk1.psarc:
- Use psarc to extract chunk1.psarc:
psarc.exe extract --input=chunk1.psarc --to=chunk1_ext
- Copy MGSV_ResDec to extracted chunk1.psarc folder, in that folder create .bat file with the following:
@echo off
FOR /r %%X IN (*.lua, *.fpk, *.fpkd, *.json) DO (
MGSV_ResDec.exe %%X
)
- Run the .bat file you created, once it's finished all extracted chunk1.psarc files should be decrypted

- Once decrypted, to unpack the .fpk/.fpkd files copy GzsTool to extracted chunk1.psarc folder
- Open a command prompt to the extracted chunk1.psarc folder and run the following (don't forget the . at the end):
GzsTool.exe .
- All .fpk/.fpkd files should now be unpacked

texture.qar:
- Extract MGSV QAR Tool to the same folder as texture.qar
- Replace the contents of dictionary.txt with http://pastebin.com/raw/Sx7dgktA
- Open texture.qar with a hex editor, skip to the end of the file and change the last 4 bytes "14 00 00 00" to "24 00 00 00"
- Open a command prompt to the folder with texture.qar and QAR tool, and run the following:
MGSV_QAR_Tool.exe texture.qar -u
- Once it's completed the texture.qar file should be fully extracted to a 'texture' folder

Credits to everyone making Fox Engine modding possible :)


Thanks for this! I've had no issues getting the textures and am having heaps of fun playing with a few of them. However, I can't successfully use MGSV_RecDec.exe to decrypt the extracted chunk1_ext files. I've followed every step and it just doesn't seem to want to play ball. the .bat file is fine and i've checked it over and over. Tried a few different versions of MGSV_RecDec.exe.

Even stranger, the first error I was having seems to have vanished. If I removed @Echo. I would see the problem was "Can't load input file". After playing with that for a while I scrapped it all and started again. Now my .bat file doesn't seem to want to do anything. It vanishes as quickly as it appears regardless of what I try. Any help would be much appreciated. (:


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Thu May 04, 2017 12:11 am 
Offline
ultra-n00b

Joined: Wed Oct 19, 2011 1:55 pm
Posts: 5
Has thanked: 2 times
Have thanks: 1 time
Same problem here following the steps. Getting the "ERROR: Can't open input file" message.

[Edit] Been a while since I tried my hand at this... Put the MGSV_ResDec.exe in a folder with an FPK file such as \chunk1_ext\as\sh\level\common and drag that FPK file onto the EXE. You catch a glimpse of the cmd window say it's decrypted and it creates a backup.

Then drop the same FPK file onto GzsTool.exe and you should have a load of unpacked Fox Engine FMDL files.

FMDL files are converted with Fox Engine Model Studio which is hard to get for some reason. The author takes it down when they're inbetween versions?
Here is the recommended version for PT editing: http://www.mediafire.com/file/aj64l8jey ... Studio.exe

[Edit 2] Latest version Fox Engine Model Studio is mgs5_FMS.zip, here: http://cra0kalo.com/public/


Last edited by JasonBlack on Fri May 05, 2017 2:57 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Fri May 05, 2017 12:07 am 
Offline
ultra-n00b

Joined: Mon Apr 17, 2017 9:50 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
JasonBlack wrote:
Same problem here following the steps. Getting the "ERROR: Can't open input file" message.

[Edit] Been a while since I tried my hand at this... Put the MGSV_ResDec.exe in a folder with an FPK file such as \chunk1_ext\as\sh\level\common and drag that FPK file onto the EXE. You catch a glimpse of the cmd window say it's decrypted and it creates a backup.

Then drop the same FPK file onto GzsTool.exe and you should have a load of unpacked Fox Engine FMDL files.

FMDL files are converted with Fox Engine Model Studio which is hard to get for some reason. The author takes it down when they're inbetween versions?
Here is the recommended version for PT editing: http://www.mediafire.com/file/aj64l8jey ... Studio.exe



This worked perfectly for the file you used as an example! Thanks a lot! However, trying to do it on the FPK files in "ending" "hallway" and "start" folders are causing issues still. Not the same issue but still issues. The Gzstool.exe causes a crash!


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Fri May 05, 2017 12:09 pm 
Offline
ultra-n00b

Joined: Wed Oct 19, 2011 1:55 pm
Posts: 5
Has thanked: 2 times
Have thanks: 1 time
I tried this method on ending.fpk with GzsTool v.0.5.2.2 which I have in a folder full of other misc files and it crashed with the cmd prompt showing me a load of input not valid information that went right over my head.

Older version v.0.4.3.0 in its own folder, with a file called Cityhash.dll included along with the zlib, dictionary and config files, worked just fine.

Who knows where I downloaded it back in late 2015, I'll just put it up here for ya: http://www.mediafire.com/file/7r711mjlj ... ol_4_3.zip

[Edit] The zip I uploaded appears to have all the same files originally available from here: https://github.com/Atvaark/GzsTool/releases/tag/v0.4.3
I suspect I may've thought the cityhash.dll or one of the other files in my messy collection of tools, was junk and deleted it or one of the others?

[Edit 2] Latest version (5.2.3) in its own folder with all its dependencies seems to work well.


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Mon May 29, 2017 2:33 pm 
Offline
veteran

Joined: Wed Mar 02, 2011 10:38 pm
Posts: 141
Has thanked: 9 times
Have thanks: 51 times
Jonathan Ingram wrote:
luxox18 wrote:
A tool was published for open the PFS_Image Files, but now I can't figure out the textures.qar with correct names.

Thanks for linking the tool. As for the QAR archive, we're probably gonna have to construct a new dictionary.txt for PT. I noticed there's a good number of files with the full texture name paths in them so I'll look around and try to identify all I can.



How do you go about generating the dictionary?
Browsing the exe?


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Wed Jul 05, 2017 10:37 am 
Offline
ultra-n00b

Joined: Wed Jul 05, 2017 10:30 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
luxox18 wrote:
Hello people!

The ps4 scene has decrypted PT so all files can be analized.

The backup published contains some binary files from ps4 and a big file called pfs_image.dat (1,25Gb). This big file contains practically the entire game. (So, I don't know if I can publish a download link)

pfs_image.dat contains:

sce_module
sce_sys
chunk1.psarc (fully extractable and readable)
eboot.bin
pathid_list_ps4.bin
sce_discmap.plt
texture.qar ( I don't know how to extract this file)

Here are some FPK, FPKD & PFTXS files for everyone that want to take a look.

http://download1619.mediafire.com/tkdda ... player.rar

http://download2025.mediafire.com/ymlvi ... common.rar

http://download1485.mediafire.com/rqy3j ... /start.rar

http://download1069.mediafire.com/t1ygc ... ending.rar

http://download1859.mediafire.com/31tqa ... allway.rar


hello
Thanks for linking that tool.


_________________
Ps4 online cost


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

All times are UTC + 1 hour


Who is online

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