Compiling the SDK

View previous topic View next topic Go down

Compiling the SDK

Post  MMC on Sat Feb 16, 2008 2:15 pm


    Step 1:
  • Install Visual Studio 2003, Visual Studio 2005, or Visual C++ 2005 Express Edition.
  • Install Microsoft Platform SDK for Windows 2003 (NOT Vista). This step is not required if you're using the full version of Visual Studio, as the PSDK is included with VS.
  • Install Quake 4 SDK.

    Step 2:
  • Open q4sdk.sln
  • If asked to convert the projects, say yes.
  • Ignore any warnings about source control.

    Step 3:
  • Repeat the following for all 3 projects (Game, idlib, MPGame), setting the configuration selector to 'All Configurations':
    1. Right click on the project name and choose 'Properties'.
    2. Goto 'Configuration Properties -> C/C++ -> General' and in the 'Additional Include Directories' field put ' "<path-to-PSDK>\include" ' (include the ""). Replace the <path-to-PSDK> to point to wherever you installed the PSDK (usually C:\Program Files\PSDK\...). Use the ... button to help find the appropriate folder quickly.
    Step 4:
  • Repeat the following for Game and MPGame (NOT idlib), setting the configuration selector to 'All Configurations':
    1. Right click on the project name and choose 'Properties'.
    2. Goto 'Configuration Properties -> Linker -> General' and in the 'Additional Library Directories' field put ' "<path-to-PSDK>\lib" ' (include the ""). Replace the <path-to-PSDK> to point to wherever you installed the PSDK (usually C:\Program Files\PSDK\...). Use the ... button to help find the appropriate folder quickly.
    3. Goto 'Configuration Properties -> Linker -> Input' and in the 'Additional Dependencies' field add ' Advapi32.lib' onto the end of the list (include the space).
    Step 5:
  • Left click once on the 'Game' project (to highlight it).
  • Goto the 'Build' menu and select 'Clean Solution'.
  • Goto the 'Build' menu and select 'Build Solution'.


Well Done. You should have no errors and a nice clean 'Gamex86.dll' sitting in the SDK output folder somewhere. You can now start editing the SDK to try and modify the game.

MMC

Posts: 22
Join date: 2008-02-09
Age: 22
Location: Lost in the Ether

View user profile http://dynasty.evogame.co.uk

Back to top Go down

Re: Compiling the SDK

Post  Jack Serjeant on Sat Feb 16, 2008 3:07 pm

Good stuff

Jack Serjeant

Posts: 46
Join date: 2008-02-10
Age: 22
Location: Uni Newport/Home Tetbury

View user profile

Back to top Go down

View previous topic View next topic Back to top


Permissions of this forum:
You cannot reply to topics in this forum