The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 10, 2024, 07:27:58 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Running in windowed mode
« previous next »
Pages: [1] Print
Author Topic: Running in windowed mode  (Read 2239 times)
ravalox
Zebranky food
*
Offline Offline

Posts: 1


I love YaBB 1G - SP1!


View Profile
Running in windowed mode
« on: June 20, 2004, 10:50:16 pm »

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?
Logged
Zeep-Eeep
Enlightened
*****
Offline Offline

Gender: Male
Posts: 917


Good Grief


View Profile WWW
Re: Running in windowed mode
« Reply #1 on: June 20, 2004, 11:02:43 pm »

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.
Logged

What sound does a penguin make?
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Running in windowed mode
« Reply #2 on: June 21, 2004, 09:22:47 am »

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.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Running in windowed mode
« Reply #3 on: June 21, 2004, 05:38:04 pm »

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:

Code:

Section "Screen"
   Identifier "Screen 1"
   Device      "Diamond Viper 770"
   Monitor     "Iiyama MT-0017"

#   DefaultDepth 8
  DefaultDepth 16
#   DefaultDepth 24

   Subsection "Display"
       Depth       8
       Modes       "1152x864" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       15
       Modes       "1152x864" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       16
       Modes       "1152x864" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       24
       Modes       "1152x864" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
   Subsection "Display"
       Depth       32
       Modes       "1152x864" "1024x768" "800x600" "640x480"
       ViewPort    0 0
   EndSubsection
EndSection


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.”
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!