Skip to content

Instantly share code, notes, and snippets.



Last active Apr 10, 2016
What would you like to do?
install a linux hl2:ep2 sourcemod

install an hl2:ep2 sourcemod on linux

  1. go to ~/.steam/steam/steamapps/sourcemods
  2. put and gameinfo.txt in this folder (and config.cfg if you have one)
  3. downldoad a mod archive (example: hl2-ep2-sp-6x10mc-doorville.7z at
  4. run ./ hl2-ep2-sp-6x10mc-doorville.7z doorville
  5. restart steam
  6. enjoy
game "__NAME__"
title "__NAME__"
type singleplayer_only
SteamAppId 420
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
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
You can’t perform that action at this time.