Launching tools directly: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (Created page with 'Some SDK tools, including Hammer and its compilers, HLMV and Faceposer are liable to not work properly when launched from a Window shortcut. You will be unable to loa…') |
TomEdwards (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
Some SDK tools, including [[Hammer]] and its compilers, [[HLMV]] and [[Faceposer]] are liable to not work properly when launched from a Window shortcut. | Some SDK tools, including [[Hammer]] and its compilers, [[HLMV]] and [[Faceposer]] are liable to not work properly when launched from a Window shortcut. Unless you run them from the SDK Launcher you will be unable to load content from GCF files and may experience crashes. | ||
There is a very easy solution to this problem: '''make the application's working directory <code>"%sourcesdk%\bin\orangebox\"</code>''' (or <code>\ep1</code>). You may have to type the path to the SDK folder out in full in some places. | There is a very easy solution to this problem: '''make the application's working directory <code>"%sourcesdk%\bin\orangebox\"</code>''' (or <code>\ep1</code>). You may have to type the path to the SDK folder out in full in some places. |
Revision as of 09:18, 14 November 2009
Some SDK tools, including Hammer and its compilers, HLMV and Faceposer are liable to not work properly when launched from a Window shortcut. Unless you run them from the SDK Launcher you will be unable to load content from GCF files and may experience crashes.
There is a very easy solution to this problem: make the application's working directory "%sourcesdk%\bin\orangebox\"
(or \ep1
). You may have to type the path to the SDK folder out in full in some places.
- In a shortcut, edit the "Start In" field.
- From the command line, use the
cd
command. - In Batch Compiler, set the BinRoot variable.
Not all tools require this. Most command-line ones work fine with any working directory.