Page 1 of 2

Quake2 Linux (port or translation)?

Posted: Fri Apr 08, 2005 3:07 am
by keffo
Hey.. I know similar threads been up before, and damn it was
long time since I wrote anything here.


Well, im about to run Quake2 in Linux and wonder what I need.
Its not hard translating it, running Cedega/Wine or so.. But I
feel thats not the best way..

So I wonder what files I need? What ports are the best, any
how-tos etc?

Im quite very familiar with linux, just need to know what files ;P


Cheers

Posted: Fri Apr 08, 2005 6:00 am
by NRGizeR
I use apr, and it works great! I find quaking in linux to be much smoother and more enjoyable than in windows.

There is a q2 installer somewhere on the web... I'm at school right now, but I'll try to dig up the links and post them here when I get home. Apr can be downloaded from the same place as the windows client I believe. After that it could be a good idea to download a linux action .so so that you can play action offline as well. You could for example get the linux server dlls from tng.

Posted: Fri Apr 08, 2005 6:09 am
by keffo
Ah, thank you very much.

Please help me out when you're home, really need it ;P

Cheers

Posted: Fri Apr 08, 2005 6:23 am
by imeiz
i suppose you've your quake on windows atm, so all you need is a client :)
apprime.0wns.org/q2 or nocheat from bryceinc's page, or r1q2 from R1CH's page :)
also, for a listen server you need that gamei386.so. http://sourceforge.net/projects/aq2-tng/ <- cvs :)

apr works with libpng 1.2.1 and r1q2 with 1.2.8, dunno about nocheat.

if you got any questions, atleast me and haui are in #aq2world :)

Posted: Fri Apr 08, 2005 9:27 am
by keffo
NGR, as i said.. post as quick as you get home

Posted: Sat Apr 09, 2005 4:47 am
by NRGizeR
sorry keffo, forgot about this, had alot on my mind last night :/

anyway: here is the link to the quake2 installer (and alot of other installers as well)

http://www.liflg.org/?page=cat&catid=6

Basically this will install a fresh copy of quake2 (I don't really remember if you needed the cd for this) and set up all the links and other stuff you need. It is also very possible to do what imeiz suggested, and install everything yourself, what you need then is the client (apr for ex), the linux aq2 .so (.dll) and the .pak files from your q2 dirs. After that you can pretty much set it up yourself. I have to tell you that I did struggle for a day or two before I had everything set up correctly, so don't give up if it doesn't work right away, it will sooner or later :) and it's great! :mrgreen:

sorry again that I forgot about posting the link... :/

oh, and you still might want the apr executables and the aq2 .so after installing this...

Posted: Sat Apr 09, 2005 5:44 am
by keffo
thanks!


already done that with Loki, and I get it right working.
The thing is when you use Apr, I mean.. then you replace
lokis files?


Tell me more how you did AFTER you installed Lokis.

Posted: Sat Apr 09, 2005 5:48 am
by keffo
cant you make some fresh links for me what files you use?

Posted: Sat Apr 09, 2005 5:52 am
by NRGizeR
apr uses its own executable (aq2 and aq2sw) so it doesn't really replace any existing files, and even if it did, it wouldn't really matter since you most probably don't want to actually use the vanilla q2 client that loki contains anyway. In an ideal situation, all you need to do after using the loki installer (and getting all files and links in the right place) is to extract the aprq2 package, and the tng .so and after that you can start aq2 with

Code: Select all

./aq2 +set game action
(from /usr/local/games/quake2 if you didn't install it in a custom directory) and if you don't want to be able to play offline, you can just skip installing the tng .so. Btw. the newest tng .so didn't work for me, don't really know why, (Seg faulted) but 2.72 works perfectly.

Hope that helps...

Posted: Sat Apr 09, 2005 5:56 am
by NRGizeR
oh... and to get opengl working I also use +set vid_ref glx

Posted: Sat Apr 09, 2005 5:58 am
by keffo
yey, got this things working.. gonna try some more,

btw.. the gamex86.so files.. hm? is there one in apr and one in .tng?

shall i replace the one i baseq2? this is what im unsure about

and did you have any sound issues with apr?

Posted: Sat Apr 09, 2005 6:01 am
by imeiz
don't replace the baseq2's gamei386.so.

nrg, that newest tng didn't work for me either, so go to the tng sourceforgepage (i mentioned the url earlier) and get the cvs :)

Posted: Sat Apr 09, 2005 6:02 am
by NRGizeR
can't recall ever seeing a gamex86.so included in apr, are you sure about that? Anyway, you don't have to touch the gamex86 in the baseq2 directory, this is only the file used for the gamerules for regular q2, so when you do +set game action the gamex86 in action will be used instead, and this is where you would put the tng .so

I do remember having some sound problems with apr, but I don't remember how I fixed them, what kind of problems are you experiencing?

Posted: Sat Apr 09, 2005 6:10 am
by keffo
Problems like, when I run a simple n clean Loki install, the sounds runs
great.. when trying with apr or nocheat (this is while i was testing some stuffs out.. i've might've done something wrong)

well.. the problems is, that the sound is ultralagging.. like seconds after, so it all flutes together etc.. really weird


hmm, confused again.. wich tng-file do you use?

Posted: Sat Apr 09, 2005 6:12 am
by NRGizeR
I use the pre-built 2.72 (old, but if you don't plan on running your own server it really doesn't matter) and imeiz apparently uses the newest (built from the cvs that should be the most up-to-date version availible, but you have to build them yourself)

and as for the sound, as I said, I can't really remember what I did to make it work ok, but you could try to tweak the snd variables (they all start with snd, so just hit tab to list them all) as linux doesn't use the s_ variables (other than volume)... or at least that's what maniac told me :D