Steam for Linux

Steam for Linux

Erik 25 jan. 2013 às 11:57
How to play Valve Half-Life mods
Here is a short description how to play, I guess, any of the mods that we can find in the installation directory of the Half-Life beta:

First some info about paths: I have steam installing everything to ~/Steam and my Half-Life beta installs in ~/Steam/SteamApps/common/Half-Life
When taking a look at this Half-Life directory it can be noticed we see some familiar names (or at least familiar to those who like to play around with the Half-Life engine before). For instance the folder cstrike hold the libraries for Counter Strike, after seeing that I took a gamble and went to complete my own set of files for Day of Defeat.

What I did: Make a copy of the Half-Life directory called Day of Defeat. Then I proceeded to download HLLib from http://nemesis.thewavelength.net/index.php?p=35 and used this to extract the GCF file for Day of Defeat that I had available in a wineprefix I used for steam before. I used the command `wine HLExtract.exe -p day\ of\ defeat.gcf -e root -d ./ex` to extract the GCF to a directory called 'ex' then I copied the files from this directory to the 'dod' subdirectory of my 'Day of Defeat' directory.
Next start hl_linux with parameter -game dod to launch Day of Defeat.

I expect this approach to work for any of the other Valve mods of which we can find directories with the client libraries in the Half-Life beta.

Enjoy!
< >
A mostrar 1-8 de 8 comentários
Erik 25 jan. 2013 às 12:11 
List of the mods that ought to work:
bshift -> Half-Life Blueshift
czero -> Counterstrike Condition Zero
dmc -> Deathmatch Classic
dod -> Day of Defeat
gearbox -> Half-Life Opposing Force
tfc -> Team Fortress Classic
ricochet -> Ricochet
Dr Gregory House Md 25 jan. 2013 às 12:21 
How about Svencoop?
going poo in CS2 25 jan. 2013 às 12:36 
Oh, I was just about to do this kind of thread. :-)
I can confirm that this works, just did this kind of thing for Ricochet and Team Fotress Classic.
Erik 25 jan. 2013 às 12:44 
Originalmente postado por LinuxDr. Gregory House MD.:
How about Svencoop?
Don't think so. The point is that we need to have the linux libraries, all other parts can be copied from the windows edition.
Ampuj4 25 jan. 2013 às 13:04 
Great. dod was good mod at the times. Loved being sniper. Sven-coop was also awesome mod. And dont forget natural selection either ;)
kickback999 25 jan. 2013 às 16:40 
BTW you dont need to create copies of your half life folder and call them "day of defeat" or "team fortress classic" etc, you just need to place the files you extracted from the gcf into the existing Half-Life folder.
You then run this from the Half-Life folder with the command
LD_LIBRARY_PATH=~/.steam/bin:. LD_PRELOAD=gameoverlayrenderer.so ./hl_linux -game tfc -console
(replace tfc with whatever mod you are trying to run obviously)
TBallS|46|.retired 26 jan. 2013 às 2:20 
huh. i cant work this out.
Erik 26 jan. 2013 às 6:17 
Originalmente postado por kickback999:
BTW you dont need to create copies of your half life folder and call them "day of defeat" or "team fortress classic" etc, you just need to place the files you extracted from the gcf into the existing Half-Life folder.
You then run this from the Half-Life folder with the command
LD_LIBRARY_PATH=~/.steam/bin:. LD_PRELOAD=gameoverlayrenderer.so ./hl_linux -game tfc -console
(replace tfc with whatever mod you are trying to run obviously)

Yes, that is obvious. But I was following the installation model as put forward by the Counter-strike beta.
< >
A mostrar 1-8 de 8 comentários
Por página: 1530 50

Postado a: 25 jan. 2013 às 11:57
Comentários: 8