FileSystem Snippet
Jump to navigation
Jump to search
Mount Other GCF's
Client_dll
cdll_client_int.cpp - Go to about line "622" and add this.
filesystem->AddSearchPath("hl2mp", "GAME"); //hl2 Multiplayer
filesystem->AddSearchPath("hl2", "GAME"); //hl2
filesystem->AddSearchPath("episodic", "GAME"); //hl2 ep1
filesystem->AddSearchPath("dod", "GAME"); //day of defeat
filesystem->AddSearchPath("cstrike", "GAME"); //Counter strike source
filesystem->MountSteamContent(220);
filesystem->MountSteamContent(320);
filesystem->MountSteamContent(300);
filesystem->MountSteamContent(240);
Server_dll
GameInterface.cpp - Go to about line 551 add this.
filesystem->AddSearchPath("hl2mp", "GAME");
filesystem->AddSearchPath("hl2", "GAME");
filesystem->AddSearchPath("episodic", "GAME");
filesystem->AddSearchPath("dod", "GAME");
filesystem->AddSearchPath("cstrike", "GAME");
filesystem->MountSteamContent(220);
filesystem->MountSteamContent(320);
filesystem->MountSteamContent(300);
filesystem->MountSteamContent(240);