Steam for Linux

Steam for Linux

This topic has been locked
d10sfan 10 May, 2013 @ 5:52am
SourceMods (HL2 & Portal)
Was able to get some hl2 (and portal) mods to work with the Linux versions. Below is the steps needed to get this to work and the mods that have been tried. If you've tried one, you can post here and I'll add it to the list if you'd like.

Mod Steps
  • Mod can't have dlls (mod can't have a bin directory unless there are .so files, then it may work)
  • hl2.exe link no longer needed in the latest Steam Beta
  • Copy your mod into the sourcemods directory (~/.local/share/Steam/SteamApps/sourcemods or ~/Steam/SteamApps/sourcemods)
  • gameinfo.txt needs to be changed to reflect steampipe (thanks to Hardtimes for the idea and getting Portal Prelude to work)
  • Ensure that your gameinfo.txt file is named "gameinfo.txt", all lowercase
  • May need to rename your save directory from SAVE to save if you've played on Windows before
  • Some mods need the directories and filenames to be changed to lowercase. This can be done to all files by running: find ./ | sort -r | sed 's/\(.*\/\)\(.*\)/mv "\1\2" "\1\L\2"/' |sh
  • May need to use a new english.txt resource if the mod directory name needs to be changed. I've supplied new ones that should work

If you see a Q instead of a crosshair (seen on Blue Portals)
The issue is caused by some fonts that are missing. You can try to install the crosshair font which seems to fix the issue, either with a font manager or manually. Thanks Technogeek1994.
With a font manager
  • Navigate to SteamApps/common/Portal/hl2/resource
  • If you don't have Portal installed, Navigate to SteamApps/common/Half-Life 2/hl2/resource
  • Double-click on hl2crosshair.ttf. You should see a font manager launch
  • Click Install Font. Now the crosshair should show up normally (if no errors)
  • Do the same with marlett.ttf if you are seeing letters instead of checkboxes and close buttons

If the font manager install failed, or you don't have one installed (this was tested on Linux Mint, should also work on Ubuntu at least)
  • In terminal, go to /usr/local/share/fonts and go into sudo (sudo -i)
  • Create a directory called myfonts: mkdir myfonts; then go into myfonts
  • Then copy the fonts from the hl2 directory to your new myfonts directory: cp ~/.local/share/Steam/SteamApps/common/Portal/hl2/resource/*.ttf . (make sure you include the period)
  • Exit out of sudo: exit
  • Run fc-cache

Known Issues (issue and mods that have it)
  • None currently

Below are the gameinfo.txt for each mod (the pastebin links), and any extra steps that may need to be done.

HL2 Mods

Portal Mods
Last edited by d10sfan; 31 Dec, 2013 @ 9:13pm
< >
Showing 211-225 of 247 comments
bnuy 22 Mar, 2015 @ 7:15pm 
Great work!
dubigrasu 23 Mar, 2015 @ 4:14am 
Originally posted by jamie.marchant:
For some reason /home/owner/.local/share/Steam/steamapps is 'SteamApps' on my machine and this caused isseus with mods. Making a symbol link to the folder fixed the issuie.
I've done the same previously until I discovered that it creates issues for other games.
Recently for example Bioshock Infinite refused to work this way, so I just renamed SteamApps to steamapps (removed the link).
SUSEd 3 Apr, 2015 @ 6:41am 
Will Half-Life Update work on Linux?
dubigrasu 3 Apr, 2015 @ 6:59am 
Originally posted by SUSEd:
Will Half-Life Update work on Linux?
Interesting, I'm downloading it right now and have a look.
dubigrasu 3 Apr, 2015 @ 9:27am 
Well, it starts and...kinda...works.
Some textures issues probably easy to fix, but it has some other issues as well.
I don't have time to test it more right now.
https://www.youtube.com/watch?v=tuBdJJ73NQg
dubigrasu 5 Apr, 2015 @ 1:34pm 
And working: https://www.youtube.com/watch?v=0pdG7_fYxBM

But I'm having a hard time spotting the differences.
Yes there are improvements, http://screenshotcomparison.com/comparison/120480/picture:0
but not enough reasons (for me) to play the game again.
Last edited by dubigrasu; 5 Apr, 2015 @ 3:31pm
Lunar_Penguin 22 Apr, 2015 @ 7:00pm 
Half-Life 2: Update is now available natively for Linux through Steam.
Thistle 11 Jun, 2015 @ 8:11am 
i made one for The Projex
you can find it here: http://pastebin.com/CFLvNviQ
Ann 29 Jan, 2016 @ 5:23am 
Can you help with missinginfo mod?
http://www.moddb.com/mods/missing-information/downloads/missing-information-16-full
Have no success with last Mission Improbable mod (gameinfo looks already fixed)
Last edited by Ann; 29 Jan, 2016 @ 5:41am
roki 29 Jan, 2016 @ 9:45am 
d
dubigrasu 29 Jan, 2016 @ 10:11am 
Originally posted by Cirno:
Can you help with missinginfo mod?
http://www.moddb.com/mods/missing-information/downloads/missing-information-16-full
Have no success with last Mission Improbable mod (gameinfo looks already fixed)
Not sure if it even works on Linux (except maybe with Wine).
{FK}_HeADsHoT 30 Jan, 2016 @ 4:39am 
I like counter strike
Ann 14 Feb, 2016 @ 2:49am 
Originally posted by dubigrasu:
Originally posted by Cirno:
Can you help with missinginfo mod?
http://www.moddb.com/mods/missing-information/downloads/missing-information-16-full
Have no success with last Mission Improbable mod (gameinfo looks already fixed)
Not sure if it even works on Linux (except maybe with Wine).
I was able to make any HL source mod run (at least launch) on linux:
1. Rename folder name to lowercase letters.
2. Run:
find ./ | sort -r | sed 's/\(.*\/\)\(.*\)/mv "\1\2" "\1\L\2"/' |sh
in mod folder root
3. Fix gameinfo for SteamPipe
4. Copy client.so and server.so to mod /bin folder from HL2 Lost Coast.
For example Missing Information mod can work.
/bin is not a problem, anymore.
Last edited by Ann; 14 Feb, 2016 @ 2:50am
dubigrasu 14 Feb, 2016 @ 4:46am 
Well, from what I remember replacing the missing libs and launching the game wasn't a problem, but rather a whole lot of textures missing.
Ashley 14 Feb, 2016 @ 10:36pm 
Originally posted by dubigrasu:
Well, from what I remember replacing the missing libs and launching the game wasn't a problem, but rather a whole lot of textures missing.
My first guess on the missing textures would be case sensitivity in the materials.
< >
Showing 211-225 of 247 comments
Per page: 1530 50

Date Posted: 10 May, 2013 @ 5:52am
Posts: 247