Server Only Build

Discuss programming topics for the various GPL'd game engine sources.
Post Reply
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Server Only Build

Post by Baker »

I dropped the WinQuake style from ProQuake 4.90, since no one is using it on servers (ProQuake and Qrack and probably DirectQ respond to "q_version") and I've never once seen it come back "Win ProQuake" in the 2 or 3 years.

This leads me to believe that past usage was due to bad video cards, cheating before anti-wallhack (r_draworder cheat in WinQuake -- anti-wallhack completely destroyed effectiveness of that :D ), inability to run an OpenGL or Direct3D kind of client, etc.

As a result, I've been doing the old "#ifdef SERVERONLY" deal to the source rapidly to build a "no renderer, no cd, no sound" version as it is pointless to have the server have those kind of dependencies. Plus I wanna see how small the binary will be. :D

I peeked at FTE to see how it handled V_CalcRoll which is actually used by sv_user.c (to anyone who doesn't know).

Kind of funny how the original Quake (versus Quakeworld ...) is a bit of a convolution of client and server code mixed together.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
r00k
Posts: 1111
Joined: Sat Nov 13, 2004 10:39 pm

Re: Server Only Build

Post by r00k »

I've always used the wqpro.exe for servers.
Baker
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am

Re: Server Only Build

Post by Baker »

r00k wrote:I've always used the wqpro.exe for servers.
I ended up taking the software renderer, stripping out the renderer/menu/drawing and using vid_null.c, snd_null.c and cd_null.c and the asm.

Forced it run as -dedicated if no command line parameters found. Ended up being pretty tiny (236 kb). I didn't entirely strip out the client stuff.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
Post Reply