Half-Life 2

Half-Life 2

View Stats:
Xeno May 10, 2015 @ 3:06pm
HL2 Linux custom skins not loading?
So, my laptop's running Ubuntu 14.04.2 64bit and when trying to run the typical custom weapon content from the .steam/steam/steamapps/common/Half-Life 2/hl2/custom directory, many skins seem to be broken (missing textures, sounds not playing, etc).

I've noticed from playing with it that it seems linux's file structure is very strict over the naming of the folders. Where in windows it doesn't care and considers it the same thing if you name it Shotgun/shotgun, linux considers them to be two different spellings. Some of my skins have started working just from changing the folder names to all lowercase, and others have been fixed by compiling the materials/models/sounds/etc folders into the same custom/hl2 directory.

I've also tried just pulling my custom folder from my windows desktop (all of the skins I've installed work fine on it) and put it on my linux HL2 and it's still wonky. Some work, some don't.

I could probably figure this out but I thought I'd share, get some opinions/alternate faster solutions and maybe help someone else out in the process.
< >
Showing 1-2 of 2 comments
Anza Power Dec 9, 2016 @ 3:31pm 
Ubuntu 16.04 here, what eventually worked for me was to put the skins into vpks, all the tutorial I saw said to just copy the files as is and that never worked no matter how I structured them. When I finally saw someone mention vpks then I was able to get them to work

So for example to install http://gamebanana.com/skins/7949 you download the zip and extract it, in this case some restructuring is required as the vtf files need to be under materials/models/alyx, so we have:

> tree Downloads Downloads └── skater_alyx ├── materials │   └── models │   └── alyx │   ├── alyx_faceandhair.vtf │   └── alyx_sheet.vtf └── Readme.txt

If you're on a 64-bit linux you'll need to do what's in https://developer.valvesoftware.com/wiki/VPK#Linux_users

Then:
> ./vpk.sh ~/Downloads/skater_alyx > mkdir ~/.steam/steam/steamapps/common/Half-Life\ 2/hl2/custom > cp ~/Downloads/skater_alyx.vpk ~/.steam/steam/steamapps/common/Half-Life\ 2/hl2/custom/
Last edited by Anza Power; Dec 9, 2016 @ 3:32pm
Xeno Dec 9, 2016 @ 10:07pm 
awesome, thanks! I'll give it a try on my mom's old craptop that I loaded up with 15.10 a while back. lately been using my windows 10 laptop to stream games from the desktop in the studio apartment while my ex/roommate is asleep since she's usually working earlier shifts than me.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 10, 2015 @ 3:06pm
Posts: 2