Re: PT PS4 (Fox Engine)
Posted: Tue Dec 13, 2016 9:09 pm
I'll take a look.
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.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 :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
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
Jonathan Ingram wrote: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.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.