Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Half-Life 2 / Source Third-Party Mods

Reply
 
Thread Tools Display Modes
Old 07-06-2013, 02:57 PM   #1
phcg
 
 
 
Join Date: Jun 2013
Reputation: 9
Posts: 6
SteamPipe fix for HL2 and EP2 mods

So, the new SteamPipe system just came to remind modders and gamers of the May 2010 and August 2010 updates to the Source Engine, which made a lot of mods stop working.
The SteamPipe system improved the HL2 games, but all mods that use assets from those games were broken.

I came up with a temporary fix (until someone comes with a better and more effective one) that isn't really mine. This fix is NOT 100% FUNCTIONAL, so don't blame me if it brokes your mod installation. I only tested I warned you!

I used part of Deep Down mod's "gameinfo.txt" and put it into another EP2 mod "gameinfo.txt". Deep Down is an EP2 mod, released already adapted to the SteamPipe system (I actually believe it was the first one). Using Deep Down's "gameinfo.txt" as base, I was able to get my non-functional EP2 mod to work, however nothing is perfect. The menu background was missing and some other things were different, in a bad way.


Fixed "gameinfo.txt" files - LEAVE BROKEN MOD'S NAMES IN THE COMMENTS
Just download and overwrite the file.

BLACK SNOW (Occasional CTD's. I'll keep working on something better.)
Korsakovia (So far, so good.)
Silent Escape (Works 100%)
Spherical Nightmares (Official Fix)


HL2:EP2 mod FIX

To start, open your broken mod's "gameinfo.txt". The mod used is Mesa-Fallback. It should look like this:
Code:
   FileSystem
   {
      SteamAppId            420      
      ToolsAppId            211      


      SearchPaths
      {
         Game            |gameinfo_path|.
         Game            |all_source_engine_paths|ep2
         Game            |all_source_engine_paths|episodic
         Game            |all_source_engine_paths|hl2
      }
   }
}
Replace by the code below:
Code:
            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 should make your HL2: Episode Two mod functional.
This fix only works for mods that ONLY USE HL2:EP2 assets.


HL2 mod FIX

As in HL2:EP2 fix, you start by opening the mod's "gameinfo.txt". It should look like this:
Code:
	FileSystem
	{
		SteamAppId				220
		ToolsAppId				211
		
		SearchPaths
		{
			Game				|gameinfo_path|.
			Game				sourcetest
			Game				hl2
		}
	}
}
Replace the it by this:
Code:
	FileSystem
	{
		SteamAppId				220
		
		SearchPaths
		{
			game+mod			|gameinfo_path|.
			platform			  |gameinfo_path|.
			
			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			  |gameinfo_path|.
			gamebin				hl2/bin
			
			game				|all_source_engine_paths|hl2
			platform			|all_source_engine_paths|platform
		}
	}
}
This only works for mods that only use assets from HL2. No asset from the other episodes can be used.


Conclusion

I hope this serves you well, and if you make new discoveries or think that this guide should be improved for better understanding, please tell me in the comments below.


UPDATE - optional HL2 and EP2 FIX

Use this fix in the case the original fix allows you to start your mod, but it crashes with missing files.

Open "gameinfo.txt" from the mod and replace the "FileSystem" section and everything below by this:

HL2 mods
Code:
FileSystem
{
	SteamAppId		215
	ToolsAppId		211

SearchPaths

	Game			|gameinfo_path|.
	Game			sourcetest
	Game			hl2
}
EP2 mods
Code:
FileSystem 
{
  SteamAppId    218
  ToolsAppId    211
  AdditionalContentId 420

SearchPaths

  Game      |gameinfo_path|.
  Game      |all_source_engine_paths|sourcetest
  Game      |all_source_engine_paths|ep2
  Game      |all_source_engine_paths|episodic
  Game      |all_source_engine_paths|hl2
}
Remember to backup the original "gameinfo.txt".

Also, if this works for you, but you get missing textures and models, you'll have to use Valve's VPK tool to extract HL2 or EP2 (maybe both in some cases) content. After that, copy only the folders called "materials", "models" and "particles" to the mod folder (you can delete the rest of the extracted content). If it asks you to overwrite any file, DON'T.
Be aware that this might be very expensive for your Hard Drive, as it will increase the mod's size in GBs.

Last edited by phcg: 08-09-2013 at 08:27 PM. Reason: Big update.
phcg is offline  
Reply With Quote
Old 07-08-2013, 08:29 AM   #2
flippedoutkyrii
 
Join Date: Mar 2010
Reputation: 12
Posts: 26
Thanks, this is a great workaround until we get a proper fix, thank you for the time you spent putting this together
flippedoutkyrii is offline   Reply With Quote
Old 12-03-2013, 10:24 AM   #3
1jim3bob
 
 
 
Join Date: Oct 2011
Reputation: 0
Posts: 7
Where the frickle frunkle are the gameinfo.txt's ?
1jim3bob is offline   Reply With Quote
Reply

Go Back   Steam Users' Forums > Steam Game Discussions > H - L > Half-Life 2 / Source Third-Party Mods


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -7. The time now is 07:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site Content Copyright Valve Corporation 1998-2012, All Rights Reserved.