I'm running linux and I got UQM going, the first time I ran it it ran in a window. Now it runs full screen yet only occupies a windows worth of space on it. Everything runs naturally behind it, so I don't really see that there is some catchall limitation that should make it have to be fullscreen, unless there are things about SDL I don't understand. So, is there a way to restore the windowed play?
There are three things I can think of to look at. 1. The option "--res" which takes a width and height argument. This changes your game resolution. So try uqm --res=640X480
2. The full screen option is "-f". Make sure you do not use this, if you want to run in window mode.
3. There is an option to use or not use OpenGL. Which is "-o". This is off by default, but try using it with and without to see if that helps.
It's also worth noting that depending on how X is configured, you might not be allowed to change your own screen resolution. If this is the case, when UQM asks its graphics library (SDL) to give it a fullscreen of a certain size, the resolution won't change and it will just sit centered in the "full screen" without using all the space.
I'm not enough of an X guru to know exactly what options cause this or how to fix it, though.
To play the game in real full-screen, there needs to be a mode section for the video mode you are using, with the amount of bpp you are using in your /etc/X11/XF86Config. A small section of my XF86Config:
ViewPort can be left out, and the first mode in the "Modes" line for the DefaultDepth is the default mode, but the largest resolution is used for the virtual screen resolution. You may want to add modes for 1280x1024 or others. See 'man XF86Config' for more info. Note that this example is for XFree86 4.x. If you're still using a 3.x server, some things might be slightly different.
I don't know why you don't get uqm in a window by default. I have never seen such a problem before.
« Last Edit: June 21, 2004, 05:38:40 pm by meep-eep »
Logged
“When Juffo-Wup is complete when at last there is no Void, no Non when the Creators return then we can finally rest.”