Summary: | [PATCH] games-util/xqf-1.0.4 and real_dir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | samLT <samuel.lethiec> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
real_dir.patch
diff between xqf-1.0.4-r1 and xqf-1.0.4-r2 real_dir.patch diff between xqf-1.0.5 and xqf-1.0.5-r1 ebuild |
Description
samLT
2006-08-20 02:31:24 UTC
Created attachment 94670 [details, diff]
real_dir.patch
Created attachment 94671 [details]
diff between xqf-1.0.4-r1 and xqf-1.0.4-r2
I attached the wrong patch :/ here is the good one :) Created attachment 94674 [details, diff]
real_dir.patch
(In reply to comment #0) > Running quake3 for the first time create the ~/.q3a directory, ok. > mv ~/.q3a ~/quake3 why? > Try joining a server with xqf, and you'll have this message: > "~/.q3a directory doesn't exist or doesn't contain baseq3" Message from quake or xqf? > Now in XQF--> Preferences --> games --> quake3, put ~/quake3 in the "Working > Directory" > > Results: > It doesn't work, same error message. The "Working Directory" we've just set > doesn't work (as expected) What do you expect it to do? The message is obviously from XQF, since if there is no ~/.q3a directory, then quake3 will just create it. Anyway, here is the full story: I launch games on an other Xserver being an other user: 'xplayer' (using sudo) (I'm using the script the script xlaunch: http://forums.gentoo.org/viewtopic-t-483004.html ) This means I have no ~/.q3a, and I don't want. That's where the "Working Directory" setting should handy, I can point it to /home/xplayer/.q3a instead of the default ~/.q3a (I also added xquake3 in the command field (see thread given above for more info )) Then I can start XQF on my Desktop, being *me*, select a server, and when I join it, it sudo to xplayer then starts a new Xserver, the game, the xbindkeys daemon (if you like) and so on..) Well, the "working Directory" doesn't work as expected, but, using the patch I proposed, it works. The patch is really basic: REPLACE "dir = this->real_home?this->real_home:this->real_dir;" where real_home is the default home for a given game. and real_dir is the "Working Directory" we set for that game. WITH "dir = this->real_dir?this->real_dir:this->real_home;" (otherwise dir is always set to real_home, since it's always defined. ) I'm sorry, there are some missing words in my sentences. I hope you can understand them anyway. I miss the preview button :) > > Results:
> > It doesn't work, same error message. The "Working Directory" we've just set
> > doesn't work (as expected)
> What do you expect it to do?
The error from XQF said the "Wroking Directory ~/.q3a , either doesn't exist or doesn't contain baseq3 (or demoq3)"
Although I set it to ~/quake3, it keeps trying to look into ~/.q3a
Fixed in the new version? Created attachment 101483 [details, diff]
diff between xqf-1.0.5 and xqf-1.0.5-r1 ebuild
(In reply to comment #9) > Fixed in the new version? > Nope, still the same problem, I did make a bug report on sourceforge, but didn't get any comment. Actually I'm surprised with this new version I thought there were no one maintaining the package any more. the patch still applies. actually as explained on the bug report on sourceforge, this was just a dirty work around (it was probably not even fully working, but as I don't pay attention to the preview map, I didn't notice) anyway, bug closed as INVALID |