XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sun Apr 30, 2017 12:16 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 Previous  1, 2, 3  Next
Author Message
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Sat Dec 03, 2016 11:35 am 
Offline
ultra-n00b

Joined: Sat Dec 03, 2016 1:56 am
Posts: 3
Has thanked: 1 time
Have thanks: 0 time

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:
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?

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Sat Dec 03, 2016 11:58 am 
Offline
ultra-n00b

Joined: Thu Dec 05, 2013 5:14 pm
Posts: 9
Has thanked: 2 times
Have thanks: 5 times
For the ones who wants a FTEX dictionary (filenames - hashs), I made this:
http://pastebin.com/5H2LYGe0


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Sun Dec 04, 2016 1:36 am 
Offline
n00b
User avatar

Joined: Sun Jun 21, 2015 11:20 pm
Posts: 11
Has thanked: 0 time
Have thanks: 2 times
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.


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Sun Dec 04, 2016 11:32 am 
Offline
ultra-n00b

Joined: Sat Dec 03, 2016 1:56 am
Posts: 3
Has thanked: 1 time
Have thanks: 0 time
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?


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Sun Dec 04, 2016 11:42 am 
Offline
ultra-n00b

Joined: Thu Oct 06, 2016 7:17 pm
Posts: 8
Has thanked: 2 times
Have thanks: 1 time
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.


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Mon Dec 05, 2016 1:58 pm 
Offline
beginner

Joined: Thu Sep 10, 2015 9:06 pm
Posts: 24
Has thanked: 3 times
Have thanks: 22 times
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 :)


Last edited by emoose on Mon Dec 05, 2016 3:09 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Mon Dec 05, 2016 3:09 pm 
Offline
ultra-n00b

Joined: Mon Dec 05, 2016 2:58 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
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!


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Mon Dec 05, 2016 9:20 pm 
Offline
n00b
User avatar

Joined: Sun Jun 21, 2015 11:20 pm
Posts: 11
Has thanked: 0 time
Have thanks: 2 times
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


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Tue Dec 06, 2016 9:45 am 
Offline
ultra-n00b

Joined: Mon Dec 05, 2016 2:58 pm
Posts: 2
Has thanked: 0 time
Have thanks: 0 time
Thanks a lot! :D


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Fri Dec 09, 2016 10:25 am 
Offline
ultra-n00b

Joined: Fri Dec 09, 2016 10:16 am
Posts: 1
Has thanked: 0 time
Have thanks: 0 time
So did you get the pfs_image.dat file from the P.T. pkg? How did you do that with the decryption and extraction?


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Sat Dec 10, 2016 9:02 am 
Offline
beginner

Joined: Thu Sep 10, 2015 9:06 pm
Posts: 24
Has thanked: 3 times
Have thanks: 22 times
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.


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Mon Dec 12, 2016 11:01 pm 
Offline
n00b

Joined: Tue Apr 10, 2012 6:48 pm
Posts: 12
Has thanked: 7 times
Have thanks: 1 time
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.


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Tue Dec 13, 2016 5:04 am 
Offline
ultra-n00b

Joined: Tue Dec 13, 2016 4:59 am
Posts: 3
Has thanked: 1 time
Have thanks: 0 time
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:
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!


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Tue Dec 13, 2016 9:04 am 
Offline
n00b

Joined: Tue Apr 10, 2012 6:48 pm
Posts: 12
Has thanked: 7 times
Have thanks: 1 time
Maybe inside of some fpk, for what model you need it?


Top
 Profile  
 
 Post subject: Re: PT PS4 (Fox Engine)
PostPosted: Tue Dec 13, 2016 5:29 pm 
Offline
ultra-n00b

Joined: Tue Dec 13, 2016 4:59 am
Posts: 3
Has thanked: 1 time
Have thanks: 0 time
The list I provided actually are the model names, the textures are usually named the same except for an '_bsm' suffix.



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

All times are UTC + 1 hour


Who is online

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