source-engine icon indicating copy to clipboard operation
source-engine copied to clipboard

Visuals look horribly wrong.

Open extr333mlyangry opened this issue 1 year ago • 6 comments

I tried to build Source for Portal. Everything seemed to be going well before I saw this: Image I'm on Windows, using DX9. engine.log:

Engine(arch:i386 commit:2998568) started at Tue Sep 9 16:51:59 2025

Compiler CFLAGS: ['/nologo', '/nologo', '/D_USING_V110_SDK71_', '/Zi', '/FS', '/Zc:threadSafeInit-', '/O2', '/MT', '/IC:\source-engine/thirdparty/SDL', '/arch:SSE', '/GF', '/Gy', '/fp:fast', '/Zc:forScope', '/Zc:wchar_t', '/GR', '/TP', '/EHsc'] Compiler LDFLAGS: ['/nologo', '/MANIFEST', '/nologo', '/MANIFEST', '/DEBUG', '/INCREMENTAL', '/NODEFAULTLIB:libc', '/NODEFAULTLIB:libcd', '/NODEFAULTLIB:libcmtd', '/LARGEADDRESSAWARE', '/LIBPATH:C:\source-engine/lib/win32/x86/', '/LIBPATH:C:\source-engine/dx9sdk/lib/x86/'] [0.0574] LoadLibrary: pModule: sourcevr.dll, path: C:\source-engine\portal/bin/sourcevr.dll [0.0574] AppFramework : Unable to load module sourcevr.dll! [0.0574] LoadLibrary: pModule: shaderapidx9.dll, path: C:\source-engine\portal/bin/shaderapidx9.dll [0.0574] LoadLibrary: pModule: video_quicktime, path: C:\source-engine\portal/bin/video_quicktime [0.0574] LoadLibrary: pModule: video_bink, path: C:\source-engine\portal/bin/video_bink [0.0581] Using Breakpad minidump system. Version: 9862575 AppID: 400 [0.0584] filesystem BaseDir: C:\source-engine\portal [0.1903] Did not detect any valid joysticks. [0.1906] LoadLibrary: pModule: USER32.dll, path: C:\source-engine\portal/bin/USER32.dll [0.1913] LoadLibrary: pModule: stdshader_dbg.dll, path: C:\source-engine\portal/bin/stdshader_dbg.dll [0.1917] LoadLibrary: pModule: stdshader_dx6.dll, path: C:\source-engine\portal/bin/stdshader_dx6.dll [0.1919] LoadLibrary: pModule: stdshader_dx7.dll, path: C:\source-engine\portal/bin/stdshader_dx7.dll [0.1922] LoadLibrary: pModule: stdshader_dx8.dll, path: C:\source-engine\portal/bin/stdshader_dx8.dll [0.1936] Convar mat_specular has conflicting FCVAR_CHEAT flags (child: FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins) [0.2006] LoadLibrary: pModule: unicode, path: C:\source-engine\portal/bin/unicode [1.6331] Loading unsigned module client.dll Access to secure servers is disabled. [1.6352] Loading unsigned module server.dll Access to secure servers is disabled. [1.6377] server.dll loaded for "Half-Life 2" [1.6378] LoadLibrary: pModule: soundemittersystem.dll, path: C:\source-engine\portal/bin/soundemittersystem.dll [1.6382] LoadLibrary: pModule: scenefilecache.dll, path: C:\source-engine\portal/bin/scenefilecache.dll [1.6386] LoadLibrary: pModule: engine.dll, path: C:\source-engine\portal/bin/engine.dll [1.6475] Convar developer has multiple help strings: parent (wins): "Set developer message level" child: "Set developer message level." [1.7120] maxplayers set to 1 [1.7120] CL_InitLanguageCvar [1.7162] Error: Material "debug/debugluxels" uses unknown shader "DebugLuxels" [1.7579] Error: Material "___fillrate_0" uses unknown shader "FillRate" [1.7579] Error: Material "___debugnormalmap_1" uses unknown shader "DebugNormalMap" [1.7579] Error: Material "___debugdrawenvmapmask_2" uses unknown shader "DebugDrawEnvmapMask" [1.7579] Error: Material "___debugdepth_3" uses unknown shader "DebugDepth" [1.7579] Error: Material "___debugdepth_4" uses unknown shader "DebugDepth" [1.7765] Steam config directory: C:\source-engine\portal\platform\config [1.7805] CClientSteamContext logged on = 0 [1.7877] Convar developer has multiple help strings: parent (wins): "Set developer message level" child: "Set developer message level." [1.7885] Parent cvar in server.dll not allowed (props_break_max_pieces) [1.8400] Couldn't find custom font file 'resource/GorDIN-Regular.ttf' [1.8401] Couldn't find custom font file 'resource/GorDIN-Bold.ttf' [1.8401] Couldn't find custom font file 'resource/GorDIN-Semibold.ttf' [1.8402] Couldn't find custom font file 'resource/GorDIN-Black.ttf' [1.8403] Couldn't find custom font file 'resource/GorDIN-Light.ttf' [1.8492] Unable to access SteamHTMLSurface [1.8498] Failed to load Resource/UI/BottomSpectator.res [1.8500] Failed to load Resource/UI/NavProgress.res [1.8823] Hud element 'CHudPortalCrosshair' doesn't have an entry 'HudPortalCrosshair' in scripts/HudLayout.res [1.8823] Hud element 'CMapOverview' doesn't have an entry 'overview' in scripts/HudLayout.res [1.8895] --- Missing Vgui material vgui/touch/use [1.8897] --- Missing Vgui material vgui/touch/jump [1.8899] --- Missing Vgui material vgui/touch/shoot [1.8901] --- Missing Vgui material vgui/touch/shoot_alt [1.8903] --- Missing Vgui material vgui/touch/crouch [1.8904] --- Missing Vgui material vgui/touch/tduck [1.8906] --- Missing Vgui material vgui/touch/zoom [1.8908] --- Missing Vgui material vgui/touch/speed [1.8910] --- Missing Vgui material vgui/touch/load [1.8911] --- Missing Vgui material vgui/touch/save [1.8913] --- Missing Vgui material vgui/touch/reload [1.8915] --- Missing Vgui material vgui/touch/flash_light_filled [1.8916] --- Missing Vgui material vgui/touch/next_weap [1.8918] --- Missing Vgui material vgui/touch/prev_weap [1.8920] --- Missing Vgui material vgui/touch/settings [1.8921] --- Missing Vgui material vgui/touch/menu [1.8923] --- Missing Vgui material vgui/touch/back [1.8989] --- Missing Vgui material vgui/TitleBarIcon [1.8990] --- Missing Vgui material vgui/TitleBarDisabledIcon [1.9005] Failed to load Resource/UI/Spectator.res [1.9064] LoadLibrary: pModule: haptics, path: C:\source-engine\portal/bin/haptics [1.9450] exec : execute a script file [1.9500] Changing resolutions from (1280, 720) -> (1280, 720) [1.9548] Unable to access SteamHTMLSurface [2.0420] --- Missing Vgui material vgui/servers/icon_replay [2.0426] --- Missing Vgui material vgui/servers/icon_replay_column [2.0475] Can't use cheat cvar fog_start in multiplayer, unless the server has sv_cheats set to 1. [2.0476] Can't use cheat cvar fog_end in multiplayer, unless the server has sv_cheats set to 1. [2.0476] Can't use cheat cvar fog_startskybox in multiplayer, unless the server has sv_cheats set to 1. [2.0476] Can't use cheat cvar fog_endskybox in multiplayer, unless the server has sv_cheats set to 1. [2.0476] Can't use cheat cvar r_farz in multiplayer, unless the server has sv_cheats set to 1. [2.0595] Error: Material "___fillrate_0" uses unknown shader "FillRate" [2.0596] Error: Material "___debugnormalmap_1" uses unknown shader "DebugNormalMap" [2.0596] Error: Material "___debugdrawenvmapmask_2" uses unknown shader "DebugDrawEnvmapMask" [2.0596] Error: Material "___debugdepth_3" uses unknown shader "DebugDepth" [2.0596] Error: Material "___debugdepth_4" uses unknown shader "DebugDepth" [2.0642] Error: Material "debug/debugluxels" uses unknown shader "DebugLuxels" [2.1562] Shader 'shaders\fxc\lightmappedgeneric_ps20b.vcs' - Couldn't load combo 149376 of shader (dyn=288) [2.1563] Shader 'shaders\fxc\lightmappedgeneric_ps20b.vcs' - Couldn't load combo 149376 of shader (dyn=288) [2.1681] Shader 'shaders\fxc\lightmappedgeneric_ps20b.vcs' - Couldn't load combo 36864 of shader (dyn=288) [2.1681] Shader 'shaders\fxc\lightmappedgeneric_ps20b.vcs' - Couldn't load combo 36864 of shader (dyn=288) [2.2318] Unknown command "#=====================================================================" [2.2319] Unknown command "#" [2.2319] Unknown command "#" [2.2320] Unknown command "#" [2.2320] Unknown command "#" [2.2321] Unknown command "#" [2.2321] Unknown command "#" [2.2322] Unknown command "#" [2.2322] Unknown command "#" [2.2323] Unknown command "#" [2.2323] Unknown command "#" [2.2324] Unknown command "#" [2.2324] Unknown command "#" [2.2325] Unknown command "#" [2.2326] Unknown command "#" [2.2326] Unknown command "#" [2.2327] Unknown command "#" [2.2327] Unknown command "#" [2.2328] Unknown command "#" [2.2328] Unknown command "#" [2.2329] Unknown command "#" [2.2329] Unknown command "#" [2.2330] Unknown command "#" [2.2330] Unknown command "#" [2.2331] Unknown command "#" [2.2331] Unknown command "#" [2.2332] Unknown command "#" [2.2332] Unknown command "#" [2.2333] Unknown command "#" [2.2334] Unknown command "#" [2.2334] Unknown command "#" [2.2335] Unknown command "#" [2.2335] Unknown command "#" [2.2336] Unknown command "#" [2.2336] Unknown command "#" [2.2337] Unknown command "#" [2.2337] Unknown command "#=====================================================================" [2.2338] Unknown command "sk_npc_dmg_strider_to_plr" [2.2338] Unknown command "sk_npc_dmg_strider" [2.2339] Unknown command "sk_max_strider" [2.2861] Shader 'shaders\fxc\skin_ps20b.vcs' - Couldn't load combo 1280 of shader (dyn=120) [2.2862] Shader 'shaders\fxc\skin_ps20b.vcs' - Couldn't load combo 1280 of shader (dyn=120) [2.4631] Shader 'shaders\fxc\vertexlit_and_unlit_generic_bump_ps20b.vcs' - Couldn't load combo 1400 of shader (dyn=60) [2.4633] Shader 'shaders\fxc\vertexlit_and_unlit_generic_bump_ps20b.vcs' - Couldn't load combo 1400 of shader (dyn=60) [2.5220] Shader 'shaders\fxc\skin_ps20b.vcs' - Couldn't load combo 1440 of shader (dyn=120) [2.5223] Shader 'shaders\fxc\skin_ps20b.vcs' - Couldn't load combo 1440 of shader (dyn=120) [2.5577] 'cfg/motd.txt' not found; not loaded [2.5579] 'cfg/motd_text.txt' not found; not loaded [2.5579] SV_ActivateServer: setting tickrate to 66.7 [2.6229] Shader 'shaders\fxc\vertexlit_and_unlit_generic_ps20b.vcs' - Couldn't load combo 444 of shader (dyn=18) [2.6231] Shader 'shaders\fxc\vertexlit_and_unlit_generic_ps20b.vcs' - Couldn't load combo 444 of shader (dyn=18) [2.7222] Shader 'shaders\fxc\vertexlit_and_unlit_generic_ps20b.vcs' - Couldn't load combo 11796864 of shader (dyn=18) [2.7225] Shader 'shaders\fxc\vertexlit_and_unlit_generic_ps20b.vcs' - Couldn't load combo 11796864 of shader (dyn=18) [2.7713] Compact freed 286720 bytes [2.7715] JOY_AXIS_X: mapped to Turn (absolute) [2.7715] JOY_AXIS_Y: mapped to Look (absolute) [2.7715] JOY_AXIS_Z: unmapped [2.7715] JOY_AXIS_R: mapped to Forward (absolute) [2.7715] JOY_AXIS_U: mapped to Side (absolute) [2.7715] JOY_AXIS_V: unmapped [2.7715] Advanced Joystick settings initialized [3.0059] Redownloading all lightmaps [6.3291] Dropped unnamed from server (Server shutting down) [6.4303] Host_WriteConfiguration: Wrote cfg/config.cfg [6.4443] Shutdown function ShutdownMixerControls() not in list!!! [6.6210] Removed font resource c:\source-engine\portal\hl2\resource\halflife2.ttf on attempt 1. [6.6212] Removed font resource c:\source-engine\portal\hl2\resource\halflife2.ttf on attempt 2. [6.6213] Removed font resource c:\source-engine\portal\hl2\resource\halflife2.ttf on attempt 3. [6.6216] Removed font resource c:\source-engine\portal\hl2\resource\hl2ep2.ttf on attempt 1. [6.6218] Removed font resource c:\source-engine\portal\hl2\resource\hl2ep2.ttf on attempt 2. [6.6220] Removed font resource c:\source-engine\portal\hl2\resource\marlett.ttf on attempt 1. [6.6222] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans.ttf on attempt 1. [6.6223] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans.ttf on attempt 2. [6.6225] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans-bold.ttf on attempt 1. [6.6226] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans-bold.ttf on attempt 2. [6.6228] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans-boldoblique.ttf on attempt 1. [6.6229] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans-boldoblique.ttf on attempt 2. [6.6231] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans-oblique.ttf on attempt 1. [6.6232] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\dejavusans-oblique.ttf on attempt 2. [6.6235] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\liberationsans-regular.ttf on attempt 1. [6.6237] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\liberationsans-regular.ttf on attempt 2. [6.6240] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\liberationsans-bold.ttf on attempt 1. [6.6242] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\liberationsans-bold.ttf on attempt 2. [6.6244] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\liberationmono-regular.ttf on attempt 1. [6.6246] Removed font resource c:\source-engine\portal\platform\resource\linux_fonts\liberationmono-regular.ttf on attempt 2. [6.6248] Removed font resource c:\source-engine\portal\hl2\resource\hl2crosshairs.ttf on attempt 1.

Engine closed at Tue Sep 9 16:52:05 2025

extr333mlyangry avatar Sep 09 '25 22:09 extr333mlyangry

It's going from https://github.com/nillerusr/source-engine/issues/397 Please install previous build

SaltedPostal avatar Sep 15 '25 06:09 SaltedPostal

Having the same issue here with Portal, any fix yet?

its-darsh avatar Sep 28 '25 15:09 its-darsh

You need to download an older version of the Portal depot files prior to November 2024. Changes from around the HL2 Anniversary update broke a lot of things in this fork.

Portal content depot_download command: "download_depot 400 402 6701711451045533038" Portal Windows client depot_download command: "download_depot 400 401 3566636281151658894"

These are from the 5th of January 2024, they should work with this fork.

You can open the Steam console with "steam://open/console". After that, you can copy the depot files from steamapps/content (I think that was the location of depot downloads) and move them to your Portal build.

If you replace any files, you might want to run "./waf install" again just to ensure your using your build.

Let me know if this helps!

IAmTheNerdNextDoor avatar Oct 15 '25 22:10 IAmTheNerdNextDoor

I guess that is what is up with half life 2 on os x arm64 Image

neozeed avatar Dec 01 '25 12:12 neozeed

I guess that is what is up with half life 2 on os x arm64 Image

just copy files from steam_legacy build, it works well on M4 without issues, full 300 fps under 1080p high settings

koriande avatar Feb 26 '26 19:02 koriande

man that looks cool. but it would be SUPER nice to actually not have that ishue...

SamuelEatsPizza avatar Mar 11 '26 00:03 SamuelEatsPizza