FileSystem Snippet: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Mount Other GCF's=
#REDIRECT [[Mounting other Content]]
==Client_dll==
cdll_client_int.cpp - Go to about line "622" and add this.
<pre>
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);
</pre>
 
==Server_dll==
GameInterface.cpp - Go to about line 551 add this.
<pre>
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);
</pre>
 
[[Category:Snippets]]

Revision as of 12:17, 12 June 2008