You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
844 B
12 lines
844 B
@echo Created per the instructions at https://intranet.valvesoftware.com/wiki/index.php/AppVerifier_for_finding_memory_bugs_and_other_problems |
|
@echo Enabling AppVerifier with reasonable settings for srcds |
|
@echo This must be run with administrator privileges |
|
|
|
@rem The settings are created using the App Verifier UI and can be exported to the .reg file |
|
@rem with this command: |
|
@rem REG EXPORT "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\srcds.exe" srcdsAppVerifierSettings.reg /y |
|
|
|
@rem Import the App Verifier settings |
|
reg import %~dp0srcdsAppVerifierSettings.reg |
|
@rem Increase the size of the database of alloc/free stacks from 8 MB (too small) to 100 MB. |
|
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\srcds.exe" /v StackTraceDatabaseSizeInMB /t REG_DWORD /d 100 /f
|
|
|