Launching tools directly

From Valve Developer Community
Revision as of 10:11, 1 February 2019 by Practical Problems (talk | contribs) (why the hell is literally all of the Source SDK FAQ category for Orangebox still. No one uses Orangebox and no one SHOULD use Orangebox, so I'm just going to change these pages to reflect the modern state of Sources' SDKs.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Most SDK tools, including Hammer and its compilers, HLMV, and Faceposer do not work properly when run by double clicking on them as an EXE. A quick way to solve this issue is to create a shortcut or a batch file that runs the EXE with the parameter -game ../yourmod. Depending on the game, -nop4 may also be required to prevent crashes.