Difference between revisions of "Engine:Source"
From PCGamingWiki, the wiki about fixing PC games
(→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.) |
(→"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)) |
||
Line 95: | Line 95: | ||
{{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]]).}} | {{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 | + | {{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= |
+ | # Open [[regedit]]. | ||
+ | # 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) | ||
+ | # Take its ownership to the current user (Permissions > Advanced > Change Owner) | ||
+ | # Add the spoofed info at the top of the <code>HardwareID</code> string (e.g. <code>PCI\VEN_10DE&DEV_1180</code>) | ||
+ | '''Notes''' | ||
+ | {{ii}} This doesn't work in newer Windows.{{CN|Which specific one? W7 is fine but W10 doesn't.}} | ||
+ | {{--}} 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= | ||
+ | # Download the [https://www.nexusmods.com/fallout3/mods/17209 Intel bypass pack] or [https://www.nexusmods.com/newvegas/mods/34970 Alternate D3D9 fix for ATI] | ||
+ | # Extract <code>d3d9.dll</code> into <code>{{p|game}}\bin\</code>. | ||
+ | '''Notes''' | ||
+ | {{ii}} It's not advised to play in VAC protected servers with this solution. | ||
+ | }} | ||
===Enabling 7.1 Output (Windows Vista and later)=== | ===Enabling 7.1 Output (Windows Vista and later)=== |
Revision as of 14:38, 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]
|
---|
|
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]