64-bit mode with Source SDK: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(detailed 64-bit workaround)
Line 1: Line 1:
[[Category:Source_SDK_FAQ]]
[[Category:Source_SDK_FAQ]]
It is known that the Source SDK doesn't start after you have run HL2 in 64-bit code.
The current Source SDK release has issues starting up on systems running the Source engine in 64-bit mode with the 64-bit version of Windows XP.


FIX: Run HL2 in 32-bits mode by adding "-32bit" to the Launch Options
To correct the problem:
 
# In the Steam Games window, right-click on Half-Life 2 (or any installed Valve game you want to run) and select the '''Properties''' option.
# Then select '''Set launch options...''' and add the line <code>-32bit</code> to the edit box.
# Close the dialog and launch the game you just edited (ie. Half-Life 2). When it has successfully started up, close the game.
 
You should now be able to run the SDK on your 64-bit OS. Note, however, that if you run ''any'' of your Valve games without the <code>-32bit</code> option, your SDK will go back to being incompatible and you'll need to repeat this process.
 
This means that if you run a game through Hammmer, you'll also need to launch that game with the <code>-32bit</code> command line parameter as well. The same is true running a game from a batch file, command line, etc.

Revision as of 15:35, 18 March 2006

The current Source SDK release has issues starting up on systems running the Source engine in 64-bit mode with the 64-bit version of Windows XP.

To correct the problem:

  1. In the Steam Games window, right-click on Half-Life 2 (or any installed Valve game you want to run) and select the Properties option.
  2. Then select Set launch options... and add the line -32bit to the edit box.
  3. Close the dialog and launch the game you just edited (ie. Half-Life 2). When it has successfully started up, close the game.

You should now be able to run the SDK on your 64-bit OS. Note, however, that if you run any of your Valve games without the -32bit option, your SDK will go back to being incompatible and you'll need to repeat this process.

This means that if you run a game through Hammmer, you'll also need to launch that game with the -32bit command line parameter as well. The same is true running a game from a batch file, command line, etc.