Hey all,

 

In Half-Life 2, some save or load attempts often result in the process
becoming unresponsive for 60 seconds. Using Process Monitor, I was able to
narrow down the cause to hl2.exe's attempt at accessing unreachable network
paths, specifically \\MOD <file://MOD>  and \\MOD\save <file://MOD/save> . I
am unsure what is causing hl2.exe to access these network paths as entering
"path" in the game's console yields only the following:

 

Paths:

"maps\d1_trainstation_01.bsp" "GAME" (map)

"e:\steamlibrary\steamapps\common\half-life 2\" "BASE_PATH" 

"e:\steamlibrary\steamapps\common\half-life 2\bin\" "EXECUTABLE_PATH" 

"e:\steamlibrary\steamapps\common\half-life 2\platform\" "PLATFORM" 

"GAME" "GAME" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_sound_vo_english.vpk

"mod" "mod" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_sound_vo_english.vpk

"GAME" "GAME" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_pak.vpk

"mod" "mod" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_pak.vpk

"GAME" "GAME" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_textures.vpk

"GAME" "GAME" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_sound_misc.vpk

"GAME" "GAME" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\hl2\hl2_misc.vpk

"PLATFORM" "PLATFORM" (VPK)E:\SteamLibrary\steamapps\common\Half-Life
2\platform\platform_misc.vpk

"e:\steamlibrary\steamapps\common\half-life 2\hl2\" "mod" 

"e:\steamlibrary\steamapps\common\half-life 2\hl2\" "mod_write" 

"e:\steamlibrary\steamapps\common\half-life 2\hl2\" "default_write_path" 

"e:\steamlibrary\steamapps\common\half-life 2\hl2\" "GAME" 

"e:\steamlibrary\steamapps\common\half-life 2\hl2\" "game_write" 

"e:\steamlibrary\steamapps\common\half-life 2\hl2\bin\" "gamebin" 

"e:\steamlibrary\steamapps\common\half-life 2\hl2\" "LOGDIR" 

"e:\steamlibrary\steamapps\common\half-life 2\platform\config\" "CONFIG"

 

As you may know when entering an unreachable network path in Windows
Explorer, sometimes an attempt to connect is made for 60 seconds. This is
consistent with the processes' time of unresponsiveness.

 

I imagine this issue plagues all versions of the Source Engine as the call
stack on the attempt to access \\MOD <file://MOD>  reaches engine.dll and
filesystem_stdio.dll and never Half-Life 2's specific client or server DLLs.

 

The version of Source Engine is as follows:

Build Label:                        2257546   # Uniquely identifies each
build

Protocol version:             24   # High level network protocol version

Network PatchVersion:  1745010   # Determines client and server
compatibility

 

Snippet of Process Monitor with highlighted important information:
https://i.imgur.com/8oPlCJ0.png

 

To reproduce:

1.      Open HL2.
2.      Bind a key to quick save and quick load.
3.      Open Procmon.exe and create a filter for hl2.exe
4.      Perform a quick save and then a quick load, assuming \\MOD
<file://MOD>  is sNOT a valid network path, there should be a noticeable gap
of unresponsiveness for up to a minute. You should also see the network path
attempt to be accessed.

 

Please let me know if there is any additional information I can provide to
fix this issue.

 

Thanks,

Max

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Reply via email to