Important information: this site is currently scheduled to go offline indefinitely by end of the year.

PT PS4 (Fox Engine)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
User avatar
SecaProject
beginner
Posts: 31
Joined: Tue Apr 10, 2012 6:48 pm
Has thanked: 17 times
Been thanked: 31 times
Contact:

Re: PT PS4 (Fox Engine)

Post by SecaProject »

I'll take a look.
CreaseInTime
n00b
Posts: 10
Joined: Tue Dec 13, 2016 4:59 am
Has thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by CreaseInTime »

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.
minilem
ultra-n00b
Posts: 2
Joined: Mon Apr 17, 2017 9:50 pm

Re: PT PS4 (Fox Engine)

Post by minilem »

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]:
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. (:
JasonBlack
ultra-n00b
Posts: 5
Joined: Wed Oct 19, 2011 1:55 pm
Has thanked: 2 times
Been thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by JasonBlack »

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.
minilem
ultra-n00b
Posts: 2
Joined: Mon Apr 17, 2017 9:50 pm

Re: PT PS4 (Fox Engine)

Post by minilem »

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!
JasonBlack
ultra-n00b
Posts: 5
Joined: Wed Oct 19, 2011 1:55 pm
Has thanked: 2 times
Been thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by JasonBlack »

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.
JohnHudeski
mega-veteran
mega-veteran
Posts: 177
Joined: Wed Mar 02, 2011 10:38 pm
Has thanked: 10 times
Been thanked: 58 times

Re: PT PS4 (Fox Engine)

Post by JohnHudeski »

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?
DeathTempler
ultra-n00b
Posts: 1
Joined: Tue Jun 26, 2018 6:33 am

Re: PT PS4 (Fox Engine)

Post by DeathTempler »

The links seem to be dead, is there any other way to get these downloads now?
Post Reply