Difference between revisions of "Engine:Source"
From PCGamingWiki, the wiki about fixing PC games
(→Console doesn't open: removed unnecessary quotes, lowercase character for clarity) |
(→Issues fixed: added high shadow setting fix, very similar to csgo's CSM problem (I spent *so* much time tracking down just about every source engine game of the day). Thanks to the CS:GO history talk server for help.) |
||
Line 89: | Line 89: | ||
{{ii}} Not setting the file permissions to read-only will revert the change on the next game launch. | {{ii}} Not setting the file permissions to read-only will revert the change on the next game launch. | ||
}} | }} | ||
+ | |||
+ | ==="High" shadow detail option is missing=== | ||
+ | {{ii}} The setting is only shown if Shadow Depth Textures are supported.<ref>As can be seen in file <code>gameui/OptionsSubVideo.cpp</code> from leaked source code.</ref> However the Source Engine has always only checked this feature against a hardcoded selection of known GPU vendors.<ref>See <code>materialsystem/shaderapidx9/shaderdevicedx8.cpp</code>.</ref> This notably excluded everything from Intel in the past.<ref>[https://web.archive.org/web/20170531002547/http://forums.steampowered.com/forums/showthread.php?t=2353150 Source games without High Shadow Detail option - Steam Users' Forums] (retrieved)</ref><ref>[https://store.steampowered.com/oldnews/7495 News - Counter-Strike: Global Offensive Beta Update Released]</ref> | ||
+ | {{Fixbox|description=Launch the game with the <code>-force_vendor_id 0x10DE -force_device_id 0x1180</code> [[Glossary:Command line arguments|command line arguments]]|ref=<ref>[https://developer.valvesoftware.com/wiki/Env_projectedtexture#Caveats_and_Fixes env_projectedtexture - Valve Developer Community]</ref>|fix= | ||
+ | {{ii}} These parameters were not supported before some 2012-2013 engine update.{{note|[[Counter-Strike: Global Offensive]] added it in version 1.0.0.62, but release day [[Dota 2]] still lacked it one year later. Conversely all the first party titles updated to the Source 2013 branch should be good (older licensed engine games or mods might not have been so lucky though, including [[Left 4 Dead]]).}} | ||
+ | }} | ||
+ | {{Fixbox|description=[https://grimore.org/windows/spoof_hardware_identifiers Spoof] your GPU vendor ID}} | ||
===Enabling 7.1 Output (Windows Vista and later)=== | ===Enabling 7.1 Output (Windows Vista and later)=== |
Revision as of 02:04, 20 November 2022
Developers | |
---|---|
Valve Corporation | |
First release date | |
1 June 2004 | |
Predecessor | |
GoldSrc | |
Successor | |
Source 2 | |
Other information
Source Dedicated Server
- Works with multiple Source-based games.
- See the "Source Dedicated Server", "SteamCMD" (for most Source games), or "HLDUSUpdateTool" (for games which haven't received updates for a while) articles on the Valve Developer Community Wiki for more information.
- See also the the Steam Support article for setting up a Source Dedicated Server through Steam and the article on setting one up stand-alone.
Command line arguments
- Can be used to increase performance in Source-based games and fix various problems.
- Longer launch options can be stored in an
autoexec.cfg
(without the-
prefix and with every command on its own line) in the game's config folder for easier readability and editing. Starting the game with the-autoexec
command is required. - See the Command Line Options article on the Valve Developer Community Wiki for more information.
Issues fixed
Game launches in an unsupported or unusable resolution
Add your resolution to the game's launch options[citation needed] |
---|
|
Console doesn't open
- Make sure developer console is enabled. This can usually be toggled in the Advanced Settings under Keyboard/Controls.
- You can't use the button above Tab ↹ and to the left of 1 to open the console, this is because the game only recognizes ~, which is not present on non-US keyboard layouts. There are two possible solutions:
Bind another key[citation needed] |
---|
Notes
|
Bind console key with autoexec[citation needed] |
---|
Notes
|
Change keyboard layout[citation needed] |
---|
|
Missing models or textures
- Any missing textures will appear as a black and pink checkerboard pattern, missing models are represented by a large red ERROR model.
Instructions[citation needed] |
---|
|
Some maps are way too dark on Intel HD Graphics GPUs
Games and maps using ambient occlusion can be very dark on Intel HD Graphics. Upstream issue here.
Modify configuration file |
---|
If the console
Notes
If the console variable is not available (e.g. in CS:GO or Left 4 Dead 2):
Notes
|
"High" shadow detail option is missing
- The setting is only shown if Shadow Depth Textures are supported.[1] However the Source Engine has always only checked this feature against a hardcoded selection of known GPU vendors.[2] This notably excluded everything from Intel in the past.[3][4]
Launch the game with the -force_vendor_id 0x10DE -force_device_id 0x1180 command line arguments[5]
|
---|
|
Spoof your GPU vendor ID |
---|
Enabling 7.1 Output (Windows Vista and later)
- Even when 7.1 speaker option is selected, game may still output to only 5 speakers, leaving the side surround speakers void of sound.
- This issue is typically present in Source engine games that use Miles Sound System.
Enable 7.1 Speaker Output In Source Engine Games[citation needed] |
---|
Notes
|
Notes
- ↑ Counter-Strike: Global Offensive added it in version 1.0.0.62, but release day Dota 2 still lacked it one year later. Conversely all the first party titles updated to the Source 2013 branch should be good (older licensed engine games or mods might not have been so lucky though, including Left 4 Dead).
References
- ↑ As can be seen in file
gameui/OptionsSubVideo.cpp
from leaked source code. - ↑ See
materialsystem/shaderapidx9/shaderdevicedx8.cpp
. - ↑ Source games without High Shadow Detail option - Steam Users' Forums (retrieved)
- ↑ News - Counter-Strike: Global Offensive Beta Update Released
- ↑ env_projectedtexture - Valve Developer Community