Difference between revisions of "Dedicated Server Setup/es"

From Obsidian Conflict Wiki
Jump to: navigation, search
(Paso 4: Configurando la estructura de ficheros)
(Campaign Content)
Line 128: Line 128:
 
{{Mac|''No disponible en este momento.''}}
 
{{Mac|''No disponible en este momento.''}}
  
==Campaign Content==
+
==Contenido de las Campañas==
Campaign content is stored only in GCFs downloadable only via the Steam client, so be prepared to upload the extracted files to your server. You will need [http://nemesis.thewavelength.net/index.php?p=25 this application] in order to proceed.
+
El contenido de las campañas es solamente guardado en los GCFs que se descargan a través del cliente de Steam, así que preparate para subir los archivos extraídos de ellos a tu servidor. Necesitarás [http://nemesis.thewavelength.net/index.php?p=25 esta aplicación] para poder continuar.
  
Things are a little easier for Windows server operators with Remote Desktop access to their servers since they can simply install Steam on their servers and do everything directly there.
+
El proceso es un poco más fácil para los que manejen servidores Windows con el Escritorio Remoto a sus servidores ya que simplemente pueden instalar Steam en el servidor y hacer todo directamente allí.
  
'''Note:''' The Obsidian Team might offer to copy the extracted GCF content onto servers via their Windows server to save upload time in future, in which case you can safely ignore this section.
+
'''NotA:''' El equipo de Obsidian Conflict quizá ofrezca copiar el contenido extraído de los GCF en los servidores a través de su servidor de Windows para ahorrar tiempo en el futuro, en cuyo caso podrás ignorar esta sección.
  
  
 
===Half-Life: Source===
 
===Half-Life: Source===
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
 +
 
====half-life source.gcf====
 
====half-life source.gcf====
Extract everything from the <tt>hl1</tt> folder (in the GCF) to your dedicated server's <tt>orangebox/hl1</tt> folder, creating the folder if it doesn't exist.
+
Extrae todo de la carpeta <tt>hl1</tt> (en el GCF) a tu carpeta <tt>orangebox/hl1</tt> de tu servidor dedicado, creando la carpeta si no existe.
 
</div>
 
</div>
  
Line 145: Line 146:
 
===Half-Life Deathmatch: Source===
 
===Half-Life Deathmatch: Source===
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
''Incompatible at the time of writing.''
+
''Incompatible en este momento.''
 
</div>
 
</div>
  
Line 151: Line 152:
 
===Half-Life 2===
 
===Half-Life 2===
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
 +
 
====half-life 2 content.gcf====
 
====half-life 2 content.gcf====
Extract the <tt>maps</tt> folder from the <tt>hl2</tt> folder (in the GCF) into your dedicated server's <tt>orangebox/hl2</tt> folder.
+
Extrae la carpeta <tt>maps</tt> de la carpeta <tt>hl2</tt> (en el GCF) a tu carpeta <tt>orangebox/hl2</tt> de tu servidor.
 
====source 2007 binaries.gcf====
 
====source 2007 binaries.gcf====
 
====source 2007 shared materials.gcf====
 
====source 2007 shared materials.gcf====
Line 188: Line 190:
 
For all of the above GCFs (<u>in given order</u>), extract everything from the <tt>ep2</tt> folder (in the GCF) into your dedicated server's <tt>orangebox/ep2</tt> folder, creating the folder if it doesn't exist and overwriting if prompted to do so.
 
For all of the above GCFs (<u>in given order</u>), extract everything from the <tt>ep2</tt> folder (in the GCF) into your dedicated server's <tt>orangebox/ep2</tt> folder, creating the folder if it doesn't exist and overwriting if prompted to do so.
 
</div>
 
</div>
 
 
===Half-Life 2: Episode Three===
 
<div style="padding: 0.5em 1em 0.5em 1em; border: 1px dashed #2f6fab; color: black; background-color: #f9f9f9; line-height: 1.1em;">
 
You must be living in the future.
 
</div>
 
 
  
 
==Additional Game Content==
 
==Additional Game Content==

Revision as of 19:29, 11 July 2012

WIP.png This page is still a Work In Progress

"In translating process"

This page was created since I can't update the one here. I'm still working on it (but don't have enough time to do it all at once), so it may seem incomplete. - TESLA-X4 12:01, 3 April 2011 (CEST)

Pre-requisitos

  • Entender de forma básica las rutas del los archivos del systema (p.e. orangebox/hl2 se refiere a la carpeta hl2 dentro de orangebox, no ambas carpetas), y las diferentes formas de representar una ruta en Windows y *nix (p.e. \ en Windows es lo mismo que / en UNIX [y parecidos]).
  • Entender de forma básica el interfaz de linea de comandos del sistema operativo (p.e. Command Prompt para Windows y erminales para Linux y Mac OS).
  • Poseer una conexión de banda ancha rápida (preferiblemente una sin un límite de transferencia de datos) para prevenir una espera prematura a las subidas para completarse.

Nota: En el momento en que se ha escrito esto, no hay binarios disponibles para Linux y Mac OS.

Instalación del servidor

Paso 1: Descargar HLDS Update Tool

WindowsWindows

Descarga este archivo a un lugar temporal: http://www.steampowered.com/download/hldsupdatetool.exe

LinuxLinux

Adaptado de http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920

En una ventana del Terminal (En Ubuntu: Aplicaciones → Accesorios → Terminal), ejecuta los siguientes comandos:
mkdir srcds_l
cd srcds_l
wget http://www.steampowered.com/download/hldsupdatetool.bin

MacMac

No disponible en el tiempo en el que se ha escrito esto.


Paso 2: Instalar el HLDS Update Tool

WindowsWindows

Adaptado de http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093


Esto podría ayudar : http://planethalflife.gamespy.com/View.php?view=HL2Guides.Detail&id=4&game=3
.
Haz doble click en hldsupdatetool.exe y sigue las instrucciones dadas por el instalador.
Para este tutorial, se supone que has instalado el server en c:\srcds.
Abre una Ventana de Comandos (Inicio → Accesorios → Ventana de Comandos) y ejecuta los siguientes comandos:
c:
cd srcds
hldsupdatetool

Una versión actualizada del hldsupdatetool será de inmediato descargada para reemplazar el instalado por el instalador.

LinuxLinux

Adaptado de http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin
./steam

Una version de steam (el ejecutable) será descargada para reemplazar el instalado por el instalador ./hldsupdatetool.bin.

MacMac

No disponible en este momento.

Paso 3: Descargar los archivos base del Servidor

WindowsWindows

Adaptado from http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093

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

Una explicación del comando:
hldsupdatetool.exe: El ejecutable a funcionar.
-command update: Omnipresente, nunca omitas esto.
-game "<game>": El conjunto de archivos a descargar, pon list en su lugar para ver que puede ser descargado.
-dir <directory|.>: El directorio para instalar los archivos, pon '.' para usar automáticamente el directorio en el que se encuentra hldsupdatetool.

Los archivos base del servidor serán descargados. Llevará un tiempo, así que no te quedes mirando a la ventana esperando a que termmine. ;)

LinuxLinux

Adaptado from http://www.srcds.com/db/engine.php?subaction=showfull&id=1098643920

En la Terminal en que la que hemos hecho los pasos 1 y 2, ejecuta el siguiente comando:
./steam -command update -game "orangebox" -dir .

A breakdown of the command:
./steam: El ejecutable a funcionar.
-command update: Omnipresente, nunca omitas esto.
-game "<game>": El conjunto de archivos a descargar, pon list en su lugar para ver que puede ser descargado.
-dir <directory|.>: El directorio para instalar los archivos, pon '.' para usar automáticamente el directorio en el que se encuentra steam.

Los archivos base del servidor serán descargados. Llevará un tiempo, así que no te quedes mirando a la ventana esperando a que termmine.;)

MacMac

No disponible en este momento.

Paso 4: Configurando la estructura de ficheros

Después de que el Paso 3 sea completado, deberías tener algo como esto:

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_linux
orangebox\srcds_run
orangebox\steam_appid.txt
hldsupdatetool.bin
InstallRecord.blob
steam
test1.so
test2.so
test3.so

MacMac

No disponible en este momento.


Ahora, debido a que VALVe no configuró los ficheros correctamente en su servidor, tendrás que arreglarlo tú mismo.

Enfocado en el GUI:

Borra la carpeta orangebox/hl2 y copia la carpeta hl2 (la de afuera) en su lugar.

Enfocado en la línea de comandos:

WindowsWindows

En la misma Ventana de Comandos usada en los pasos anteriores, ejecuata los siguientes comandos:
rmdir /s orangebox\hl2
xcopy /s /e hl2 orangebox

LinuxLinux

En la misma Terminal de los pasos anteriores, ejecuta los siguientes comandos:
rm -R orangebox/hl2
cp -R hl2 orangebox

MacMac

No disponible en este momento.

Contenido de las Campañas

El contenido de las campañas es solamente guardado en los GCFs que se descargan a través del cliente de Steam, así que preparate para subir los archivos extraídos de ellos a tu servidor. Necesitarás esta aplicación para poder continuar.

El proceso es un poco más fácil para los que manejen servidores Windows con el Escritorio Remoto a sus servidores ya que simplemente pueden instalar Steam en el servidor y hacer todo directamente allí.

NotA: El equipo de Obsidian Conflict quizá ofrezca copiar el contenido extraído de los GCF en los servidores a través de su servidor de Windows para ahorrar tiempo en el futuro, en cuyo caso podrás ignorar esta sección.


Half-Life: Source

half-life source.gcf

Extrae todo de la carpeta hl1 (en el GCF) a tu carpeta orangebox/hl1 de tu servidor dedicado, creando la carpeta si no existe.


Half-Life Deathmatch: Source

Incompatible en este momento.


Half-Life 2

half-life 2 content.gcf

Extrae la carpeta maps de la carpeta hl2 (en el GCF) a tu carpeta orangebox/hl2 de tu servidor.

source 2007 binaries.gcf

source 2007 shared materials.gcf

source 2007 shared models.gcf

source 2007 shared sounds.gcf

half-life 2 2007 base content.gcf

For all of the above GCFs (in given order, with source 2007 binaries.gcf being extracted first and half-life 2 2007 base content.gcf being last), extract the hl2 folder (in the GCFs) into your dedicated server's orangebox/hl2 folder, overwriting if prompted to do so.


Half-Life 2: Lost Coast

Huh?  :V Template:Todo


Half-Life 2: Episode One

episode 1 shared.gcf

Extract everything from the episodic folder (in the GCF) into your dedicated server's orangebox/episodic folder, creating the folder if it doesn't exist.

half-life 2 episode one.gcf

Extract the maps folder from the episodic folder (in the GCF) into your dedicated server's orangebox/episodic folder.

episodic 2007 shared.gcf

Extract everything from the episodic folder (in the GCF) into your dedicated server's orangebox/episodic folder, overwriting if prompted to do so.

episode one 2007 content.gcf

Extract everything from the episodic folder (in the GCF) into your dedicated server's orangebox/episodic folder, and everything from the hl2 folder (in the GCF) into your dedicated server's orangebox/hl2 folder, overwriting if prompted to do so.


Half-Life 2: Episode Two

episode two content.gcf

episode two maps.gcf

episode two materials.gcf

For all of the above GCFs (in given order), extract everything from the ep2 folder (in the GCF) into your dedicated server's orangebox/ep2 folder, creating the folder if it doesn't exist and overwriting if prompted to do so.

Additional Game Content

Note: If you download any of the following (sans Portal) using the HLDS Update Tool after downloading orangebox, you will be forced to download a new set of engine binaries incompatible with the current release of Obsidian Conflict. A telltale sign that this has occurred is when you see an engine error along the lines of SetupArrayProps_R: array prop '(null)' is at index zero or Host_Error: IDLLFunctions::DLLInit returned false when you try to start the server. To workaround that, simply rename the bin folder (inside orangebox) to something else (e.g. bin_se2007) before downloading the game's files. On completion, delete the newly created bin folder and rename the old one back to bin.

For the curious, the reason for this is that almost all official Valve games now run on Source Engine 2009, but most mods (sans Garry's Mod) continue to run on the older Source Engine 2007 (Source SDK Base 2007). These two versions are incompatible with each other, and Valve has yet to release a version of Source SDK Base for Source Engine 2009.

Counter-Strike: Source


Day of Defeat: Source


Portal

Incompatible at the time of writing.


Team Fortress 2

Incompatible at the time of writing.


Downloading And Installing Obsidian

Copy the obsidian folder from a fresh install of Obsidian Conflict into your dedicated server's orangebox folder. Template:Todo


Mounting Content

Content mounts are controlled by a set of files in the obsidian/mount folder. Each file determines whether or not the respective game's content is mounted. These files are merely blank files without any extensions - their contents do not matter since the mod merely checks if the file is there, mounting the content if the file is present. Valid file names are:

css ↔ Counter-Strike: Source

dod ↔ Day of Defeat: Source

ep2 ↔ Half-Life 2: Episode Two

episodic ↔ Half-Life 2: Episode One

hls ↔ Half-Life: Source

lostcoast ↔ Half-Life 2: Lost Coast

Template:Todo


Still in progress, give me more time, will ya?