The Source engine is a 3D game engine developed by Valve Corporation. Its unique features include a large degree of modularity and flexibility, an artist-driven, shader-based renderer, accurate lip sync and facial expression technology, and a powerful, efficient and completely network-enabled physics system.

Post tutorial Report content RSS feed Running CUBE V2 Mod, Post Steampipe

With the advent of Steampipe, thousands of mods stopped working correctly. Often, they can be made to run with some edits to gameinfo.txt, but getting CUBE to run is slightly more complex.

Posted by on - Basic Starting a mod

With the help of SkyNinja in a private message conversation, I was able to get CUBE V2 running again. After playing through the entire mod, I found only two side effects. The startup video (creepy blinking eye) is skipped, and Steam thinks I played HL2_EP2 rather than CUBE in it's recent games history. So no critical errors. AASC recently took down their link to download CUBE V2, but if you still have it installed or can find it somewhere on the internet, you can do the following to get it running (again, credit goes to SkyNinja).

First, install the game according to AASC's instructions.

Make a backup of all files before you modify them, so you can revert your changes if something doesn't work.

Find and rename the background01 parts of these files
...\Steam\steamapps\sourcemods\Cube\maps\background01.bsp
...\Steam\steamapps\sourcemods\Cube\materials\console\background01.vmt
...\Steam\steamapps\sourcemods\Cube\mat erials\console\background01_widescreen.vmt
to something different (and remember it). It is important _widescreen remains on the end of the last file, and it is important you rename the "background01" part to the same thing for each file. I suggest you simply add CUBE to the front of each file's name.

Next, open the text file
...\Steam\steamapps\sourcemods\Cube\scripts\ChapterBackgrounds.txt
and change the text in the quotes from background01 to whatever you renamed background01.bsp to.

Finally, you need to change the code in gameinfo.txt to make CUBE play nice with SteamPipe
....\Steam\steamapps\sourcemods\Cube\gameinfo.txtReplace everything with this:

"GameInfo"
{
	game	"CUBE"
	title	"CUBE"
	title2	"CUBE"
	type 	singleplayer_only

	developer	"E-40 (AASC)"
	developer_url	"aasc-life.do.am"
	icon		"icon"

	FileSystem
	{
		SteamAppId				420	
		

		SearchPaths
		{
			// Base game customs loaded into mods usually causes trouble.
			// A custom folder in Cube's folder should work nicely, though.
			// If you do want base game customs, however, just uncomment them.
			game+mod			|gameinfo_path|custom/*
			//game+mod			ep2/custom/*
			//game+mod			episodic/custom/*
			//game+mod			hl2/custom/*

			
			game_lv				hl2/hl2_lv.vpk
			game+mod			|gameinfo_path|.
			game+mod			ep2/ep2_sound_vo_english.vpk
			game+mod			ep2/ep2_pak.vpk
			game				|all_source_engine_paths|episodic/ep1_sound_vo_english.vpk
			game				|all_source_engine_paths|episodic/ep1_pak.vpk
			game				|all_source_engine_paths|hl2/hl2_sound_vo_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_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
		}
	}
}

That should be it. Run the mod from Steam as any other mod.


Comments
~cHendler~
~cHendler~

Thanks for the article. It's pretty helpful.

Reply Good karma Bad karma+2 votes
Hell_Diguner Author
Hell_Diguner

I put my copy of CubeV2 (with its filename and ini changes) into an archive, which you can download here:
Dropbox.com

Unarchive it and install under
...\Steam\steamapps\sourcemods\Cube\

As with anything on the internet, download at your own risk. Who knows, maybe my antivirus software isn't catching something.

Reply Good karma+1 vote
Snake1945
Snake1945

Just go here and copy the searchpaths.... Lambdageneration.com

Reply Good karma Bad karma+1 vote
Hell_Diguner Author
Hell_Diguner

That's what the second part of this tutorial covers.

Unfortunately, it's not enough. You must also do the first part (renaming the background01 entries) as they conflict with HL2:EP2's background01 entries. Without the changes, the mod will try to load HL2:EP2's startup background, which causes a fatal error.

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Platforms
Windows, VR, X360, XBOX, PS3
Company
Valve
Contact
Send Message
Licence
Commercial
Release date
Engine watch
Start tracking
Tutorial
Browse
Tutorials
Share
Related Engines
Source
Source Commercial
Related Groups
Valve
Valve Developer & Publisher