Team Fortress 2 Source Code as on 22/4/2020
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

  1. @echo Created per the instructions at https://intranet.valvesoftware.com/wiki/index.php/AppVerifier_for_finding_memory_bugs_and_other_problems
  2. @echo Enabling AppVerifier with reasonable settings for srcds
  3. @echo This must be run with administrator privileges
  4. @rem The settings are created using the App Verifier UI and can be exported to the .reg file
  5. @rem with this command:
  6. @rem REG EXPORT "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\srcds.exe" srcdsAppVerifierSettings.reg /y
  7. @rem Import the App Verifier settings
  8. reg import %~dp0srcdsAppVerifierSettings.reg
  9. @rem Increase the size of the database of alloc/free stacks from 8 MB (too small) to 100 MB.
  10. reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\srcds.exe" /v StackTraceDatabaseSizeInMB /t REG_DWORD /d 100 /f