Tuesday Oct 25, 2005

Getting there with quake3 on solaris

Its been a long while since I've added anything here. Been busy find a place to live :) Finding some spare time (when not looking for new house and furniture) let me play about with this:

kashyyyk:~/src/q3/quake3/code/unix$ uname -a
SunOS kashyyyk 5.11 snv_25 i86pc i386 i86pc
kashyyyk:~/src/q3/quake3/code/unix$ 
kashyyyk:~/src/q3/quake3/code/unix$ gmake
gmake  targets B=releasei386 CFLAGS="-pipe -DDEBUG -g"
gmake[1]: Entering directory `/export/home/sm97610/src/q3/quake3/code/unix'
gcc -pipe -DDEBUG -g -o releasei386/client/unix_main.o -c ../unix/unix_main.c 
gcc  -o releasei386/SunOSquake3 releasei386/client/cl_cgame.o releasei386/client/cl_cin.o releasei386/client/cl_console.o...
...
...
kashyyyk:~/src/q3/quake3/code/unix/releasei386$ ls -l
total 6150
drwxr-xr-x   9 sm97610  other        512 Oct 24 20:14 ./
drwxr-xr-x   6 sm97610  other       1024 Oct 24 23:39 ../
-rwxr-xr-x   1 sm97610  other    2981132 Oct 24 23:49 SunOSquake3*
drwxr-xr-x   6 sm97610  other        512 Oct 24 23:40 baseq3/
drwxr-xr-x   2 sm97610  other       3072 Oct 24 23:49 client/
-rw-r--r--   1 sm97610  other     135291 Oct 24 19:44 d2
drwxr-xr-x   2 sm97610  other        512 Oct 24 15:43 ded/
drwxr-xr-x   2 sm97610  other        512 Oct 24 15:43 ft2/
drwxr-xr-x   6 sm97610  other        512 Oct 24 15:43 missionpack/
drwxr-xr-x   2 sm97610  other        512 Oct 24 15:43 q3static/
drwxr-xr-x   2 sm97610  other        512 Oct 24 15:43 ref/
hashyyyk:~/src/q3/quake3/code/unix/releasei386$ isalist
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
kashyyyk:~/src/q3/quake3/code/unix/releasei386$ 

I need to figure out why it can't call the opengl functions. It does load the libGL.so.1 Mesa library, but can't use em.

kashyyyk:~/src/q3/quake3/code/unix/releasei386$ ./SunOSquake3
ioQ3 1.33 sun-i386 Oct 24 2005
----- FS_Startup -----
Current search path:
/export/home/sm97610/.q3a/baseq3
/export/home/sm97610/src/q3/quake3/code/unix/releasei386/baseq3
./baseq3

----------------------
0 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----

------- Input Initialization -------
------------------------------------
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Received signal 11, exiting...
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
kashyyyk:~/src/q3/quake3/code/unix/releasei386$