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

Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archive

The Original Forum. Game archives, full of resources. How to open them? Get help here.
User avatar
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

Post by Higus »

HeartlessSeph wrote:
Higus wrote:Image
I'm trying to get a separate character Big Boss mod working, but I can't find "Spying Harrier"s staff icon texture. Some of you have it set up so that you can view DDS files in your windows explorer, but I can't get this working so it'd be a massive help if somebody could help find it.
Sure thing, I'll do it later on tonight.
Great. If Snake's icon is found too, that'd be an appreciated find too, my idea is to design the Big Boss icon based off Venom Snake's with a bit of photoshop work.
atvaark
advanced
Posts: 52
Joined: Fri Aug 28, 2015 3:19 pm
Been thanked: 47 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by atvaark »

Tex wrote:
atvaark wrote:I took some notes on these files when I was checking out Ground Zeroes in January.
...
Thanks atvaark

Thinking it through more, while it does seem like there's a nice system there, mention of prefabs with names that sound like common ui widgets/controls, but seems most of the actual 'driving' of the uis are in the exe, if evidence from the lua scripts and the last patch are any indication.
In the lua scripts all interaction seems to be via the engine object TppUiCommand, the function names indicate a pretty piecemeal approach to specfic ui functionality rather than any kind of flexible ui control system (or at least if they do they didn't extend it into the lua side).

A few TppUICommand function examples for example
AnnounceLogViewLangId(string langId,langParameter ...) -- can accept a variable number of parameters, which fit into the lang string parameters ala standard string formatting.
SetErrorPopupParam(unknown param)
IsShowPopup()
GetTapeLangIdByTrackId(t)
IsEndMissionTelop()
RegisterIconUniqueInformation{markerId=gameId,iconLangId=iconLangId,goalLangId=goalLangId}

There's a few luas dedicated to uis, but again they are very specifcally set up, likewise there are some that seem to be dedicated to providing specific data for the uis (ie the engine is pulling a lua function rather than lua calling engine), example being all the landing zones from initial deployment.

Anyhoo, not having access to good control over ui is a big limitation.

There was one other thing I was going to ask help for, but I worked out some of it. Basically was wondering how langId like
AnnounceLogViewLangId("announce_map_update")
mapped to lng2(xml) entry
<Entry Key="225449528" Value="Map Info Updated" />

I guessed it would match to the output of an engine function - Fox.StrCode32(string) returns number - that's actually used a lot in the lua (to create numeric indexes to arrays from strings and such as well as said langid use).
Then confirmed it by spitting them through StrCode32 in game (through announcelog so I could see the output).

Though I'm wondering if a decoding function can be worked out by someone if it hasn't already somewhere? It would be useful for debugging, and convenience in creating our own keys without having to run the game every time (though I still have to test adding new strings to lng files with this to see if it actually works)
There's DEBUG_StrCode32ToString, but all that seems to do is set up a reverse lookup table using Fox.StrCode32 to the unencoded string.

Heres some more examples, hopefully no transcription errors
"announce_target_extract
<Entry Key="2225007113" Value="Target Secured" />
"announce_target_eliminate"
<Entry Key="3205446798" Value="Target Eliminated" />
"announce_target_destroy"
<Entry Key="3738767267" Value="Target Destroyed&#xA;" />

basically announce_* lang id strings in the lua scripts match in tpp_announce_log.<language>.lng2 . Though now I'm wondering where the ui to particlar lng2 file mapping is. the lng2 is in lang_default_data_<language code>.fpk Ideally we'd be able to add another lng2 file rather than appending to the existing.
That was easier than I thought. StrCode32 is the same hash function that's used to look up the Ground Zeroes g0s files and to decrypt lua files (CityHash64WithSeeds).
I could add a dictionary to LangTool so that the strings can be found by their code.
Solidcal
beginner
Posts: 26
Joined: Wed Apr 29, 2015 9:05 pm

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by Solidcal »

Higus wrote:Image
I'm trying to get a separate character Big Boss mod working, but I can't find "Spying Harrier"s staff icon texture. Some of you have it set up so that you can view DDS files in your windows explorer, but I can't get this working so it'd be a massive help if somebody could help find it.
Texture1.dat and it is the e4846d5ef3db ftex file for Venom's portrait icon. :)
XrayDoc
veteran
Posts: 88
Joined: Wed Sep 09, 2015 10:02 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by XrayDoc »

http://steamcommunity.com/app/287700/di ... 426622619/

Hold onto your seats boys... This is going to be one wild ride.
DefaultMan
beginner
Posts: 22
Joined: Sat Jul 18, 2015 7:34 am
Been thanked: 2 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by DefaultMan »

Finally decided to try out doing texture modding and thought i'd try changing up the posters on the cardboard boxes. Strangely enough they are all DXT1 so no alpha, I replaced vertical Paz (tex0/2708c8a9beecb) and was surprised that the original alpha was still there. http://images.akamai.steamusercontent.c ... FB4036FEF/
I even checked out the fpk with the cardboard box stuff and couldnt find anything like a specific model so I don't see why it would be displaying like this so im pretty stumped here, has anyone looked through the archives enough to have an idea the cause?
XrayDoc
veteran
Posts: 88
Joined: Wed Sep 09, 2015 10:02 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by XrayDoc »

I went to https://www.reddit.com/r/moddergearsolid and my first thought was "Wow! Cool a place where everyone is discussing the mods they have made and files they have found!"

All I found is [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] [REQUEST] of at the moment completely impossible things.

oh btw I made dd and dhorse birds, what fun
http://steamcommunity.com/sharedfiles/f ... =540014899
http://steamcommunity.com/sharedfiles/f ... =540013693
E3245
ultra-n00b
Posts: 7
Joined: Sat Jun 20, 2015 2:35 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by E3245 »

This might be helpful: TppDefine.lua.
https://www.reddit.com/r/NeverBeGameOve ... teresting/

Here's the entire mission list. This should help when finding content within specific missions. I'm not sure if it has been posted before.
  • 10010 : Prologue Awekening
    10020 : Mission 1 Phantom Limbs
    10030 : Mission 2 Flashback Diamond Dogs
    10036 : Mission 3 A Heros Way
    10043 : Mission 4 C2W
    10033 : Mission 5 Over the Fence
    10040 : Mission 6 Where Do the Bees Sleep
    10041 : Mission 7 Red Brass
    10044 : Mission 8 Occupation Forces
    10054 : Mission 9 Backup Back Down
    10052 : Mission 10 Angel With Broken Wings
    10050 : Mission 11 Cloaked in Silence
    10070 : Mission 12 Hellbound
    10080 : Mission 13 Pitch Dark
    10086 : Mission 14 Lingua Franca
    10082 : Mission 15 Footprints of Phantoms
    10090 : Mission 16 Traitors Caravan
    10091 : Mission 17 Rescue the Intel Agents
    10100 : Mission 18 Blood Runs Deep
    10195 : Mission 19 On the Trail
    10110 : Mission 20 Voices
    10121 : Mission 21 The War Economy
    10115 : Mission 22 Retake the Platform
    10120 : Mission 23 The White Mamba
    10085 : Mission 24 Close Contact
    10200 : Mission 25 Aim True Ye Vengeful
    10211 : Mission 26 Hunting Down
    10081 : Mission 27 Root Cause
    10130 : Mission 28 Code Talker
    10140 : Mission 29 Metallic Archaea
    10150 : Mission 30 Skull Face
    10151 : Mission 31 Sahelanthropus
    10045 : Mission 32 To Know Too Much
    11043 : Mission 33 Subsistence C2W
    11054 : Mission 34 Extreme Backup, Back Down
    10093 : Mission 35 Cursed Legacy
    11082 : Mission 36 Total Stealth Footprints of Phantoms
    11090 : Mission 37 Extreme Traitors Caravan
    10156 : Mission 38 Extraordinary
    11033 : Mission 39 Total Stealth Over the Fence
    11050 : Mission 40 Extreme Cloaked in Silence
    10171 : Mission 41 Proxy War Without End
    11140 : Mission 42 Extreme Metallic Archaea
    10240 : Mission 43 Shining Lights, Even in Death
    11080 : Mission 44 Total Stealth Pitch Dark
    10260 : Mission 45 A Quiet Exit
    10280 : Mission 46 Truth - The Man Who Sold the World
    11121 : Mission 47 Total Stealth The War Economy
    11130 : Mission 48 Extreme Code Talker
    11044 : Mission 49 Subsistence Occupation Forces
    11151 : Mission 50 Extreme Sahelanthropus
Tex
veteran
Posts: 89
Joined: Sat Aug 20, 2011 4:51 am
Has thanked: 21 times
Been thanked: 11 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by Tex »

atvaark wrote: That was easier than I thought. StrCode32 is the same hash function that's used to look up the Ground Zeroes g0s files and to decrypt lua files (CityHash64WithSeeds).
I could add a dictionary to LangTool so that the strings can be found by their code.
Nice, thought it might be something in the ballpark of stuff already used, thanks (just have to hunt down the lua implementation that bound to be out there lol) having the outside tool would be great.

Just did first test of appending new line to lng file, and using announcelogviewlangid, went good.

Do you think you could also build a tool that takes a text file of strings and gives the hashes? I'm already at 30+ lines I want to add and typing them off the screen isn't going to be fun.
atvaark
advanced
Posts: 52
Joined: Fri Aug 28, 2015 3:19 pm
Been thanked: 47 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by atvaark »

Tex wrote:
atvaark wrote: That was easier than I thought. StrCode32 is the same hash function that's used to look up the Ground Zeroes g0s files and to decrypt lua files (CityHash64WithSeeds).
I could add a dictionary to LangTool so that the strings can be found by their code.
Nice, thought it might be something in the ballpark of stuff already used, thanks (just have to hunt down the lua implementation that bound to be out there lol) having the outside tool would be great.

Just did first test of appending new line to lng file, and using announcelogviewlangid, went good.

Do you think you could also build a tool that takes a text file of strings and gives the hashes? I'm already at 30+ lines I want to add and typing them off the screen isn't going to be fun.
Since that's basically a one liner I'll just upload the application.
It also requires .NET 4.5 and works by dragging text files on it.
You do not have the required permissions to view the files attached to this post.
Last edited by atvaark on Fri Oct 23, 2015 9:07 am, edited 1 time in total.
Tex
veteran
Posts: 89
Joined: Sat Aug 20, 2011 4:51 am
Has thanked: 21 times
Been thanked: 11 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by Tex »

Champion.
Solidcal
beginner
Posts: 26
Joined: Wed Apr 29, 2015 9:05 pm

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by Solidcal »

E3245 wrote:This might be helpful: TppDefine.lua.
https://www.reddit.com/r/NeverBeGameOve ... teresting/

Here's the entire mission list. This should help when finding content within specific missions. I'm not sure if it has been posted before.
  • 10010 : Prologue Awekening
    10020 : Mission 1 Phantom Limbs
    10030 : Mission 2 Flashback Diamond Dogs
    10036 : Mission 3 A Heros Way
    10043 : Mission 4 C2W
    10033 : Mission 5 Over the Fence
    10040 : Mission 6 Where Do the Bees Sleep
    10041 : Mission 7 Red Brass
    10044 : Mission 8 Occupation Forces
    10054 : Mission 9 Backup Back Down
    10052 : Mission 10 Angel With Broken Wings
    10050 : Mission 11 Cloaked in Silence
    10070 : Mission 12 Hellbound
    10080 : Mission 13 Pitch Dark
    10086 : Mission 14 Lingua Franca
    10082 : Mission 15 Footprints of Phantoms
    10090 : Mission 16 Traitors Caravan
    10091 : Mission 17 Rescue the Intel Agents
    10100 : Mission 18 Blood Runs Deep
    10195 : Mission 19 On the Trail
    10110 : Mission 20 Voices
    10121 : Mission 21 The War Economy
    10115 : Mission 22 Retake the Platform
    10120 : Mission 23 The White Mamba
    10085 : Mission 24 Close Contact
    10200 : Mission 25 Aim True Ye Vengeful
    10211 : Mission 26 Hunting Down
    10081 : Mission 27 Root Cause
    10130 : Mission 28 Code Talker
    10140 : Mission 29 Metallic Archaea
    10150 : Mission 30 Skull Face
    10151 : Mission 31 Sahelanthropus
    10045 : Mission 32 To Know Too Much
    11043 : Mission 33 Subsistence C2W
    11054 : Mission 34 Extreme Backup, Back Down
    10093 : Mission 35 Cursed Legacy
    11082 : Mission 36 Total Stealth Footprints of Phantoms
    11090 : Mission 37 Extreme Traitors Caravan
    10156 : Mission 38 Extraordinary
    11033 : Mission 39 Total Stealth Over the Fence
    11050 : Mission 40 Extreme Cloaked in Silence
    10171 : Mission 41 Proxy War Without End
    11140 : Mission 42 Extreme Metallic Archaea
    10240 : Mission 43 Shining Lights, Even in Death
    11080 : Mission 44 Total Stealth Pitch Dark
    10260 : Mission 45 A Quiet Exit
    10280 : Mission 46 Truth - The Man Who Sold the World
    11121 : Mission 47 Total Stealth The War Economy
    11130 : Mission 48 Extreme Code Talker
    11044 : Mission 49 Subsistence Occupation Forces
    11151 : Mission 50 Extreme Sahelanthropus
Thanks for this it was a big help. Actually found the missions folder this way. Obviously they all have a "S" before the number but it has made them easier to find now.
Tex
veteran
Posts: 89
Joined: Sat Aug 20, 2011 4:51 am
Has thanked: 21 times
Been thanked: 11 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by Tex »

E3245 wrote:This might be helpful: TppDefine.lua.
https://www.reddit.com/r/NeverBeGameOve ... teresting/
Cheers E3245, have had something similar banging around my text editor for a while, but was reluctant to post it since forums are not good an accessible resource, with your post I decided to jump on the nexus modding wiki, for want of a better place: http://wiki.tesnexus.com/index.php/Cate ... ar_Solid_5
A couple of pages up so far, the above mentioned, and a general collation of links to modding resources.
There's a lot of nice posts in here, and in the linked resources that would be better served in a wiki. If anyone wants to jump in and start getting stuff on the wiki it would be cool, otherwise I'll slowly pick my way at things.

One of the prior modding communities I was with had what I hold to be a gold standard for a modding wiki: https://web.archive.org/web/20080616110 ... /Main_Page (recently resurrected at modwiki.xnet.fi, but there you don't get to see it in it's original form, or my commits and comments lol)
But even then fell short due to the small community size. If we can get even a glimmer toward that I'd be happy, but for now just dumping stuff on the wiki wholesale would be cool.
atvaark
advanced
Posts: 52
Joined: Fri Aug 28, 2015 3:19 pm
Been thanked: 47 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by atvaark »

atvaark wrote:
Tex wrote: Nice, thought it might be something in the ballpark of stuff already used, thanks (just have to hunt down the lua implementation that bound to be out there lol) having the outside tool would be great.

Just did first test of appending new line to lng file, and using announcelogviewlangid, went good.

Do you think you could also build a tool that takes a text file of strings and gives the hashes? I'm already at 30+ lines I want to add and typing them off the screen isn't going to be fun.
Since that's basically a one liner I'll just upload the application.
It also requires .NET 4.5 and works by dragging text files on it.
In case anyone wants the source:
https://dotnetfiddle.net/mGKGr0
HeartlessSeph
advanced
Posts: 72
Joined: Tue Sep 15, 2015 2:13 am
Has thanked: 2 times
Been thanked: 6 times

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by HeartlessSeph »

Higus wrote:
HeartlessSeph wrote:
Higus wrote:Image
I'm trying to get a separate character Big Boss mod working, but I can't find "Spying Harrier"s staff icon texture. Some of you have it set up so that you can view DDS files in your windows explorer, but I can't get this working so it'd be a massive help if somebody could help find it.
Sure thing, I'll do it later on tonight.
Great. If Snake's icon is found too, that'd be an appreciated find too, my idea is to design the Big Boss icon based off Venom Snake's with a bit of photoshop work.
Here it is: texture1/132e1b1c4c6ab.ftex for Spying Harrier's Icon

And as SolidCal said: e4846d5ef3db.ftex should be Venom Snake's icon.

Also, in case anyone wants them:

texture1/3bd0c011abb19.ftex: Ocelot
texture1/6de249f779a.ftex: Hideo Kojima
texture1/36e35f4fbd194.ftex: Dude with Suit from that one mission
texture1/7645b9014d010.ftex: D-Dog
texture1/24199fc2827.ftex: D-Horse
texture1/39729b8e6d76e.ftex: Quiet
texture1/259798ce94739.ftex: Codetalker
CrazyIvan12
ultra-n00b
Posts: 4
Joined: Fri Oct 23, 2015 6:47 pm
Has thanked: 1 time

Re: Metal Gear Solid 5 Ground Zeroes/Phantom Pain g0s archiv

Post by CrazyIvan12 »

So I've looked through this thread, and either I'm an idiot and missed it, or its not here, but I was wondering if anyone has found the ftex file for Quiet's Sniper Wolf outfit? I want to change her head especially, namely her lips, the yellow/gold thing is a bit weird.
Post Reply