Talk:How to build the SDK on Linux
From modwiki
I just removed the author's signature on this article, before you think I am evil, let me explain: On a wiki it is generally bad practice to sign an article with your name for several reasons, the first and foremost one being that every article is in the end a collaborative product, it is important to not consider the stuff you wrote to be "your own", since it will undoubtably be edited and added to in the future. It might be misleading to sign an article even if, like in this case, it was pertaining to the "original version". The other reason is that credit is in fact given permanently and unalterable on the history page (with which you can see EXACTLY what a specific person wrote/did). --iceheart 13:43, 25 Jun 2005 (W. Europe Daylight Time)
Meh, fine with me.
-Fitzsimmons
Correction - Renaming gamex86-base.so?
I'm quite new to the SDK (- I actually used this guide -) so I don't know if this is typical D3 behaviour, but I had to rename gamex86-base.so to gamex86.so before any of my code was actually executed (I assume the same applies for the expansion as well). I haven't changed the article yet, as I'm not sure this is actually neccessary, or if I'm just being silly.
--Jamesrb 21:24, 29 Aug 2005 (W. Europe Daylight Time)
How're you loading the shared object? Do you just copy it to a new directory and then run doom3 with that mod? I have found that in general, if you want your code to load it is much simpler to throw the .so into a pk4 with a binary.conf. I have become so frustrated with trying to load it any other way that I've just written a simple script to automatically do this for me. I got the script to disable compression for zip files, so that the archive is built much faster. I'm not saying this is the "correct" way to do it, but I certainly feel that it is a good solution.
--Fitzsimmons 00:08, 20 Oct 2005 (W. Europe Daylight Time)
Yes, you have to rename it. It comes out with the -base suffix because some people build the main game and expansion at the same time, so it helps to differentiate between the two. It's easier to just set up a script that deals with renaming and moving things to the right place.
Here's what I use, if it helps any:
echo "Removing old gametenko.pk4..." rm /opt/doom3/test/gametenko.pk4 rm ~/.doom3/test/gamex86.so
echo "Copying new libraries to test location..." cp game01-d3xp.pk4 /opt/doom3/test/gametenko.pk4
Obviously, the paths might need a bit of changing. But it works nice.
--Tenko 02:13, 30 October 2005 (W. Europe Standard Time)
Quake 4?
I just tagged this page with D3page since I don't know how big a difference it is for Q4, so if anyone more familiar with the subject wants to include instructions for Q4 here, I would be very happy. --iceheart 12:30, 4 April 2006 (W. Europe Daylight Time)

