Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110545 - quake3 quake3-bin mods q3ded q3osp-ded q3ra3-ded ...
Summary: quake3 quake3-bin mods q3ded q3osp-ded q3ra3-ded ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 111094 120074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-26 07:33 UTC by samLT
Modified: 2006-10-26 14:16 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
games-q3mod.eclass.diff (games-q3mod.eclass.diff,661 bytes, patch)
2006-05-24 06:13 UTC, Paul Bredbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description samLT 2005-10-26 07:33:10 UTC
When you have emerged quake3 for a while, you normally have, quake3 in the world
file.
There is now quake3 (emerge quake3 does now compile quake3 from source
(quake3test as *they* call it) and it's no longer the "bin" version) and
quake3-bin in portage.

emerge --sync does change the "quake3" in the world file to "quake3-bin"

If you don't plan to use the quake3test right now, and you want to use the
quake3-bin instead you have to:

[launch quake3-bin instead of quake3 ..:P this one was easy]

modify /etc/init.d/q3ded

And if you have other quake3 mods installed, and if you like to launch them
directly from the command line (ie: quake3-osp), you also have to modify some
things:

ie: file to modify for OSP:
/usr/games/bin/quake3-osp

See changes to do here: http://forums.gentoo.org/viewtopic-t-395483.html

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2005-10-27 00:24:21 UTC
if you re-emerge quake3-bin, the q3ded init script will fix itself

i can tweak the quake3 eclass so that it'll generate quake3-<MOD> and
quake3-<MOD>-bin wrappers, but otherwise i dont see anything else which needs
changing
Comment 2 samLT 2005-10-27 01:08:03 UTC
(In reply to comment #1)
> if you re-emerge quake3-bin, the q3ded init script will fix itself
> 

I did see q3ded has changed (I already emerged quake3-bin) but it didn't work. I
did what you say:
(first I did :
rm /etc/init.d/q3ded in order to be sure ;) )

then 
emerge quake3-bin

Without modifying anything, if I start q3ded:
/etc/init.d/q3ded start

it seems to start, but I have nothing running (ps -aux), and of course there is
no server running. 

I can't stop it:
/etc/init.d/q3ded stop
 * Caching service dependencies ...            [ ok ]                          
                                           
 * Stopping Quake3 dedicated server ...
 * Lost screen session                         [ !! ] 

(I have to zap it 
/etc/init.d/q3ded zap)

As mentionned here : http://forums.gentoo.org/viewtopic-t-395483.html 

If I had the path to q3ded-bin in /etc/init.d/q3ded  (line 12) then I can start
it, and I now have a server running(ps -aux), I can join it, But i can't stop it:

/etc/init.d/q3ded stop
 * Stopping Quake3 dedicated server ...
/etc/init.d/q3ded: line 27: kill: creen(9494)&#9472;&#9472;&#9472;su(9495)&#9472;&#9472;&#9472;q3ded(9496: arguments
must be process or job IDs
 * Could not kill q3ded-bin                                         [ !! ] 


That's why I made the second change  in      /etc/init.d/q3ded:

line 22: "replace q3ded-bin, with q3ded only in order to stop the dedicated
server easily"                                    

now:
/etc/init.d/q3ded stop
 * Re-caching dependency info (mtimes differ)...
 * Stopping Quake3 dedicated server ...                        [ ok ]   

As you can see, without these changes, we're not able to  launch the q3ded
server (actually q3ded-bin..)   

I think that's more clear now, isn't it?                                       
               
Comment 3 Mirek Kratochvíl 2006-01-10 01:54:05 UTC
#added by _einstein@centrum.cz:
look at this http://mobile.linux.com/howtos/Game-Server-HOWTO/quake3.shtml
Comment 4 samLT 2006-01-10 07:47:16 UTC
(In reply to comment #3)
> #added by _einstein@centrum.cz:
> look at this http://mobile.linux.com/howtos/Game-Server-HOWTO/quake3.shtml
> 

? I really don't see why you're giving this link... if you plan to use the quake3-bin version of quake then follow the link I gave, otherwise you shouldn't have any problem running quake 3 dedicated server with the [great] initscripts..
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-01-23 10:16:32 UTC
*** Bug 120074 has been marked as a duplicate of this bug. ***
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-03-30 17:23:35 UTC
*** Bug 111094 has been marked as a duplicate of this bug. ***
Comment 7 Paul Bredbury 2006-05-24 06:13:54 UTC
Created attachment 87390 [details, diff]
games-q3mod.eclass.diff

The games-q3mod eclass is currently broken. Emerging quake3-urbanterror gives a wrapper script which calls quake3 rather than quake3-bin, although the mod files are installed under /opt/quake3. So quake3 is run and the mod is not found.

Here is the simple patch required to get it working with quake3-bin.
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-24 07:18:52 UTC
OK.  I've added the patch now, does that resolve this?

I know that there is still the issue of the packages not working with both versions of quake3, but I haven't thought up a proper solution for that just yet.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-26 14:16:15 UTC
OK.  With the addition of the new games-mods eclass, plus the updated quake3-* ebuilds to go with it, this should be mostly resolved.  There's still no proper support for both quake3 and quake3-bin for the dedicated servers, only quake3-bin, but I'll be adding that over the next few days or so.

Anyway, the original bug here was fixed a *long* time ago, so I'm marking this one as FIXED.