Some patches the devs might be interested in :)

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Spaceman » Fri Dec 07, 2007 5:53 pm

Some notes which I hope will remind me how to patch Darkplaces and Nexuiz in the future.

Using Kubuntu 7.10, I downloaded a copy of Nexuiz 2.3 from http://downloads.sourceforge.net/nexuiz/nexuiz-23.zip and a copy of the patch from http://stud4.tuwien.ac.at/~e0725517/nex/patches.xml

I used Nickcompletion blub_ prefix removed patch.

I extracted nexuiz-23.zip using Ark (Konqueror has a right mouse click option) and navigated to nexuiz-23/Nexuiz/sources/ and then extracted enginesource20070531.zip

Extracting enginesource20070531.zip created a new folder darkplaces in the sources folder.

I moved the patch file to the darkplaces folder, then opened the konsole and navigated to the darkplaces folder. When I had entered the darkplaces folder I applied the patch, using the following at the konsole

Code: Select all
patch -p1 < r18_nickcompletion.patch

After the patch had been applied I tried to create a new set of Nexuiz executables using
Code: Select all
make nexuiz

but I needed to add libsdl1.2-dev, I used Adept Manager, but you can use Synaptic or even Konsole and apt-get...

Once libsdl1.2-dev had been added I used Konsole and ran
Code: Select all
make nexuiz

After a while make finished and I then renamed three new files

from nexuiz-dedicated to nexuiz-linux-686-dedicated
from nexuiz-glx to nexuiz-linux-686-glx
from nexuiz-sdl to nexuiz-linux-686-sdl

and moved them to the Nexuiz folder (over writing three files).

Done
Spaceman
Alien trapper
 
Posts: 264
Joined: Tue Aug 28, 2007 10:53 am

Previous

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron