- go to ~/.steam/steam/steamapps/sourcemods
- put
install.sh
andgameinfo.txt
in this folder (and config.cfg if you have one) - downldoad a mod archive (example: hl2-ep2-sp-6x10mc-doorville.7z at http://www.runthinkshootlive.com/posts/doorville/)
- run
./install.sh hl2-ep2-sp-6x10mc-doorville.7z doorville
- restart steam
- enjoy
Last active
April 16, 2023 23:23
-
-
Save docteurklein/f9867744e8cf6fa2df01fb5fcdc647d9 to your computer and use it in GitHub Desktop.
install a linux hl2:ep2 sourcemod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"GameInfo" | |
{ | |
game "__NAME__" | |
title "__NAME__" | |
type singleplayer_only | |
FileSystem | |
{ | |
SteamAppId 420 | |
SearchPaths | |
{ | |
game+mod |gameinfo_path|. | |
platform |gameinfo_path|. | |
game_lv hl2/hl2_lv.vpk | |
game+mod ep2/ep2_english.vpk | |
game+mod ep2/ep2_pak.vpk | |
game |all_source_engine_paths|episodic/ep1_english.vpk | |
game |all_source_engine_paths|episodic/ep1_pak.vpk | |
game |all_source_engine_paths|hl2/hl2_english.vpk | |
game |all_source_engine_paths|hl2/hl2_pak.vpk | |
game |all_source_engine_paths|hl2/hl2_textures.vpk | |
game |all_source_engine_paths|hl2/hl2_sound_vo_english.vpk | |
game |all_source_engine_paths|hl2/hl2_sound_misc.vpk | |
game |all_source_engine_paths|hl2/hl2_misc.vpk | |
platform |all_source_engine_paths|platform/platform_misc.vpk | |
mod+mod_write+default_write_path |gameinfo_path|. | |
game+game_write |gameinfo_path|. | |
gamebin episodic/bin | |
game |all_source_engine_paths|episodic | |
game |all_source_engine_paths|hl2 | |
platform |all_source_engine_paths|platform | |
} | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -xeo pipefail | |
file-roller --force -e $2.tmp $1 | |
rm -f $2.tmp/*.txt | |
mv $2.tmp/* $2 | |
rm -rf $2.tmp | |
rm -f $2/GameInfo.txt | |
cp gameinfo.txt $2 | |
sed -i s/__NAME__/$2/g $2/gameinfo.txt | |
cp config.cfg $2/cfg/config.cfg | |
cp videoconfig_linux.cfg $2/videoconfig_linux.cfg | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment