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.
PeeTee
ultra-n00b
Posts: 3
Joined: Sat Dec 03, 2016 1:56 am
Has thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by PeeTee »

luxox18 wrote:
PeeTee wrote:
Sergeanur wrote:Texture.qar is the same format as Ground Zeroes, except there's no encryption. Use this to unpack

Code: Select all

MGSV_QAR_Tool texture.qar -u
Though extentions will be wrong until EBOOT.BIN is decrypted.

UPD:
Aha, so it's actually not GZ, it's PastGen TPP with one single difference.
I used the last integer in the file to determine the version: 0x14 for GZ and 0x24 for TPP. However in PT this integer is set to 0x14 while the hash algorithms are TPP ones. So if you want to extract texture.qar with proper extentions change that last integer to 0x24 via Hex Editor.
Could you or someone post a screenshot as to what exactly I'm editing in HxD? Thanks!
Image
Awesome. Thank you so much.

What about when it comes to decrypting the LUA?
devilsnake88
beginner
Posts: 32
Joined: Thu Dec 05, 2013 5:14 pm
Has thanked: 13 times
Been thanked: 20 times

Re: PT PS4 (Fox Engine)

Post by devilsnake88 »

For the ones who wants a FTEX dictionary (filenames - hashs), I made this:
http://pastebin.com/5H2LYGe0
User avatar
Jonathan Ingram
n00b
Posts: 11
Joined: Sun Jun 21, 2015 11:20 pm
Been thanked: 2 times

Re: PT PS4 (Fox Engine)

Post by Jonathan Ingram »

PeeTee wrote:What about when it comes to decrypting the LUA?
The LUA files out in the open should decrypt just fine with MGSV_ResDec, however, for the one's inside of the FPK/D archives you'll wanna use the GzsTool to unpack the FPKs.
Unfortunately, the ones inside the FPKs are missing their comments, so there's a lot of empty space and needless line breaks where they used to be.
PeeTee
ultra-n00b
Posts: 3
Joined: Sat Dec 03, 2016 1:56 am
Has thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by PeeTee »

Final question:

Can someone view the model of the paper bag, and see if there's anything inside of it?

Or just straight up post all the models as they're listed?
caplagrobin
ultra-n00b
Posts: 9
Joined: Thu Oct 06, 2016 7:17 pm
Has thanked: 4 times
Been thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by caplagrobin »

PeeTee wrote:Final question:

Can someone view the model of the paper bag, and see if there's anything inside of it?
http://i.imgur.com/aPpzlMG.jpg
Empty.
emoose
beginner
Posts: 26
Joined: Thu Sep 10, 2015 9:06 pm
Has thanked: 3 times
Been thanked: 24 times

Re: PT PS4 (Fox Engine)

Post by emoose »

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 :)
Last edited by emoose on Mon Dec 05, 2016 3:09 pm, edited 1 time in total.
Letal
ultra-n00b
Posts: 2
Joined: Mon Dec 05, 2016 2:58 pm
Contact:

Re: PT PS4 (Fox Engine)

Post by Letal »

I'm sorry I probably look like a stupid noob asking that... but I'm a 3D artist long time fan of Silent Hill and I have no experience with the fox engine...

Did someone make an archive with the 3D models as fbx or obj, and textures as targa or something like that? Is that even possible? 'cause I'd really like to see those models from upclose and mess around with shaders and stuff.

Sorry for the possible terrible english.

You guys just made me so happy by dissecting this awesome game!
User avatar
Jonathan Ingram
n00b
Posts: 11
Joined: Sun Jun 21, 2015 11:20 pm
Been thanked: 2 times

Re: PT PS4 (Fox Engine)

Post by Jonathan Ingram »

Letal wrote:Did someone make an archive with the 3D models as fbx or obj, and textures as targa or something like that? Is that even possible? 'cause I'd really like to see those models from upclose and mess around with shaders and stuff.
https://facepunch.com/showthread.php?t=1463516
Letal
ultra-n00b
Posts: 2
Joined: Mon Dec 05, 2016 2:58 pm
Contact:

Re: PT PS4 (Fox Engine)

Post by Letal »

Thanks a lot! :D
Zets89
ultra-n00b
Posts: 1
Joined: Fri Dec 09, 2016 10:16 am

Re: PT PS4 (Fox Engine)

Post by Zets89 »

So did you get the pfs_image.dat file from the P.T. pkg? How did you do that with the decryption and extraction?
emoose
beginner
Posts: 26
Joined: Thu Sep 10, 2015 9:06 pm
Has thanked: 3 times
Been thanked: 24 times

Re: PT PS4 (Fox Engine)

Post by emoose »

Zets89 wrote:So did you get the pfs_image.dat file from the P.T. pkg? How did you do that with the decryption and extraction?
Don't think they've mentioned the method they used publicly yet, IIRC though for games that run on 1.76 or lower you can mount the pkg file and FTP the decrypted pfs_image.dat out from the system (pretty sure I saw a guide on psxhax for it before but can't find it right now)

That's probably the only way to do it so far until someone extracts the decryption keys from the console, which AFAIK there hasn't been much progress on :(

EDIT: found the guide, might break a rule to link it though but you should be able to find it searching for "ps4 pfs ftp" on google
They also mention in that guide that eboot.bin is yet to be decrypted, but in the PT decrypted torrent the eboot.bin seems decrypted enough to me, not sure how they did that but I'd guess it was probably dumped from memory while the games running.
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 »

Hi!

I have compared the files and I have seen that there are many similarities with ground zeroes. In fact, I've replaced some files and ground zeroes runs normally. I'm trying to load all the pt files but at some point it gets stuck. I'll see if I find out what it is.
CreaseInTime
n00b
Posts: 10
Joined: Tue Dec 13, 2016 4:59 am
Has thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by CreaseInTime »

Hi all, I'm visiting from Facepunch and am currently working on porting all the released assets to Source Filmmaker, but I've hit a slight snag as I'm missing a few textures. If anyone has managed to get all of them, I have a short list of the ones I need.

Code: Select all

shsb_case001_vrtn001
shsb_ctwk001
shsb_stpl001_vrtn001
shsb_desk001 (texture always comes out black)
If anyone has/had any success finding these textures, I would greatly appreciate a download for them! Thanks so much!
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 »

Maybe inside of some fpk, for what model you need it?
CreaseInTime
n00b
Posts: 10
Joined: Tue Dec 13, 2016 4:59 am
Has thanked: 1 time

Re: PT PS4 (Fox Engine)

Post by CreaseInTime »

The list I provided actually are the model names, the textures are usually named the same except for an '_bsm' suffix.
Post Reply