Talk:Gameinfo.txt
Is there any way to mount more than one gcf? --Megiddo 10:19, 29 Jun 2005 (PDT)
Garry's Mod Eight and higher does it with GameMount.txt.
It seems that he did it via some code, that it's not part of the engine --Megiddo 19:22, 30 Jun 2005 (PDT)
- Use something like this:
filesystem->AddSearchPath("cstrike", "GAME");
filesystem->MountSteamContent(220);
filesystem->MountSteamContent(240);
filesystem->MountSteamContent(320);
- In DLLInit() for example. --Jerry (MrU on VERC) 04:54, 27 Dec 2005 (PST)
Anyone know the gameinfo.txt entry which will fill the "manual" field in the mods properties? I have tried: manual "http://dystopia-game.com/newplayerguide", no workies. --Fuzzy 22 Oct 2005
Contents
- 1 Half-Life 1?
- 2 Boolean?
- 3 Titles are not correct displayed
- 4 gameinfo.txt's for older games?
- 5 Filename capitalization
- 6 Mounting GCF's
- 7 A fix for the icons
- 8 Valid Gameinfo Format
- 9 Counter Strike: Global Offensive Mounting?
- 10 mounting cleanup
- 11 Lots of GameBin
- 12 I think the translated page names should be updated to just 'gameinfo.txt'.
- 13 SearchPaths game_lv key
- 14 |all_source_engine_paths| Doesn't seem to work properly
Half-Life 1?
How about on Half-Life 1? Is it possible to change game titles and add icons in for them? --MenZa 9 Nov 2005
- liblist.gam would be your place to start Amckern
Boolean?
nocrosshair boolean //Hides the crosshair selection menu in Options' Multiplayer tab. nohimodel boolean //Unknown nomodels boolean //Unknown
is it a requirement for these to have a 1/0 or does true/false also work. I messed around with it but i didnt see a difference if i changed it or if i removed them... Bob 21:07, 26 Dec 2005 (PST)
1 and 0 only—ts2do (Talk | @) 00:24, 27 Dec 2005 (PST)
Titles are not correct displayed
"GameInfo" { // This is what shows up in the 'Third Party Games' area of the Steam games list. game "Pheonix Squad" title "Pheonix Squad" title2 "Protectors of City 23"
So the Problem is that in-game the Titles were written in the wrong font (I think the Icons for the Weapons etc.). I don't know if this is the right place to post (it is the first post here) but I hope you can help me.
- Clientscheme.res—ts2do 10:07, 23 Apr 2006 (PDT)
- Feel free to ransack MINERVA for any useful files - I had to do some font-overriding in that as well. Oh, and it's spelt 'phoenix', 'phœnix' if you're being really pretentious... ;-) —Cargo Cult (info, talk) 12:22, 23 May 2006 (PDT)
Anyone have problems w/ the little icon in steam not showing up? I made a 16x16 .tga pic w/ 32 bit colors, put it in same directory as gameinfo.txt and set the icon field but it does not show up. Any ideas? Thanks. --Daktor 11:38, 23 May 2006 (PDT)
I'm having the same problem. In fact, none of my 3rd party mods are registering the gameinfo.txt keys. (such as icon, developer, devloper_url, etc) I'm reinstalling the Source SDK right now. --FViral 15:23, 28 May 2006 (PDT)
Completely uninstalled Steam and reinstalled it, same problem. If anyone can shine some light on the problem I'd be thanful. --FViral 19:25, 28 May 2006 (PDT)
Yes...since the "My Media" update, most of the mod support has been revoked..it should be fixed soon—ts2do 20:10, 28 May 2006 (PDT)
gameinfo.txt's for older games?
OK, I recently bought the half life 1 anthology and I would like to try mapping for team fortress classic. I have the most recent version of hammer and went to set up for tfc only to find none of the 4 half life 1 games had an gameinfo. I've searched google and this developer wiki but found nothing that seems helpfull... Has anyone got a gameinfo.txt or even a tutorial for setting up in the latest version of hammer for tfc?
- gameinfo.txt is for Source games. HL1 games like TFC use liblist.gam, but it isn't needed to map. You're barking up the wrong tree. :-) Google around for a guide to setting up Hammer for HL1 games on Steam and you should be OK. --TomEdwards 10:30, 20 Jun 2006 (PDT)
- OK, thanks, I still can't find anything... Do I have to use an older version of hammer or something? This is really confusing me :D
You need the Half Life SDK if it's still available. It contains a Half Life 1 version of Hammer. Adam.GameDev
Filename capitalization
Jeff, shouldn't we use real filenames, i.e. sans capitals? --Tourorist 14:08, 21 Sep 2007 (PDT)
- Actually, those are the real filenames, with capitals. --JeffLane 14:11, 21 Sep 2007 (PDT)
- In my Steam cache the ratio of plain vs. capitalized is 5 to 7, with even TF2 using the plain naming convention (an artifact of the beta?), so I wasn't quite sure about this one. You were right though, as it's mostly the mods who disregard this norm. --Tourorist 01:32, 22 Sep 2007 (PDT)
Mounting GCF's
I've noticed that the article doesn't mentions on how to mount GCF's correctly. In order to mount the CSS content, i had to add the GCF ID and change the "game sourcetest" to "game cstrike", otherwise it wouldn't mount the content. The same thing was done in Minverva, except it uses "game episodic". For Episode 2, this would probably be "game ep2", since it seems to rely on the game's own file directory. Solokiller 11:35, 3 Feb 2008 (PST)
- Nevermind, i can't play the maps i make because it can't load assets, it's like CSS without being able to start servers. Solokiller 08:47, 14 Feb 2008 (PST)
A fix for the icons
I was having trouble with icons and if you are too heres the fix:
You can use Paint.net as a free application to create your TGA, and ICO file if you google the ico file extension for paint.net :D
So, once you have your 16x16 TGA, save as mygameicon or whatever, save it in you mods steam directory i.e. sourcemods\mymod, and in mymod folder make a folder called resource if its not there. Save your TGA in resource as 16x16, name it something you can remember and SPELL correctly lol, then uncheck Compress (RLE) and make it 32 bit, save it into the resource folder in mod directory, and then create an ico file thats about 32x32, thats what i did, name it THE SAME NAME, save it in resource also, and in the gameinfo.txt where you put in the mod icon path, type "resource\iconname" and the icon should show up looking badass on steam :D
Valid Gameinfo Format
When starting up one of the mods I have, Steam gives me an error saying "gameinfo.txt not valid format "c:\program files\steam\SteamApps\SourceMods\Scripts\gameinfo.txt is not valid format." The gameinfo is a .txt file, so I do not know what the problem is. It means that your gameinfo.txt can't be loaded because you did something wrong.
- Check the character encoding. It needs to be ANSI. --TomEdwards 12:53, 7 August 2010 (UTC)
Counter Strike: Global Offensive Mounting?
How would you mount csgo with SDK Base 2013? This is what I've got:
game |all_source_engine_paths|../Counter Strike-Global Offensive/csgo/pak01.vpk
This doesn't work as Counter Strike-Global Offensive folder has spaces in the name, and you can't wrap the file path in quotes. Is there a way to get this to mount properly?
--Valax321 22:34, 24 August 2013 (PDT)
I might be a bit late, but how you would load it is:
game "|gameinfo_path|../../Common/Counter Strike-Global Offensive/csgo/pak01.vpk" -Yiffy Fox
mounting cleanup
I think the second half of this page needs to be updated by someone that knows it better than me. All I know is that it's wrong or it's just very poorly written for someone that isn't familiar with mounting. Also, I tried the first example in ep2, episodic, hl2, and portal and it worked in none of them. Other people also say this page never helps their issues. Pinsplash (talk) 11:09, 17 July 2018 (UTC)
Lots of GameBin
Its real to add 2 or bigger number of GameBin?
I think the translated page names should be updated to just 'gameinfo.txt'.
"The GameInfo.txt File Structure" is a largely redundant name as the pages describe the file structure along with gameinfo.txt itself, and also it prevents {{lang}} from working. - Amicdict (talk) 03:24, 9 September 2021 (PDT)
- I'm going to rename the translated pages, since it seems no one has objected. If any problems occur, just undo the rename/move change. - Amicdict (talk) 00:12, 11 September 2021 (PDT)
SearchPaths game_lv key
Despite being used in the Example, the game_lv key is not even brought up under SearchPaths Keys. What does it do? Should there be a placeholder as to avoid the confusion of thinking it is an invalid key?
--Lonke (talk) 19:27, 14 March 2022 (PDT)
|all_source_engine_paths| Doesn't seem to work properly
I spent probably too many hours trying to figure out why my mod wasn't loading the necessary VPKs even though I had them loaded in my gameinfo.txt. I would get errors relating to missing models or materials in both hammer and the mod itself. I was able to get it working by replacing all occurrences of "|all_source_engine_paths|" with "../../common/Source SDK Base 2013 Singleplayer/" for a mod that is located in the "$SteamDIR/steamapps/sourcemods/" directory.
Also the example used on this page using Half-Life 2's gameinfo.txt is not a good reference and can be very confusing for someone making a mod that needs hl2 resources in some of the search paths, but not others. It doesn't explain very well what should be changed for the mod to properly run using different resources than from straight HL2.