Bunker the Game
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Compiling the SDK

2 posters

Go down

Compiling the SDK Empty Compiling the SDK

Post  MMC Sat Feb 16, 2008 7:15 am


    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
MMC

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

http://dynasty.evogame.co.uk

Back to top Go down

Compiling the SDK Empty Re: Compiling the SDK

Post  Jack Serjeant Sat Feb 16, 2008 8:07 am

Good stuff

Jack Serjeant

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

Back to top Go down

Back to top


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