Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Tech Support
FAQ Community Calendar

Tech Support Trouble running the game? Found a bug? Post here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-25-2009, 05:51 AM
michael michael is offline
Senior Member
 
Join Date: May 2009
Posts: 103
Default Linux Resolutions (Dual Screen)

I love altitude! Great game guys, keep it up. I look forward to its future!

Here is my problem:

Short version: Where does altitude (on linux) pull the available screen resolutions from? Can i hard code new values in to avoid it stretching across my dual screens.

I run altitude in linux (Ubuntu 9.04), with a dual screen setup using the nvidia drivers. When altitude starts (i have it in window mode) the window is 3360x1050. This means if i have stretching off, the game is cut in half, and if i stretch it, its still cut in half, but really really, well stretched. Theree is nothing i can do to change it. 3360x1050 is the only option in the config, and trying to hard code a different value in the config.xml file does nothing, and is reverted immediately upon running the game.

To play, i usually just drag the window onto one screen, but there is still about 900 pixels of black space on both sides of the actual play area.

I assume that the game tries to pull a list of resolutions from the xorg.conf file (which has none in it since i use nvidia-config to manage everything) so it just defaults to the full thing. I haven't tried disabling one monitor before i start the game (which seems like a lame way to fix the problem).

and i'll attach a screen shot and my lsdw

~Blue Hawk
Attached Images
File Type: jpg Screenshot-3.jpg (81.9 KB, 22 views)
Attached Files
File Type: txt lshw.txt (8.1 KB, 2 views)
Reply With Quote
  #2  
Old 05-25-2009, 06:28 AM
nesnl nesnl is offline
Super Moderator
 
Join Date: Jan 2009
Posts: 1,503
Default

Quote:
Originally Posted by michael View Post
To play, i usually just drag the window onto one screen, but there is still about 900 pixels of black space on both sides of the actual play area.
I don't have an answer about the screen resolutions, but I can tell you that from the looks of your screen shot that you are getting the full playing area. They set the playable area so that on widescreen monitors you get black bars on the side. It would give an unfair advantage if you could see more of the battlefield than someone who didn't have a wide screen.

Although not sure if this post might help: http://vapor.nimblygames.com/forums/...read.php?t=378
Reply With Quote
  #3  
Old 05-25-2009, 08:10 AM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Thanks for the report -- at the moment there's no way to hardcode new resolutions, but I'll add one to the next patch for situations like this.

I'll post here again with instructions when the patch is ready.
Reply With Quote
  #4  
Old 05-26-2009, 03:20 AM
michael michael is offline
Senior Member
 
Join Date: May 2009
Posts: 103
Default

Quote:
Originally Posted by nesnl View Post
I can tell you that from the looks of your screen shot that you are getting the full playing area.

...

It would give an unfair advantage if you could see more of the battlefield than someone who didn't have a wide screen.
Yeah, i understand that, and I agree. Black bars are no problem. But it is annoying that i have way more black than is necessary and it covers up lots of my desktop (kinda defeats the purpose of dual screen if half of the second screen is covered in black )

Quote:
Originally Posted by Iamster
Thanks for the report -- at the moment there's no way to hardcode new resolutions, but I'll add one to the next patch for situations like this.

I'll post here again with instructions when the patch is ready.
Thanks! I look forward to it.

Also, just wanted to add that i tested disabling one monitor prior to starting altitude, but it had the same 3360x1050 huge window. (I didn't restart x or anything though, just disabled the second screen in nvidia-settings and started altitude.)
Reply With Quote
  #5  
Old 05-26-2009, 08:39 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

The recent patch contains a console command to override your resolution.

Start Altitude, press F1 to open the console, then enter:
testCustomDisplayMode 1024 768

Let me know whether this provides a satisfactory resolution.
Reply With Quote
  #6  
Old 05-26-2009, 08:53 PM
michael michael is offline
Senior Member
 
Join Date: May 2009
Posts: 103
Default

Well, the master server is down as i write this, so i can't test gameplay, but in the graphics config i now have the option of 1680x1050 in addition to 3360x1050, and the testCustomDisplayMode works perfectly to set it to anything else I want.

Perfect, Thanks! Keep up the good work!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:04 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC