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

black screen after loading

Open TheLocalMoon opened this issue 9 months ago • 1 comments

ermm what the sigma

image

TheLocalMoon avatar May 14 '24 14:05 TheLocalMoon

i'm experiencing the same problem (32 bit binaries), it can load up a map through launch arguments, but doesn't recognize any inputs in game. there are some problems with viewmodels. what i did is copy hl2dm, delete bin folder, copy compiled files and overwrite existing ones. i used these launch arguments: hl2_launcher.exe -game hl2mp -dxlevel 95 -w 1920 -h 1080 -windowed -noborder -insecure +map dm_lockdown

maksw2 avatar May 17 '24 20:05 maksw2

the 64 bit binaries crash on load

maksw2 avatar May 17 '24 20:05 maksw2

-dxlevel 85 as launch arguments.

Or copy shaders from tf2

Reason is dx 9+ shaders are changed by valve and not compatible with source.

dimhotepus avatar May 19 '24 13:05 dimhotepus

with -dxlevel 85 it crashes. i'm looking forward to the tf2 approach. can you tell me which files to copy over?

maksw2 avatar May 19 '24 19:05 maksw2

with -dxlevel 85 it crashes. i'm looking forward to the tf2 approach. can you tell me which files to copy over?

What if -dxlevel 90 ?

If not working, for TF2 go to tf2\shaders\, backup hl2\shaders, replace hl2\shaders with tf2\shaders.

dimhotepus avatar May 19 '24 21:05 dimhotepus

hl2 works just fine, only hl2mp has that problem. i can't seem to find the shader files, is it in a .vpk?

maksw2 avatar May 20 '24 12:05 maksw2

hl2 works just fine, only hl2mp has that problem. i can't seem to find the shader files, is it in a .vpk?

well, I know only about hl2 issue. With hl2mp all is possible.

try to extract shaders from VPK.

dimhotepus avatar May 20 '24 23:05 dimhotepus

after copying hl2's shaders it looks something like this image

maksw2 avatar May 21 '24 05:05 maksw2

the buttons still make a sound when hovered over, and the loading image is still good. condebug showes this Convar developer has multiple help strings: parent (wins): "Set developer message level" child: "Set developer message level." CSoundEmitterSystem: Registered 5146 sounds CResponseSystem: scripts\talker\response_rules.txt (217 rules, 214 criteria, and 208 responses) maxplayers set to 2 Heap: 256.00 Mb CL_InitLanguageCvar Error: Material "debug/debugluxels" uses unknown shader "DebugLuxels" Error: Material "___fillrate_0" uses unknown shader "FillRate" Error: Material "___debugnormalmap_1" uses unknown shader "DebugNormalMap" Error: Material "___debugdrawenvmapmask_2" uses unknown shader "DebugDrawEnvmapMask" Error: Material "___debugdepth_3" uses unknown shader "DebugDepth" Error: Material "___debugdepth_4" uses unknown shader "DebugDepth" Shader 'shaders\fxc\compositor_ps20b.vcs' - Couldn't load combo 4 of shader (dyn=1) Shader 'shaders\fxc\compositor_ps20b.vcs' - Couldn't load combo 6 of shader (dyn=1) Binding uncached material "engine/preloadtexture", artificially incrementing refcount Steam config directory: D:\SteamLibrary\steamapps\common\hl2mp\platform\config Parsed 26 text messages CClientSteamContext logged on = 0 Convar developer has multiple help strings: parent (wins): "Set developer message level" child: "Set developer message level." Parent cvar in server.dll not allowed (props_break_max_pieces) Unable to access SteamHTMLSurface Failed to load Resource/UI/NavProgress.res execing touch.cfg material "vgui/touch/use" not found. --- Missing Vgui material vgui/touch/use material "vgui/touch/jump" not found. --- Missing Vgui material vgui/touch/jump material "vgui/touch/shoot" not found. --- Missing Vgui material vgui/touch/shoot material "vgui/touch/shoot_alt" not found. --- Missing Vgui material vgui/touch/shoot_alt material "vgui/touch/crouch" not found. --- Missing Vgui material vgui/touch/crouch material "vgui/touch/tduck" not found. --- Missing Vgui material vgui/touch/tduck material "vgui/touch/zoom" not found. --- Missing Vgui material vgui/touch/zoom material "vgui/touch/speed" not found. --- Missing Vgui material vgui/touch/speed material "vgui/touch/load" not found. --- Missing Vgui material vgui/touch/load material "vgui/touch/save" not found. --- Missing Vgui material vgui/touch/save material "vgui/touch/reload" not found. --- Missing Vgui material vgui/touch/reload material "vgui/touch/flash_light_filled" not found. --- Missing Vgui material vgui/touch/flash_light_filled material "vgui/touch/next_weap" not found. --- Missing Vgui material vgui/touch/next_weap material "vgui/touch/prev_weap" not found. --- Missing Vgui material vgui/touch/prev_weap material "vgui/touch/settings" not found. --- Missing Vgui material vgui/touch/settings material "vgui/touch/menu" not found. --- Missing Vgui material vgui/touch/menu material "vgui/touch/back" not found. --- Missing Vgui material vgui/touch/back LoadLibrary: pModule: haptics, path: D:\SteamLibrary\steamapps\common\hl2mp/bin/haptics execing config.cfg Sound Initialization: Start DS:stereo speaker configuration detected Set primary sound buffer format: yes Using secondary sound buffer 2 channel(s) 16 bits/sample 44100 samples/sec DirectSound initialized Sound Initialization: Finish, Sampling Rate: 44100 12 CPUs, Frequency: 3.8 Ghz, Features: AuthenticAMD SSE SSE2 MMX RDTSC CMOV FCMOV execing valve.rc Host_WriteConfiguration: Wrote cfg/config.cfg TODO: Refusing to discard 0 bytes TODO: Refusing to discard 0 bytes CreateEvent: event 'server_shutdown' not registered. Shutdown function ShutdownMixerControls() not in list!!!

maksw2 avatar May 21 '24 05:05 maksw2

it's probably to do with vgui.

maksw2 avatar May 21 '24 19:05 maksw2

  1. add -dxlevel 95 option
  2. copy shaders( or hl2_misc_*.vpk ) from hl2 sp folder to mp hl2 folder. Also you can recompile stdshaders_dx9 from mp branch.

nillerusr avatar May 23 '24 09:05 nillerusr

i was able to run hl2mp and connect to a server simply by moving "hl2mp" folder to half-life 2 dir. lol.

maksw2 avatar Jun 01 '24 21:06 maksw2