diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index 08ff05c4..c7c91291 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -3572,7 +3572,16 @@ void CGameInstall::Run() { source += "/install/"; Str dest = m_strEngine.GetBuffer(); radCopyTree( source.GetBuffer(), dest.GetBuffer() ); + // Hardcoded fix for "missing" shaderlist in gamepack + dest += "/base/shaders/shaderlist.txt"; + if(CheckFile(dest.GetBuffer()) != PATH_FILE) { + source += "base/scripts/default_shaderlist.txt"; + radCopyFile(source.GetBuffer(),dest.GetBuffer()); + } fprintf( fg, " basegame=\"base\"\n" ); + fprintf( fg, " shaderpath=\"shaders\"\n" ); + fprintf( fg, " default_scale=\"0.25\"\n" ); + fprintf( fg, " caulk_shader=\"textures/system/caulk\"\n" ); break; } case GAME_REACTION: {