Half-Life 2: Episode Two General Discussions

Fixes for Source mods broken by the SteamPipe update
avatar
Capt.Host
Jun 28, 2013 @ 1:04pm
This thread lays out info on how to get HL2/EP1/EP2 mods to work after the 2013 SteamPipe update broke them.
Many thanks to the entire community for doing their best to fix these mods.

Source 2013 patches by malortie / marc-antoine
ModDB user malortie, Steam user marc-antoine, has created a lot of patches that port various Source mods to Source 2013, and even a few HL1 mods, fixing all kinds of issues with maps and textures.
Be sure to check his work in his page.

Gameinfo.txt fix method
Find gameinfo.txt in the mod's directory. Delete all contents in the file and paste the appropriate code below.
Remember to always backup the original file.
Be sure to replace MODNAME with the mod's name.

For HL2 mods (SteamAppId 220)
"GameInfo" { name "MODNAME" game "MODNAME" title "MODNAME" title2 "" type singleplayer_only icon "resource\icon" homepage "" developer "" FileSystem { SteamAppId 220 SearchPaths { game_lv hl2/hl2_lv.vpk game+mod hl2/hl2_sound_vo_english.vpk game+mod hl2/hl2_pak.vpk game |all_source_engine_paths|hl2/hl2_textures.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 hl2 gamebin hl2/bin game |all_source_engine_paths|hl2 platform |all_source_engine_paths|platform } } }

For EP2 mods (SteamAppId 420)
"GameInfo" { name "MODNAME" game "MODNAME" title "MODNAME" title2 "" type singleplayer_only icon "resource\icon" homepage "" developer "" FileSystem { SteamAppId 420 ToolsAppId 211 AdditionalContentId 220 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 } } }


Fix for Missing Textures and Models
There will be cases in which you get missing textures and models. To fix this, use Valve's VPK tool ([anysourcegame]/bin/vpk.exe) to extract HL2 and EP2 content. Then copy "models" and "materials" folders to the mod's directory. Don't overwrite any files.
HL2 -» "SteamApps\common\Half-Life 2\hl2\hl2_textures_dir.vpk" EP2 -» "SteamApps\common\Half-Life 2\ep2\ep2_pak_dir.vpk" VPK tool -» "SteamApps\common\[anysourcegame]\bin\vpk.exe"
Note: This is an archived Steam community post. Original link: https://web.archive.org/web/20240531061752/https://steamcommunity.com/app/420/discussions/0/864971765497379056/