Jump to content
Eternal Lands Official Forums
Sign in to follow this  
LabRat

1600x1200 and higher

Recommended Posts

I routinely run my display at 1600x1200 and intend to upgrade my monitor to support the wonderful sounding 2048x1536.

 

I have tried altering the client to display at 1600x1200, but the options are greyed out in the options window, and changing el.ini just gives me the default, very pretty 640x480, not quite what I am trying to acheive at all.

 

Is there a limitation I am unaware of in SDL?

Share this post


Link to post
Share on other sites

it is possible. gl_init.c, setup_video_mode();.

Share this post


Link to post
Share on other sites

I don't think there's a limitation in SDL, the client just seems to set the resolution out of several fixed modes:

 

switch(mode) {
                                               case 1:
   window_width=640;
   window_height=480;
   bpp=16;
   break;
 	case 2:
   window_width=640;
   window_height=480;
   bpp=32;
   break;
 	case 3:
   window_width=800;
   window_height=600;
   bpp=16;
   break;
 	case 4:
   window_width=800;
   window_height=600;
   bpp=32;
   break;
 	case 5:
   window_width=1024;
   window_height=768;
   bpp=16;
   break;
 	case 6:
   window_width=1024;
   window_height=768;
   bpp=32;
   break;
 	case 7:
   window_width=1152;
   window_height=864;
   bpp=16;
   break;
 	case 8:
   window_width=1152;
   window_height=864;
   bpp=32;
   break;
 	case 9:
   window_width=1280;
   window_height=1024;
   bpp=16;
   break;
 	case 10:
   window_width=1280;
   window_height=1024;
   bpp=32;
   break;
}

 

The resolution descriptions(for example " 1 = 640x480 16bpp") in el.ini seem to be just comments, and not actually bind video mode "1" with "640x480". It is hardcoded in the client, you'll have to change the client code.

 

-EDIT: Wytter beat me to it.

Edited by mikeman

Share this post


Link to post
Share on other sites
I routinely run my display at 1600x1200 and intend to upgrade my monitor to support the wonderful sounding 2048x1536.

169386[/snapback]

 

holy shit..i thought 1024x768 was a lot :blink::huh:

Share this post


Link to post
Share on other sites

prolyl greyed out because you forgot the interface.c changes =)

 

anyway, ill do a patch for u, And throw it on berlios

Share this post


Link to post
Share on other sites

If I ever get the time, I'll have to look into the wide screen formats as well. The problem there is the mouse clicking vs multiple aspect ratios of the screen.

Share this post


Link to post
Share on other sites
If I ever get the time, I'll have to look into the wide screen formats as well. The problem there is the mouse clicking vs multiple aspect ratios of the screen.

169428[/snapback]

 

wide screen would be cool, So would some "central" configuration of the window modes.

Share this post


Link to post
Share on other sites

Guys thanks a lot, I will add it in as soon as I get home :huh:

Widescreen
now that would be cool :blink:

Share this post


Link to post
Share on other sites

my monitor goes up to 2048x1536 :)

but the reso aint changing anything, all it does is stretch the thing....

if it would actually make a difference, it'd be great! :P

Share this post


Link to post
Share on other sites
my monitor goes up to 2048x1536 :)

but the reso aint changing anything, all it does is stretch the thing....

if it would actually make a difference, it'd be great! :P

169921[/snapback]

Changing the resolution improves the quality of the image and gives you more room on the bars. The super zoom patch is the closest you'll get too seeing more, but that has a limited usefull range because players etc are only available near you.

Share this post


Link to post
Share on other sites

just for referance, I updated the patch for 32 bit also. Seems to work fine on linux, Didnt have the opertunity to test in windows, but it really is just a ccopy and paste with a few edits

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×