Portal > General Discussions > Topic Details
AD_79 Jun 25, 2013 @ 6:23pm
Mods suddenly stopped working.
So, I loaded up one of the mods I have installed on my PC. I played it before, but when I tried today, I got a white screen and then it crashed.
Showing 1-3 of 3 comments
< >
☎ the original ho ☎ Jun 26, 2013 @ 11:33pm 
you need to put your mods into a folder called "custom"
just go to: "steam/steamapps/common/Portal/portal" and create that folder name i just mentioned
then go inside it and create another folder (name it whatever you want)
then go gather up all your mods and put it into that subfolder you just made inside the custom folder
fyi most mods u installed usually can b found under the following folders:
materials, models
Flo2912 Jun 28, 2013 @ 6:46pm 
This is a problem, apperaing because of this Steam-pipe thing. (Not the best Idea Valve -_-)
Go in your sourcemods folder and open the folder of your mod.
There must be a file called "gameinfo.txt" open it in your favorite text-editor.
Than you have some parts of text. Search the Part of the file were just stand "FileSystem"
Replace it and everything that is following in the file with these:

FileSystem
{
SteamAppId 400

SearchPaths
{
game+mod |gameinfo_path|.
platform |gameinfo_path|.

// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)
game_lv portal/portal_lv.vpk
game+mod portal/portal_english.vpk
game+mod portal/portal_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

// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.

// Add the mod directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write |gameinfo_path|.

// Where the game's binaries are
gamebin portal/bin

// Last, mount in shared Portal loose files
game |all_source_engine_paths|portal

// Last, mount in shared HL2 loose files
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform

}
}
}


For example here the Gameinfo.txt of the Mod Portal: Prelude:

Before:

"GameInfo"
{
game "Portal: Prelude"
title "Portal: Prelude"
type singleplayer_only

nodifficulty 1
hasportals 1
nocrosshair 1
nomodels 1

developer "Nicolas 'NykO18' Grevet"
developer_url "http://www.portalprelude.com"
manual "http://www.portalprelude.com/forum"
icon "resource/prelude"

FileSystem
{
SteamAppId 400
ToolsAppId 211

SearchPaths
{
Game |gameinfo_path|.
Game portal
Game hl2
}
}
}

After:


"GameInfo"
{
game "Portal: Prelude"
title "Portal: Prelude"
type singleplayer_only

nodifficulty 1
hasportals 1
nocrosshair 1
nomodels 1

developer "Nicolas 'NykO18' Grevet"
developer_url "http://www.portalprelude.com"
manual "http://www.portalprelude.com/forum"
icon "resource/prelude"

FileSystem
{
SteamAppId 400

SearchPaths
{
game+mod |gameinfo_path|.
platform |gameinfo_path|.

// We search VPK files before ordinary folders, because most files will be found in
// VPK and we can avoid making thousands of file system calls to attempt to open files
// in folders where they don't exist. (Searching a VPK is much faster than making an operating
// system call.)
game_lv portal/portal_lv.vpk
game+mod portal/portal_english.vpk
game+mod portal/portal_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

// Now search loose files. We'll set the directory containing the gameinfo.txt file
// as the first "mod" search path (after any user customizations). This is also the one
// that's used when writing to the "mod" path.
mod+mod_write+default_write_path |gameinfo_path|.

// Add the mod directory as a game search path. This is also where where writes
// to the "game" path go.
game+game_write |gameinfo_path|.

// Where the game's binaries are
gamebin portal/bin

// Last, mount in shared Portal loose files
game |all_source_engine_paths|portal

// Last, mount in shared HL2 loose files
game |all_source_engine_paths|hl2
platform |all_source_engine_paths|platform

}
}
}

Now start the Mod, and it should work. (It even works without restarting steam ;) )
If it does not, than I don't know whats your problem, that was the way how I fixed my problem^^




Last edited by Flo2912; Jun 28, 2013 @ 6:46pm
AD_79 Jun 28, 2013 @ 7:26pm 
I had actually found the answer on ThinkingWithPortals. Mods are functioning again.
Showing 1-3 of 3 comments
< >
Per page: 15 30 50
Date Posted: Jun 25, 2013 @ 6:23pm
Posts: 3