game doesn't like new high res

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

game doesn't like new high res

Post by bobingabout »

as you may or may not know, newer graphics cards can use duel screening of upto 2048x1536 each, and some new screens run at resolutions above this 2048x1536 limit. for example, the 30" screens use 2560x1600.

when i tried to run OTTD(ok, it was only 0.4.0.1) on my desktop computer, after upgrading to a new 20" TFT LCD and using my old 19" CRT as a secondary, both running resolutions of 1600x1200 for a total of 3200x1200, OTTD just wouldn't have it. so i manually entered the resolution into the config file, to find that on the second screen, 2/3ish of the screen had my desktop background image on it...

so, basicly, my request is, is it possable to make OTTD run properly on resolution of 3200x1600 and higher? these new 6 pannel screens(requiring 3 duel DVI output graphics cards)(http://digitaltigers.com) look awsome, and have resolutions of around 7360x1600(at the widest) to around 4800x2800 at an average.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
prissi
Chief Executive
Chief Executive
Posts: 648
Joined: 15 Nov 2004 19:46
Location: Berlin, Germany
Contact:

Post by prissi »

Since Simutrans, using the same bitmap copying routines, run into the same problems (depending on the graphics borad maker), I suspect this is a problem of the respective graphics driver, which have become execptionally ppor for 2D support.
User avatar
CharlyHRO
Traffic Manager
Traffic Manager
Posts: 186
Joined: 13 Mar 2006 11:03
Location: ::1

Post by CharlyHRO »

DAMN! and had the idea to try 4 screens with 1024x768 each. maybe i should give it a try anyway?
moe moe pipebomb
User avatar
Darkvater
Tycoon
Tycoon
Posts: 3053
Joined: 24 Feb 2003 18:45
Location: Hong Kong

Post by Darkvater »

You could try changing

Code: Select all

enum {
	MAX_SCREEN_WIDTH = 2048,
	MAX_SCREEN_HEIGHT = 1200,
};
and see what happens
TrueLight: "Did you bother to read any of the replies, or you just pressed 'Reply' and started typing?"
<@[R-Dk]FoRbiDDeN> "HELP, this litte arrow thing keeps following my mouse, and I can't make it go away."
User avatar
CharlyHRO
Traffic Manager
Traffic Manager
Posts: 186
Joined: 13 Mar 2006 11:03
Location: ::1

Post by CharlyHRO »

Darkvater wrote:You could try changing

Code: Select all

...
	MAX_SCREEN_HEIGHT = 1200,
...
and see what happens
You mean the engine CAN'T display resolutions above 1200 px in height? With my config I wanted to test 4 screens in "2x2 mode" so resulting resolution would be 2048x1536 (fullscreen of course). Or even more if I'm lucky to get 4 cheap 17" flat screens (so res would grow up to 2560x2048). And I think if HDTV monitors get cheap AND all (or the most) graphics cards will have a(n) HDMI connector it would be nice to play OpenTTD on a TV screen with a resolution of 1920x1440 AND (if supported any time, but absolutely NOT nessa... nesca... DAMN! how to spell this word? in german it is "wichtig") 5.1 surround (I know, I'm getting off-topic). To take the slogan of a (bankrupt) german sports TV station: "Mittendrin, statt nur dabei" (it means something like "part of it instead only watching").

am I dreaming to much? or am I just a hardware freak?
moe moe pipebomb
sc79
Director
Director
Posts: 586
Joined: 22 Feb 2005 09:51

Post by sc79 »

I read that as;
you could try changing it from
.....
MAX_SCREEN_WIDTH = 2048,
MAX_SCREEN_HEIGHT = 1200,
...
and see what happens
But maybe thats just me.
User avatar
sidew
Engineer
Engineer
Posts: 115
Joined: 31 Aug 2005 06:46
Location: Milan, Italy
Contact:

Post by sidew »

I'm curious to see OTTD on 10240x3072 in a 24 LCD array based on a linux cluster. More details here: http://www.plastk.net/

:D
Sidewinder

Italian Town names patch for OTTD (R5266) now in trunk since 0.4.8
For typo, errors or bug on OTTD italian translation, please PM me.
unofficial italian TTD/OpenTTD forum: http://wolf01.game-host.org/forum/index.php
User avatar
CharlyHRO
Traffic Manager
Traffic Manager
Posts: 186
Joined: 13 Mar 2006 11:03
Location: ::1

Post by CharlyHRO »

well... SCREENIES, give me SCREENIES :twisted:

I'm impressed!!! That's definetly a MUST-HAVE *gg*
moe moe pipebomb
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

actually, MAX_SCREEN_HEIGHT should be 1536 by default. all graphics cards with atleast 8 meg of ram can do this per screen. assuming you can get a compatable screen.

BTW, I've had a setup at work runnnin 6 screens as a res of 6072x768 :P so, i can very easily do a 2048x1536 setup, and since you can get a single screen to do this, I'd expect it to work on that res.


anyway, since i can't compile stuff myself (long story), i supose my original request is for someone to change those default values to be higher(atleast 3200x1600, preferably, for all future expansions, a res around 10240x7680), or atleast someone send me a copy of it.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
Invisble
Transport Coordinator
Transport Coordinator
Posts: 341
Joined: 17 May 2005 15:06
Location: England
Contact:

Post by Invisble »

mmm as this seems to be a topic about getting OTTD to span across monitors, I have a simple Question.

How do you do it? I have x2 TFT flatscreen Monitors running at 1280x1024 each, and when I turn OTTD fullscreen, it only goes full screen on 1 monitor.
User avatar
sidew
Engineer
Engineer
Posts: 115
Joined: 31 Aug 2005 06:46
Location: Milan, Italy
Contact:

Post by sidew »

Some time ago, I tried on my notebook using 1280x800 onboard and 1024x768 external LCD and I can use both in windowed mode. Very nice to see. I never tried the full screen mode.
Sidewinder

Italian Town names patch for OTTD (R5266) now in trunk since 0.4.8
For typo, errors or bug on OTTD italian translation, please PM me.
unofficial italian TTD/OpenTTD forum: http://wolf01.game-host.org/forum/index.php
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

you have to go into the geforce settings and select span horizontally. with more screens i imagine it will give you more options, the section isn't even there unless you have atleast 2 screens connected.

both screens need to be capable of running at the same resolution AFAIK... i can do it on my laptop because it has a geforce 4 go :P

in any case, can someone increase those 2 values, compule for windows and then send me a copy so i can try it please?
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
User avatar
CharlyHRO
Traffic Manager
Traffic Manager
Posts: 186
Joined: 13 Mar 2006 11:03
Location: ::1

Post by CharlyHRO »

I wish I could do that but some days ago I tried to compile an earlier nightly by using the subsidiaries patch and I didn't get it to work. Maybe I am not experienced enough with Cygwin. (help me I'm a NOOB at programming / compiling :evil: )
moe moe pipebomb
User avatar
mart3p
Tycoon
Tycoon
Posts: 1030
Joined: 31 Oct 2005 21:00
Location: UK

Post by mart3p »

Here you are bobingabout.

r3863 with max. resolution changed to 3200x1600.
Attachments
OTTD HiRes.zip
(938.69 KiB) Downloaded 303 times
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

thanks, I'll give it a try, if it causes no problems, I might request this be a change in the trunk. only problem then is what should the maximum values be set to? I'm thinking that if it does work here, it might not work for other things, but we won't know unless we try.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
maitreya
Engineer
Engineer
Posts: 6
Joined: 17 Mar 2006 06:35

Post by maitreya »

i tried the patch but it gives me an error

"Cannot open file 'I:\Program Files\OpenTTD\data\2ccmap.grf
maitreya
Engineer
Engineer
Posts: 6
Joined: 17 Mar 2006 06:35

Post by maitreya »

sorry i was to hasty, i had to use the nightly built first offcourse
picture
movie
User avatar
bobingabout
Tycoon
Tycoon
Posts: 1850
Joined: 21 May 2005 15:10
Location: Hull, England

Post by bobingabout »

i forgot about trying this till last night, worked perfectly fine on my end too... even adds the new resolution "3200x1200" to the dropdown list so i don't have to enter it manually.

is there any reason why these limits have been set so low in the first place?

also, can there be an option to set the bottom bar to the left like there is with the top bar? it can get confusing when this bar spans across 2 screens... and the main menu, but that isn't much of a problem, because there is no writing spanning across the middle of it
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.

[/url]
maitreya
Engineer
Engineer
Posts: 6
Joined: 17 Mar 2006 06:35

Post by maitreya »

yeah can those bars be made draggable/repositional?
Like the startbar in windows it could clip to sides and maybe even autohide :lol:
throw some transparency at it too :P
maitreya
Engineer
Engineer
Posts: 6
Joined: 17 Mar 2006 06:35

Post by maitreya »

mart3p wrote:Here you are bobingabout.

r3863 with max. resolution changed to 3200x1600.
after seeing this work i installed cvs on my gentoo-machine last night.
In which sourcefile do i change this?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 38 guests