ARMARModSVNInstruction

From DigitalBlacksmith

Jump to: navigation, search

[edit] Installing the ARMAR Mod Code from SVN

1) Create a directory to hold the source tree.

e.g.

C:\ARMAR\ARMARMod

2) Checkout the source code here into the directory you created in (1).

3) Create a new directory titled ARMAR in your Steam SourceMod folder.

e.g. add:

C:\Steam\steamapps\SourceMods

4) Checkout the content here into the directory you added in (3).

5) Backup your Steam GameConfig file(s). Mine are here:


OrangeBox (EP2):

C:\Steam\steamapps\steamuser\sourcesdk\bin\orangebox\bin\GameConfig.txt

Pre OrangeBox (EP1):

C:\Steam\steamapps\steamuser\sourcesdk\bin\ep1\bin\GameConfig.txt


6) Now, open up the GameConfig.txt and add code that looks like this.

Pay attention to:

  • steamuser needs to match a directory in your steam tree. Should look like your userid
  • All the steam paths need to reflect your steam tree. Default uses Program Files
  • Make sure you watch the paths for OrangeBox versus EP1

PreOrangeBox (EP1)

"ARMARSP"
{
	"GameDir"		"c:\steam\steamapps\SourceMods\ARMARSP"
	"hammer"
	{
		"GameData0"		"c:\steam\steamapps\SourceMods\ARMARSP\armar.fgd"
		"GameData1"		"c:\steam\steamapps\steamuser\sourcesdk\bin\ep1\bin\halflife2.fgd"
		"TextureFormat"		"5"
		"MapFormat"		"4"
		"DefaultTextureScale"		"0.250000"
		"DefaultLightmapScale"		"16"
		"GameExe"		"c:\steam\steamapps\steamuser\half-life 2\hl2.exe"
		"DefaultSolidEntity"		"func_detail"
		"DefaultPointEntity"		"ai_ally_manager"
		"BSP"		"c:\steam\steamapps\steamuser\sourcesdk\bin\ep1\bin\vbsp.exe"
		"Vis"		"c:\steam\steamapps\steamuser\sourcesdk\bin\ep1\bin\vvis.exe"
		"Light"		"c:\steam\steamapps\steamuser\sourcesdk\bin\ep1\bin\vrad.exe"
		"GameExeDir"		"c:\steam\steamapps\steamuser\half-life 2"
		"MapDir"		"c:\steam\steamapps\SourceMods\ARMARSP\mapsrc"
		"BSPDir"		"c:\steam\steamapps\SourceMods\ARMARSP\maps"
		"CordonTexture"		"tools\toolsskybox"
		"MaterialExcludeCount"		"0"
	}
}

Note the reference to the mods custom fgd file.

7) The last thing you need to do is tell the VS2005 project to copy the dll to the right place. It is recommended that you keep a seperate solution file for each machine.

  • Open up the game's solution file (e.g. homeGame_HL2MP-2005.sln)
  • Right Click on the Client (HL2MP) project. Go to properties Custom Build Step
  • The defaults look like this:
Command Line:  

if exist "c:\steam\steamapps\SourceMods\ARMAR\bin\client.dll" attrib -r "c:\steam\steamapps\SourceMods\ARMAR\bin\client.dll"
copy "$(TargetDir)"client.dll "c:\steam\steamapps\SourceMods\ARMAR\bin"
if exist "c:\steam\steamapps\SourceMods\ARMAR\bin\client.pdb" attrib -r "c:\steam\steamapps\SourceMods\ARMAR\bin\client.pdb"
if exist "$(TargetDir)"client.pdb copy "$(TargetDir)"client.pdb "c:\steam\steamapps\SourceMods\ARMAR\bin\client.pdb"

Description:  Copying to destination folder

Outputs:  "c:\steam\steamapps\SourceMods\ARMAR\bin\client.dll";"c:\steam\steamapps\SourceMods\ARMAR\bin\client.pdb"

You just need to change the paths to reflect the locations of your ARMAR content dir

  • Do the same thing for the server project

--Admin 12:28, 2 February 2008 (EST)

OK..there is an issue is you are running VS2005 without SP1.

Ensure you upgrade VS2005 to include SP1

Then you can get it working.

The project file in the svn repos that starts with eva***-2005.sln is working in my home box.

--Admin 00:52, 5 February 2008 (EST) server.dll's are more to follow..

Personal tools