Source SDK Base 2013 Gameinfo.txt... WTF?!
The new Gameinfo.txt is 100% confusing my arse. Can somebody who is enlightened write a lengthy post explaining what the hell is going on in it?
I understood the old one fine, it was super simple. To have a game that required nothing other than the SDK, it would just look like this:
The |all_source_engine_paths|hl2 would mount the required Source engine assets, but the user did not have to own HL2 at all. So it was super simple: search the mod's path, and also search Source engine's path (always). Mounting additional games was as easy to adding in another search path and a matching AdditionalContentID line to go along with it.
Now, using the 2013 version, it seems like a basic Source mod is searching 20 different locations. So I have 2 main questions:
1. What does the most basic Gameinfo.txt look like in 2013? One that does not mount any content other than the SDK and the mod.
2. What does a basic Gameinfo.txt that mounts TF2 resources as well look like in 2013?
I'd really appreciate some help here. Everything has gone smoothly with porting my mod over to 2013, except I can't figure out how to properly modify the Gameinfo.txt.
Reference: https://github.com/ValveSoftware/source ... meinfo.txt
I understood the old one fine, it was super simple. To have a game that required nothing other than the SDK, it would just look like this:
- Code: Select all
"GameInfo"
{
FileSystem
{
SteamAppId 218
ToolsAppId 211
SearchPaths
{
Game |gameinfo_path|.
Game |all_source_engine_paths|hl2
}
}
}
The |all_source_engine_paths|hl2 would mount the required Source engine assets, but the user did not have to own HL2 at all. So it was super simple: search the mod's path, and also search Source engine's path (always). Mounting additional games was as easy to adding in another search path and a matching AdditionalContentID line to go along with it.
Now, using the 2013 version, it seems like a basic Source mod is searching 20 different locations. So I have 2 main questions:
1. What does the most basic Gameinfo.txt look like in 2013? One that does not mount any content other than the SDK and the mod.
2. What does a basic Gameinfo.txt that mounts TF2 resources as well look like in 2013?
I'd really appreciate some help here. Everything has gone smoothly with porting my mod over to 2013, except I can't figure out how to properly modify the Gameinfo.txt.
Reference: https://github.com/ValveSoftware/source ... meinfo.txt