Steam for Linux > 일반 토론 > 제목 정보
Erik 2013년 1월 25일 오전 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!
8개 중 1-8 표시중
< >
Erik 2013년 1월 25일 오후 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
[Linux]Dr Gregory House Md 2013년 1월 25일 오후 12시 21분 
How about Svencoop?
/ˌtʃaɪˈniːz suːp/ 2013년 1월 25일 오후 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 2013년 1월 25일 오후 12시 44분 
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 2013년 1월 25일 오후 1시 04분 
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 2013년 1월 25일 오후 4시 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<ubuntu> 2013년 1월 26일 오전 2시 20분 
huh. i cant work this out.
Erik 2013년 1월 26일 오전 6시 17분 
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.
8개 중 1-8 표시중
< >
페이지당: 15 30 50
게시된 날짜: 2013년 1월 25일 오전 11시 57분
게시글: 8