Difference between revisions of "Dedicated Server Setup"

From Obsidian Conflict Wiki
Jump to: navigation, search
m
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This is an article on installing the Source dedicated server and extracting the required content to run Obsidian. By following this tutorial, you will be able to run a dedicated server and play Half-Life 2, Episode 1 and Episode 2 single player maps. If you don't wish to run a server with Episode 1 and 2 content, disregard the content mounting for that.
+
__TOC__
 +
{{wip}}
 +
==Server Base==
 +
===Download HLDS Update Tool===
 +
{{Windows
 +
|'''http://www.steampowered.com/download/hldsupdatetool.exe'''
 +
}}
  
==Installing the Dedicated Server==
 
  
Install:
+
{{Linux
http://www.steampowered.com/download/hldsupdatetool.exe
+
|'''wget http://www.steampowered.com/download/hldsupdatetool.bin'''
 +
}}
  
Create a bat file and throw this inside:
 
hldsupdatetool -command update -game "tf" -dir C:\***srcds folder***
 
And run the bat, with the ***srcds folder*** changed to your srcds directory.
 
This will download TF2 content so it sets up your directories.
 
  
While your at it, download "Counter-Strike Source" content as well. Just replace the "tf" with "Counter-Strike Source" and run the bat again.
+
{{Mac
 +
|''Not available yet''
 +
}}
  
You should now have an orangebox folder.
+
===Install HLDS Update Tool===
Before you enter this folder right click on the "hl2" folder which was downloaded by the hldsupdatetool when you downloaded CS:S
+
{{Windows
and press copy.
+
|'''hldsupdatetool.exe''' (Don't run it in the destination folder)
 +
}}
  
Enter the orangebox folder and paste the hl2 folder you copied previously. You will need this for models and such.
+
{{Linux
 +
|'''chmod +x hldsupdatetool.bin'''
 +
|'''./hldsupdatetool.bin'''
 +
}}
  
 +
{{Mac
 +
|''Not available yet''
 +
}}
  
Inside the orangebox folder, create two new folders, "ep2" and "episodic"
+
===Download OB Mod Base===
 +
-dir . refers to the destination folder which it normally is installed into (meaning that if you run those commands outside of the destination folder then you need to specifiy it via -dir):
  
==Extracting Source Game Content==
+
{{Windows
 +
|C:\HLServer
 +
}}
  
Now we will start extracting content from your steam steamapps GCF files.
+
{{Linux
 +
|/home/steam
 +
}}
  
'''BASE HALF-LIFE 2:'''
+
{{Mac
 +
|''Not available yet''
 +
}}
  
-source 2007 binaries.gcf-
 
  
Extract everything from the "hl2" folder to the hl2 folder in your dedicated servers orangebox folder. Overwriting.
+
----
  
-source 2007 shared materials.gcf-
 
  
Extract everything from the "hl2" folder to the hl2 folder in your dedicated servers orangebox folder. Overwriting.
+
{{Windows
 +
|'''hldsupdatetool.exe -command update -game "orangebox" -dir .'''
 +
}}
  
-source 2007 shared models.gcf-
+
{{Linux
 +
|'''./steam -command update -game "orangebox" -dir .'''
 +
}}
  
Extract everything from the "hl2" folder to the hl2 folder in your dedicated servers orangebox folder. Overwriting.
+
{{Mac
 +
|''Not available yet''
 +
}}
  
-source 2007 shared sounds.gcf-
+
===Setting up the folder structure===
 +
You should now have a folder structure that looks pretty much like this:
  
Extract everything from the "hl2" folder to the hl2 folder in your dedicated servers orangebox folder. Overwriting.
+
{{Windows
 +
|hl2\
 +
|orangebox\
 +
|orangebox\bin\
 +
|orangebox\hl2\
 +
|orangebox\platform\
 +
|orangebox\reslists\
 +
|orangebox\hlds_steamgames.vdf
 +
|orangebox\srcds.exe
 +
|orangebox\steam_appid.txt
 +
|clientregistry.blob
 +
|hldsupdatetool.exe
 +
|hldsupdatetool_<tool version>.mst
 +
|installrecord.blob
 +
}}
  
'''BASE EPISODE 1:'''
+
{{Linux
 +
|.steam\
 +
|.steam\clientregistry.blob
 +
|hl2\
 +
|orangebox\
 +
|orangebox\bin\
 +
|orangebox\hl2\
 +
|orangebox\platform\
 +
|orangebox\reslists\
 +
|orangebox\hlds_steamgames.vdf
 +
|orangebox\srcds_<arch depending>
 +
|orangebox\srcds_run
 +
|orangebox\steam_appid.txt
 +
|hldsupdatetool.bin
 +
|installrecord.blob
 +
|steam
 +
|test1.so
 +
|test2.so
 +
|test3.so
 +
}}
  
-episode 1 shared.gcf-
 
  
Extract everything from the "episodic" folder to the episodic folder in your dedicated servers orangebox folder.
+
{{Mac
 +
|''Not available yet''
 +
}}
  
'''BASE EPISODE 2:'''
 
  
-episodic 2007 shared.gcf-
+
===Setup the Campaign Content===
  
Extract everything from the "episodic" folder to the episodic folder in your dedicated servers orangebox folder. Overwriting.
+
All you need is [[Campaign-Extract]]
  
-episode two content.gcf-
 
  
Extract everything from the "ep2" folder to the ep2 folder in your dedicated servers orangebox folder.
+
==Additional Game Content==
 +
===Counter-Strike: Source===
 +
{{ToDo}}
  
-episode two maps.gcf-
+
===Day of Defeat: Source===
 +
{{ToDo}}
  
Extract everything from the "ep2" folder to the ep2 folder in your dedicated servers orangebox folder.
+
===Team Fortress 2===
 
+
'''''Not useable yet'''''
-episode two materials.gcf-
 
 
 
Extract everything from the "ep2" folder to the ep2 folder in your dedicated servers orangebox folder.
 
 
 
 
 
==Installing Obsidian Mod Content==
 
Copy a fresh install of the "obsidiandev" folder to your dedicated servers orangebox folder.
 
For mounting content, add blank files to the "obsidiandev\mounts" folder. These files should have no extension.
 
 
 
Names:
 
css
 
dod
 
ep2
 
episodic
 
hls
 
lostcoast
 
 
 
 
 
Now you can start the srcds.exe and load the mod.
 
 
 
==Half-Life Source==
 
 
 
Create a hl1 folder in your dedicated servers orangebox folder.
 
 
 
-half-life source.gcf-
 
 
 
Extract everything from the "hl1" folder to the hl1 folder in your dedicated servers orangebox folder.
 
  
 +
==Download & Install Obsidian==
 +
{{ToDo}}
  
 +
{{stub}}
 
[[Category:ServerOP]]
 
[[Category:ServerOP]]

Latest revision as of 16:37, 8 August 2011

WIP.png This page is still a Work In Progress

Server Base

Download HLDS Update Tool

WindowsWindows


LinuxLinux


MacMac

Not available yet

Install HLDS Update Tool

WindowsWindows

hldsupdatetool.exe (Don't run it in the destination folder)

LinuxLinux

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin

MacMac

Not available yet

Download OB Mod Base

-dir . refers to the destination folder which it normally is installed into (meaning that if you run those commands outside of the destination folder then you need to specifiy it via -dir):

WindowsWindows

C:\HLServer

LinuxLinux

/home/steam

MacMac

Not available yet




WindowsWindows

hldsupdatetool.exe -command update -game "orangebox" -dir .

LinuxLinux

./steam -command update -game "orangebox" -dir .

MacMac

Not available yet

Setting up the folder structure

You should now have a folder structure that looks pretty much like this:

WindowsWindows

hl2\
orangebox\
orangebox\bin\
orangebox\hl2\
orangebox\platform\
orangebox\reslists\
orangebox\hlds_steamgames.vdf
orangebox\srcds.exe
orangebox\steam_appid.txt
clientregistry.blob
hldsupdatetool.exe
hldsupdatetool_<tool version>.mst
installrecord.blob

LinuxLinux

.steam\
.steam\clientregistry.blob
hl2\
orangebox\
orangebox\bin\
orangebox\hl2\
orangebox\platform\
orangebox\reslists\
orangebox\hlds_steamgames.vdf
orangebox\srcds_<arch depending>
orangebox\srcds_run
orangebox\steam_appid.txt
hldsupdatetool.bin
installrecord.blob
steam
test1.so
test2.so
test3.so


MacMac

Not available yet


Setup the Campaign Content

All you need is Campaign-Extract


Additional Game Content

Counter-Strike: Source

Template:ToDo

Day of Defeat: Source

Template:ToDo

Team Fortress 2

Not useable yet

Download & Install Obsidian

Template:ToDo

Stub.png This page is a stub. Please help us by expanding it.
Thank you!