Difference between revisions of "Engine:Source"
From PCGamingWiki, the wiki about fixing PC games
(→"High" shadow detail option is missing: Added new alternative, and expanded the steps of reg spoofing (technically just the vendor would be enough, but leaving it blank screams too much undefined behaviour)) |
(→"High" shadow detail option is missing: and after thorough testing, even W8 developer preview still has spoofing bust. Changed some wording to reflect W7 UI then. 0xFFFF avoids whatever idiot ball with super new or super old blacklists) |
||
Line 92: | Line 92: | ||
==="High" shadow detail option is missing=== | ==="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> | {{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 | + | {{Fixbox|description=Launch the game with the <code>-force_vendor_id 0x10DE -force_device_id 0xFFFF</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 | + | {{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=Fake your GPU vendor ID in the system properties|ref=<ref>[https://grimore.org/windows/spoof_hardware_identifiers windows:spoof_hardware_identifiers [Wizardry and Steamworks<nowiki>]</nowiki>]</ref>|fix= | {{Fixbox|description=Fake your GPU vendor ID in the system properties|ref=<ref>[https://grimore.org/windows/spoof_hardware_identifiers windows:spoof_hardware_identifiers [Wizardry and Steamworks<nowiki>]</nowiki>]</ref>|fix= | ||
Line 99: | Line 99: | ||
# Navigate to <code>{{p|hklm}}\SYSTEM\CurrentControlSet\Enum</code> | # Navigate to <code>{{p|hklm}}\SYSTEM\CurrentControlSet\Enum</code> | ||
# Open the key of the interested GPU (use the <code>wmic PATH Win32_VideoController GET PNPDeviceID</code> command for a clue) | # Open the key of the interested GPU (use the <code>wmic PATH Win32_VideoController GET PNPDeviceID</code> command for a clue) | ||
− | # Take its ownership to the current user (Permissions > Advanced > | + | # Take its ownership to the current user (Permissions > Advanced > Owner) |
− | # Add the spoofed | + | # Make sure at least a group between ''Administrators'', ''Users'', ''Everyone'' or ''Owner Rights'' has Full Control permissions. |
+ | # Add the spoofed details at the top of the <code>HardwareID</code> string (e.g. <code>PCI\VEN_10DE&DEV_FFFF</code>) | ||
'''Notes''' | '''Notes''' | ||
− | {{ii}} This doesn't work | + | {{ii}} This doesn't work from Windows 8 onwards. |
{{--}} The last step has to be repeated after every reboot (though a .reg file could be created to expedite the changes)}} | {{--}} The last step has to be repeated after every reboot (though a .reg file could be created to expedite the changes)}} | ||
{{Fixbox|description=Spoof your GPU vendor ID through custom dll|fix= | {{Fixbox|description=Spoof your GPU vendor ID through custom dll|fix= |
Revision as of 02:54, 23 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 0xFFFF command line arguments[5]
|
---|
|
Fake your GPU vendor ID in the system properties[6] |
---|
Notes
|
Spoof your GPU vendor ID through custom dll |
---|
Notes
|
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
- ↑ windows:spoof_hardware_identifiers [Wizardry and Steamworks]