Can't compile quake 3 arena source code

2.1k views Asked by At

I need help compiling the source code for Quake III Arena. I'm using the version provided by ID Software's Github account (https://github.com/id-Software/Quake-III-Arena). I'm trying to compile it in VS2015, is that a problem? It converts the project without any issues. However, when I compile, all I get is a black screen and a messed up color scheme. The debugger tells me the problem is in this funcion:

#ifdef _WIN32
    __asm  {
        pushad
        mov     esi, programStack;
        mov     edi, opStack
        call    entryPoint
        mov     programStack, esi
        mov     opStack, edi
        popad
    }

More precisely, in the line mov programStack, esi. Any ideas? I'm trying to make a game with this engine, since it's basically the "mother" of all Fpses today :D Any help is appreciated.

1

There are 1 answers

0
Viniest Jester On

Make sure to clean all the projects in VS2015, and to the quake3 project add the following command line agruments:

+set sv_pure 0 +set vm_game 0 +set vm_cgame 0 +set vm_ui 0

Also, make sure to copy the baseq3 folder from your Quake 3 arena game into the Quake-III-Arena/code folder.