Steam for Linux > Algemene discussies > Details van topic
Erik 25 jan 2013 om 11:57vm
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!
1-8 van 8 reacties weergegeven
< >
Erik 25 jan 2013 om 12:11nm 
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
[Linux]Dr Gregory House Md 25 jan 2013 om 12:21nm 
How about Svencoop?
POMF 💨 25 jan 2013 om 12:36nm 
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 om 12:44nm 
Origineel geplaatst door 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 om 1:04nm 
Great. dod was good mod at the times. Loved being sniper. Sven-coop was also awesome mod. And dont forget natural selection either ;)
Mara/Kickback 25 jan 2013 om 4:40nm 
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<ubuntu> 26 jan 2013 om 2:20vm 
huh. i cant work this out.
Erik 26 jan 2013 om 6:17vm 
Origineel geplaatst door 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.
1-8 van 8 reacties weergegeven
< >
Per pagina: 15 30 50
Geplaatst op: 25 jan 2013 om 11:57vm
Aantal berichten: 8