Validating counter strike source file

Open up Notepad and save as "[your game here] fix.vbs" make sure that the file type is set to All Files. I will use Portal 2 as an example in this script because that is the game that i originally wrote it for but it should work with any other steam games that get this error. now we will write a section of script that will launch the game if yes is selected.So to start with we will make the popup box to inform the user the purpose of the script. this will run the game if yes is selected on the finished box.According to the official game and player statistics from STEAM, the number of players for Counter-Strike: Source has dropped drastically while the latest Counter-Strike: Global Offensive is the 2nd most played STEAM game after Dota 2.The combination of STEAM players from CS1.6 with CS: S merely takes up 10% of CS: GO.My file is in steamapps\common\Counter-Strike Global Offensive\csgo\cfg, as I'm the only user and steam account on the PC.

now you should have something like this,dim filesys, filetxt Const For Reading = 1, For Writing = 2, For Appending = 8 Set filesys = Create Object("Scripting. Open Text File("C:\Program Files (x86)\Steam\Steam Apps\[steam username]\[gamename]\steam_appid.txt", Forwriting, True) filetxt. Close the filetxt command is used to create or edit a text file in a specified location the Forwriting section means that the script will write to the file nothing more. replace [steam username] with the username you use to log in to steam. (if this doesnt work try using common instead.) replace [gamename] with the name of your game replace [game name id] with one of the names and ids below in this format Portal 2 400[5] Name=Dedicated Server [10] Name=Counter-Strike [20] Name=Team Fortress Classic [30] Name=Day of Defeat [40] Name=Deathmatch Classic [50] Name=Opposing Force [60] Name=Ricochet [70] Name=Half-Life [80] Name=Condition Zero [100] Name=Condition Zero Deleted Scenes [130] Name=Half-Life: Blue Shift [205] Name=Source Dedicated Server [211] Name=Source SDK [215] Name=Source SDK Base [218] Name=Source SDK Base - Orange Box [220] Name=Half-Life 2 [240] Name=Counter-Strike: Source [280] Name=Half-Life: Source [300] Name=Day of Defeat: Source [310] Name=Team Fortress 2 Dedicated Server [320] Name=Half-Life 2: Deathmatch [340] Name=Half-Life 2: Lost Coast [360] Name=Half-Life Deathmatch: Source [380] Name=Half-Life 2: Episode One [400] Name=Portal [420] Name=Half-Life 2: Episode Two [440] Name=Team Fortress 2 [1300] Name=Si N Episodes: Emergence [1317] Name=Sin Episodes SDK [2100] Name=Dark Messiah Might and Magic Single Player [2130] Name=Dark Messiah Might and Magic Multi-Player [2145] Name=Dark Messiah Might and Magic Dedicated Server [2150] Name=Dark Messiah SDK Beta [2400] Name=The Ship [2403] Name=The Ship Dedicated Server [2420] Name=The Ship Single Player [2430] Name=The Ship Tutorial [4000] Name=Garry's Mod [17500] Name=Zombie Panic! Source Dedicated Server [17510] Name=Age of Chivalry [17515] Name=Age of Chivalry Dedicated Server [17520] Name=Synergy [17525] Name=Synergy Dedicated Server [17530] Name=D. It will also give you some idea about writing your own vbscript.If you already know how to set up a vbscript you can skip this step. Dedicated Server [17550] Name=Eternal Silence [17555] Name=Eternal-Silence Dedicated Server [17580] Name=Dystopia [17585] Name=Dystopia Dedicated Server [17700] Name=Insurgency [17705] Name=Insurgency Dedicated Server NOTE: if your operating system is 32 bit then make sure that you write just Program Files instead of Program Files (x86) the vbyesno portion will give the popup box the yes and no buttons allowing other sections of the script to use the result.

Leave a Reply