LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Anyone manage to compile the Quake 3 source code? (https://www.linuxquestions.org/questions/linux-games-33/anyone-manage-to-compile-the-quake-3-source-code-355531/)

black hole sun 08-21-2005 12:38 PM

Anyone manage to compile the Quake 3 source code?
 
If so, how?

I have done a

find lcc/src | xargs fromdos (as suggested on slashdot)

Then when I go to compile I get this;

paul@nephilim:~/q3a/quake3-1.32b/code/unix$ ./cons
: No such file or directory

No such file or directory? What's the supposed to mean? What is it not finding?

BROse 08-21-2005 01:11 PM

Same here.........

Nylex 08-21-2005 01:41 PM

I haven't been able to download it yet :(.

black hole sun 08-22-2005 03:31 PM

up you go!
Quote:

Originally posted by Nylex
I haven't been able to download it yet :(.
ftp://ftp.demon.co.uk/pub/mirrors/id...32b-source.zip

Anyone?

trey85stang 08-23-2005 04:25 AM

not that I condone reading on the site I am about to mention...

but... There is step by step instructions posted on slashdot under the topic about the code being released.

MasterC 08-23-2005 12:10 PM

Quote:

Originally posted by trey85stang
not that I condone reading on the site I am about to mention...

but... There is step by step instructions posted on slashdot under the topic about the code being released.

:D Slashdot is my only news source ;)



Moved: This thread is more suitable in Linux - Games and has been moved accordingly to help your thread/question get the exposure it deserves.

madluther 08-23-2005 03:17 PM

The source compiles and runs fine.

Make sure you unpack the zip file with unzip -a otherwise the cons perl file will bail when you run it.

Adjust code/Construct file to suit your system for release/debug or SMP builds

build it with following command run from the code directory

./unix/cons -- gcc=gcc g++=g++

note, the build failed with gcc-3.4.1 but built cleanly with gcc-3.3.4

the code/install directory contains the binaries.

HTH

Mad.

kornerr 08-27-2005 12:06 PM

Quote:

Make sure you unpack the zip file with unzip -a otherwise the cons perl file will bail when you run it.
Thanks for that!

kornerr 08-27-2005 12:44 PM

What is it:
Code:


kornerr@darkstar:/home/other/apps/quake3-1.32b/code/install$ ./linuxquake3
Q3 1.32b linux-i386 Aug 28 2005
----- FS_Startup -----
Current search path:
/home/kornerr/.q3a/baseq3
/home/other/apps/quake3-1.32b/code/install/baseq3
./linuxquake3/baseq3

----------------------
0 files in pk3 files

Running in restricted demo mode.

----- FS_Startup -----
Current search path:
/home/kornerr/.q3a/demota
/home/other/apps/quake3-1.32b/code/install/demota
./linuxquake3/demota

----------------------
0 files in pk3 files
----- CL_Shutdown -----
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: Couldn't load default.cfg
linuxquake3: debug-x86-Linux-2.3/core/client/unix/unix_main.c:333: Sys_Exit: Assertion `ex == 0' failed.
Aborted

I haven't modified code/Construct ...
What should I modify?

Thanks.

madluther 08-27-2005 07:21 PM

You need the pk3 files from the point release and from the quake3 cd.

You can get the point release here (you may need to hold down the shift key when clicking the link)

ftp://ftp.idsoftware.com/idstuff/qua....32b-3.x86.run

to unpack this file, make it executeable and create a temp directory to untar it.

Code:

chmod +x linuxq3apoint-1.32b-3.x86.run
mkdir q3tmp; cd q3tmp
../linuxq3apoint-1.32b-3.x86.run --tar xvf

copy all the .pk3 files from the q3tmp/baseq3 directory to the code/install/baseq3 dir in the source directory tree, finally copy pak0.pk3 from the quake3 cd to the baseq3.

HTH

Mad.

kornerr 08-28-2005 02:10 AM

Thanks, madluther.
Will try it when get quake3 pk3s;)

Daejavu 08-28-2005 09:50 AM

what will happen after a successful compilation ?
i mean what file will comeup in front of u and what can that file do when the compilation is sucees ?

Nylex 08-28-2005 10:07 AM

You'll be able to play Q3 under Linux, surely (edit: assuming of course the graphics drivers are there and stuff)..

win32sux 08-28-2005 06:00 PM

what are the pk3 files?? and what license do they use??

Quote:

Originally posted by madluther
finally copy pak0.pk3 from the quake3 cd to the baseq3.
but what about those of us that don't have the quake 3 cd?? :confused:

BTW, just curious: has anyone put together a quake 3 linux binary package?? and will we start to see some linux distros include quake 3 in their package repositories?? :)

headrush0r 01-09-2007 09:14 PM

i get this when trying to compile the q3source on an x86_64 machine, dual core 3800 cpu.

debug-x86-Linux-2.5/Q3/game/game/g_main.c: In function 'vmMain':
debug-x86-Linux-2.5/Q3/game/game/g_main.c:212: warning: cast from pointer to integer of different size
cons: *** [debug-x86-Linux-2.5/Q3/game/game/g_main.o] Error 1
cons: errors constructing debug-x86-Linux-2.5/Q3/game/game/g_main.o

i'm very certain this is a 64bit-only problem.


All times are GMT -5. The time now is 08:28 PM.