BNA!@Posted: Sat Oct 16, 2004 9:02 am :
What do you need?

The SDK:
http://www.iddevnet.com/doom3/downloads.php

And the link to iddevnet:
http://www.iddevnet.com/

Have fun!



zeh@Posted: Sat Oct 16, 2004 3:31 pm :
Also, a mod authoring IDE to compile the c++ code. While I don't think anyone has got to compile it which gcc or whichever free compiler people like to use yet, Microsoft has a free download of VC itself:

http://www.doom3world.org/phpbb2/viewtopic.php?p=57046



TTK-Bandit@Posted: Thu Oct 21, 2004 3:10 pm :
If you want to compile the doom3 source with a free compiler and don't want to install the vc2005 beta:
You can do it with the free MS-Toolkit 2003 and the Windows Platform SDK.
Just download this Howto

You can discuss about this howto here: Topic 6855

€dit:
Updated tutorials to SDK 2 (tuts for SDK 1 are still available)

Have Fun!
Bandit.



blood.angel@Posted: Thu Oct 21, 2004 5:28 pm :
Quick noob question about installing both the game and SDK.
iddevnet is a bit vague on where to install them, it says to install the game to a folder path without any spaces and suggests C:/Doom3
However the SDK is installed by default to that folder.
So do you actually need to install both to the same folder?
Or just the SDK?



TTK-Bandit@Posted: Thu Oct 21, 2004 6:15 pm :
my paths are g:\doom3\ for doom and g:\doom3\source\ for the code..
installing the sdk into the same directory as doom is dirty..
don't know why the sdk installer suggests this path..
Have Fun!
Bandit.



Dante_uk@Posted: Fri Oct 22, 2004 12:16 pm :
I assume mod makers will need to build and pack both the gamex86.dll and the Linux gamex86.so so players on either client(Windows or Linux) can use the mod. Also most servers run Linux.

See here for a makefile to build the gamex86.so on Linux:
http://www.doom3world.org/phpbb2/viewtopic.php?t=6907



sparhawk@Posted: Fri Oct 22, 2004 2:06 pm :
blood.angel wrote:
Quick noob question about installing both the game and SDK.
iddevnet is a bit vague on where to install them, it says to install the game to a folder path without any spaces and suggests C:/Doom3
However the SDK is installed by default to that folder.
So do you actually need to install both to the same folder?
Or just the SDK?


I installed the SDK into E:\Programme\Doom3SDK (E: being my default partition for apps) and the game to F:\Programme\Doom3 (F: being my default partition for games).

No problems with that. I only have to copy the DLL to the target directory, but you will have to do this anyways.



TTK-Bandit@Posted: Fri Oct 22, 2004 5:23 pm :
Dante_uk wrote:
I assume mod makers will need to build and pack both the gamex86.dll and the Linux gamex86.so ...

any ideas how to build .so files on a windows OS ?
Have Fun!
Bandit.



sparhawk@Posted: Fri Oct 22, 2004 6:02 pm :
TTK-Bandit wrote:
Dante_uk wrote:
I assume mod makers will need to build and pack both the gamex86.dll and the Linux gamex86.so ...

any ideas how to build .so files on a windows OS ?
Have Fun!
Bandit.


gcc cross compilation.



ART@Posted: Tue Dec 14, 2004 5:09 pm :
i get an "The page cannot be displayed" error for the SDK.exe link. Is this file link working for anyone else?



BNA!@Posted: Tue Dec 14, 2004 5:38 pm :
ART wrote:
i get an "The page cannot be displayed" error for the SDK.exe link. Is this file link working for anyone else?


http://www.iddevnet.com/doom3/downloads.php



TTK-Bandit@Posted: Tue May 31, 2005 7:07 pm :
hey just copied from my previous topic that went down:

If you're looking for compiling the 1.3 SDK with Visual C++ 6
or if you want to compile the 1.3 SDK with the free MSVC2003 compilers,
you should have a look at this:
SDK compile kits for 1.3 SDK:
* Workspace files for Visual Studio 6 and
* Makefiles for the free MSVC2003 toolkit & Windows Platform SDK
(all dependencies updated)



otester@Posted: Thu Jul 27, 2006 2:13 pm :
Erm guys not sure if your awair of this but you are NOT allowed to use any of the Visual Studio 2005 BETA tools for compiling mods, at least ones your going to release to public according to microsofts EULA.

Thought id let you no :roll:



Marineofuac@Posted: Sun Dec 03, 2006 1:28 am :
i think its too late.

2 years late accualy.



SnoopJeDi@Posted: Sun Dec 03, 2006 2:43 am :
otester wrote:
Erm guys not sure if your awair of this but you are NOT allowed to use any of the Visual Studio 2005 BETA tools for compiling mods, at least ones your going to release to public according to microsofts EULA.

Thought id let you no :roll:


Too late, and you could at least do us the generosity of posted the quote or a link to the specific page you pulled this factoid from.



simic@Posted: Tue Feb 06, 2007 3:42 am :
okay i got the compiler to run properly, with no errors. Now after the build is complete cant it be tested right away in doom3 from visual studio? or do i have to manually take the game86x.dll and put it in a pk4 file?



SnoopJeDi@Posted: Tue Feb 06, 2007 3:49 am :
simic wrote:
okay i got the compiler to run properly, with no errors. Now after the build is complete cant it be tested right away in doom3 from visual studio? or do i have to manually take the game86x.dll and put it in a pk4 file?


The proper way is to put the dll in a pk4 with a binary.conf file and run that from your mod directory.

The way I (and I assume many others) end up testing is moving the dll to the mod directory and setting it to read-only, so when the game attempts to overwrite, it can't.

There's probably some great way to do that under windows, but I don't mind the copying. I know people using linux have modified their scons to include all kinds of automation, automatically pk4-ing and moving the code, etc.



But to directly answer your question, you cannot run the code directly from VS, and it'd probably be counterproductive anyway, since you should be running from a mod directory anyway.



simic@Posted: Tue Feb 06, 2007 4:27 am :
what i mean is when I compile the code it asks me for an executable to run! Which i'm guessing would be doom 3 right? I get an error when it starts up "cannot load config" in the doom start up console. Am i doing something stupidly horribly wrong here?

also where do i get a binary.conf file? I see them in the pks but how do i create my own?



rich_is_bored@Posted: Tue Feb 06, 2007 12:13 pm :
It's just a text file with a "conf" extentsion.

It's pretty self explanatory...

Code:
// add flags for supported operating systems in this pak
// one id per line
// name the file binary.conf and place it in the game pak
// 0 win-x86
// 1 mac-ppc
// 2 linux-x86
0


You just change the number at the end to match the OS you're building for.