General > Discussion
I can't move my mouse
Bandobras:
Have you tried every trick in the thread and on the wiki? (In particular both sdl and glx renderers and DGA...) Have you tried SVN trunk?
erno:
Hi,
so I've got already figured out.
Bandobras: You have had true, there was my mistake, 'cause I had "onfig.cfg" instead of "config.cfg", and it was in bad location. I run Gentoo and this build is from stable tree, which means that there is something in /usr/games/ and something in /usr/share/games/ufo-ai/base/ and I had the "onfig.cfg" in /usr/share/games/ufo-ai/ instead "config.cfg" in ~/base/. So, in a nutshell it's fixed (for Gentoo) in a few steps:
1) in /etc/X11/xorg.conf add in Section "Module" >>
#subsection "extmod"
#Option "omit xfree-dga"
#EndSubSection
Load "extmod"
2) create file config.cfg in
/etc/share/games/ufo-ai/base/ with lines >>
set in_mouse "0"
set in_dgamouse "1"
that's all. I don't know why, but portage didn't create file config.cfg, and doesn't work ./ufo (in any location including /home/**user**.
Thanks to all for assistance and sorry for my english, I'm from Czech Republic..
-erno-
erno:
Uh, I must send some accessary:
From my previous tests I had in my /usr/share/games/ufo-ai/base/default.cfg some commented lines:
#set in_mouse "0"
#set in_dgamouse "1"
this is because it doesn't work. So, when I removed this lines (due to cleaning), mouse going back on top of screen and problem was back. So I sended this strange lines again back in default.cfg and it's again work fine. I don't know, what this means, but in thi time I have:
1)
/usr/share/games/ufo-ai/base/default.cfg >>
//
// DEFAULT CVARS
//
set vid_ref glx
set gl_driver libGL.so
set gl_mode 6
set vid_fullscreen 0
set crosshair 1
#set in_mouse "0"
#set in_dgamouse "1"
//----------------------------------------------
//
// INIT STUFF
//
alias init "mn_main main;mn_sequence sequence;mn_push main"
//
// newgame command
//
alias newgame " killserver ; maxclients 1"
//
// quake2 +set dedicated 1
// will run this command if no other +map is included
//
alias dedicated_start "map base1"
2)
/usr/share/games/ufo-ai/base/config.cfg >>
set in_mouse "0"
set in_dgamouse "1"
ant now it's work perfectly. If I'll remove #set in_mouse "0" and #set in_dgamouse "1" from default.cfg, problem is back...
why?
can anyone cast light on this?
thanks for all...
erno:
uff, I'm sorry for this, but:
what I post previously, it's not true. The problem is accidental, once time mouse work fine, next time doesn't. I don't know... maybe it's fixed, when I try ./ufo in /usr/share/games/ufo-ai/ and then ufo-ai instead of just ufo-ai...
I apologize, again..
Bandobras:
Congratulations for you patience. For the mouse now runs perfectly both in glx and sdl, thanks to some recent mattn fixes in SVN trunk. Upgrade and you should be fine...
Navigation
[0] Message Index
[*] Previous page
Go to full version