The Forum is up for sale: XeNTaX Forum looking for new owner
Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archive
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
believe I found the settings:
C:\Program Files (x86)\Steam\SteamApps\common\Metal Gear Solid Ground Zeroes\data_02\Fox\Scripts\Gr
C:\Program Files (x86)\Steam\SteamApps\common\Metal Gear Solid Ground Zeroes\data_02\Fox\Scripts\Gr
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
So "gr_init_dx11.lua" are where the graphical options can be tweaked, you can turn off fxaa and/or dof while retaining reflections for instance. It seems you can tweak some of the settings too.
"PlayerTypeTabl.lua" is where you can do model switching. I personally haven't figured out how to get it properly working though.
"data_02\Assets\tpp\level_asset\chara\player" is where you can config the gamepad and there are a lot of camera settings. Haven't tried these myself but I think they would work.
There's also a way to change the time of day but I'm not sure how.
"PlayerTypeTabl.lua" is where you can do model switching. I personally haven't figured out how to get it properly working though.
"data_02\Assets\tpp\level_asset\chara\player" is where you can config the gamepad and there are a lot of camera settings. Haven't tried these myself but I think they would work.
There's also a way to change the time of day but I'm not sure how.
- cra0
- ultra-veteran

- Posts: 438
- Joined: Fri Apr 27, 2012 9:37 am
- Has thanked: 29 times
- Been thanked: 189 times
- Contact:
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
you should prob include zlib1.dll, crashes for me doesn't extract anything.JayK wrote:I made a tool to extract the FPK files, I'm not completely happy with it as some of the filenames have illegal characters so I can't output those filename's, so to work around that I just made it put some hex digits out for the filename. Model format is fmdl and is super super simple, you can download the FPK Unpacker below, haven't really tested it thoroughly, so let me know if there are any problems. just drag an FPK file onto it.
FPK Unpacker
Should work on FPKD files as well
It was already mentioned before that the weird colour textures store the AO, Spec and Alpha Map on the RGB levels.lionheartuk wrote: I can't actually test any of the textures myself but if you figure out what those textures are do post your findings in here, no company I've worked with (or independent projects) have ever used such textures, unless they're just a standard map type with a channel or 2 flipped perhaps? (just a wild guess, I don't even have photoshop this laptop as its dead old so I can't really investigate anything properly until I get back to my own machine.
-EDIT-
seriously why the hell do the devs even bother


- Higus
- advanced
- Posts: 78
- Joined: Sat Jun 30, 2012 5:35 am
- Has thanked: 6 times
- Been thanked: 5 times
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
Could you add an option to decrypt/encrypt those filetypes manually? because a lot of encrypted lua's and stuff are stored inside fpk and fpkd files. just an option to decrypt/encrypt any of those filetypes in a directory would work well. (decrypted files put back into the fpk/fpkd won't work)Sergeanur wrote:Now you can decrypt the resources (LUA, FPK, JSON, etc.) while unpacking the archive
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
What program can view or convert fmdl? 3ds max and 3Dconverter can't use it and can't find much on the web apart from some mugen game references.JayK wrote:Model format is fmdl and is super super simple, you can download the FPK Unpacker below, haven't really tested it thoroughly, so let me know if there are any problems. just drag an FPK file onto it.
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
I don't see a point of that. And replacing files in FPK DOES work.line wrote:Could you add an option to decrypt/encrypt those filetypes manually? because a lot of encrypted lua's and stuff are stored inside fpk and fpkd files. just an option to decrypt/encrypt any of those filetypes in a directory would work well. (decrypted files put back into the fpk/fpkd won't work)Sergeanur wrote:Now you can decrypt the resources (LUA, FPK, JSON, etc.) while unpacking the archive
Last edited by Sergeanur on Fri Dec 26, 2014 12:34 pm, edited 2 times in total.
- Higus
- advanced
- Posts: 78
- Joined: Sat Jun 30, 2012 5:35 am
- Has thanked: 6 times
- Been thanked: 5 times
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
Files which were previously encrypted can not be reinjected into FPKD files decrypted, it will not work.Sergeanur wrote:I don't see a point of that. And replacing files in FPK DOES work.line wrote:Could you add an option to decrypt/encrypt those filetypes manually? because a lot of encrypted lua's and stuff are stored inside fpk and fpkd files. just an option to decrypt/encrypt any of those filetypes in a directory would work well. (decrypted files put back into the fpk/fpkd won't work)Sergeanur wrote:Now you can decrypt the resources (LUA, FPK, JSON, etc.) while unpacking the archive
example:

These 3 LUA camera scripts extracted from big boss' fpkd are encrypted. Files inside fpkd containers don't get decrypted by your tool upon extraction. Even though these 3 LUA files can be found out side of fpkd's and decrypted by your tool, they can not be functionally reinjected into big boss' fpkd without re-encryption. (those camera lua scripts are only used cached in the fpkd)
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
I did some diggin' into FPK and realized than some names (not all) were somehow encrypted or compressed (or both). Usually this is FTEX, FMDL and such.
Format:
Example:
/Assets/tpp/ui/ModelAsset/cmn_loadmark/Pictures/cmn_loadmark_logo_mini_nmp.ftex will look like this
I don't know how to compute those but I definitely see some logic in it. Hex code always starts with 0x07 and somewhere in the middle it always has 0x0B0B0B.
EDIT
2 line:
These LUA files are compiled, NOT ENCRYPTED!!!!!! You can replace them with uncompiled ones and the game will work. In fact all you can do is just remove it from FPK completely and then change LUA outside of it.
Format:
Code: Select all
/as/ + (some hex code) + .ftex/Assets/tpp/ui/ModelAsset/cmn_loadmark/Pictures/cmn_loadmark_logo_mini_nmp.ftex will look like this
Code: Select all
/as/ + 0709436F6D4679675A510B4F6B69755F3337536F0B0B0B47695849553249464B716A42376239474636584831660B4D3447515351754D7076507935507A76766E474A0946344F + .ftexEDIT
2 line:
These LUA files are compiled, NOT ENCRYPTED!!!!!! You can replace them with uncompiled ones and the game will work. In fact all you can do is just remove it from FPK completely and then change LUA outside of it.
- Higus
- advanced
- Posts: 78
- Joined: Sat Jun 30, 2012 5:35 am
- Has thanked: 6 times
- Been thanked: 5 times
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
Right, compiled, my bad. However the uncompiled versions reinjected back into the FPKD aren't working for me.Sergeanur wrote: 2 line:
These LUA files are compiled, NOT ENCRYPTED!!!!!! You can replace them with uncompiled ones and the game will work. In fact all you can do is just remove it from FPK completely and then change LUA outside of it.
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
Means you ain't doing it right, 'cause it works for me.line wrote:However the uncompiled versions reinjected back into the FPKD do not work.
- lionheartuk
- double-veteran

- Posts: 749
- Joined: Tue May 16, 2006 10:55 pm
- Location: Everywhere
- Has thanked: 34 times
- Been thanked: 42 times
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
The weather in this game is not real time unfortunately, so no amount of waiting is going to change the weather, would have been a nice touch though.Sergeanur wrote:I believe I can but I don't know how long I have to wait to see some weather change.Eiwo wrote:Can you disable the static time of day too? Which file had those settings?
EDIT: Tried it. Played around for 10 mins. Nothing changed.
BTW people keep in mind that your changes will not affect if the file you're editing was cached into FPK or FPKD.
One thing that would be possible I imagine is forcing the time of day/weather to change, ie: Sun in the main mission, rain in the daytime side missions etc.
-
JayK
- mega-veteran

- Posts: 172
- Joined: Fri Jun 01, 2012 10:08 am
- Has thanked: 35 times
- Been thanked: 121 times
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
I updated the FPK Unpacker as there were problems with some files, new version is at the same link.
FPK Unpacker
Ftex Unpacker
FPK Unpacker
Ok I included zlib1.dll for the ftex extractor nowyou should prob include zlib1.dll, crashes for me doesn't extract anything.
Ftex Unpacker
It's their own custom format but its quite simple, if no one else makes an importer for the format then I'll make one for 3ds max, but I'm guessing someone else will anyway as it's such a simple format.What program can view or convert fmdl? 3ds max and 3Dconverter can't use it and can't find much on the web apart from some mugen game references.
Yep, this is why I can't output them as filenames and have to use the workaround, but I might look into how they're doing the conversion at some point.I did some diggin' into FPK and realized than some names (not all) were somehow encrypted or compressed (or both). Usually this is FTEX, FMDL and such.
Last edited by JayK on Fri Dec 26, 2014 5:00 pm, edited 1 time in total.
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
A few names had been discovered for data_01.g0s
Code: Select all
/Assets/tpp/ui/texture/map/gntn_photo_clp.6.ftexs
/Assets/tpp/level/location/gntn/block_common/gntn_common_ter_nrm.6.ftexs
/Assets/tpp/level/location/gntn/block_common/gntn_common_ter_srm.6.ftexs
/Assets/tpp/level/location/gntn/block_common/gntn_common_ter_bsm.6.ftexs
/Assets/tpp/effect/vfx_pic/explosion/fx_expanm06_ks_alp_clp.6.ftexsRe: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
Anyone have access to the PS4 files for the bullet casings shell ejection script?
- cra0
- ultra-veteran

- Posts: 438
- Joined: Fri Apr 27, 2012 9:37 am
- Has thanked: 29 times
- Been thanked: 189 times
- Contact:
Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv
Cheers!JayK wrote: Ok I included zlib1.dll for the ftex extractor nowIt's their own custom format but its quite simple, if no one else makes an importer for the format then I'll make one for 3ds max, but I'm guessing someone else will anyway as it's such a simple format.What program can view or convert fmdl? 3ds max and 3Dconverter can't use it and can't find much on the web apart from some mugen game references.
Yeah i took a look at FMDL doesn't look hard at all Ill see what i can do.
http://dev.cra0kalo.com/wp-content/uplo ... ox_MDL.png
