LabRat Report post Posted June 10, 2005 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
Wytter Report post Posted June 10, 2005 it is possible. gl_init.c, setup_video_mode();. Share this post Link to post Share on other sites
mikeman Report post Posted June 10, 2005 (edited) 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 June 10, 2005 by mikeman Share this post Link to post Share on other sites
Roja Report post Posted June 10, 2005 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 Share this post Link to post Share on other sites
Zep Report post Posted June 10, 2005 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
Wytter Report post Posted June 10, 2005 I guess we could have 1600x1200 in 1.0.2 Share this post Link to post Share on other sites
Zep Report post Posted June 10, 2005 (edited) patch #470 Done Edited June 10, 2005 by Zep Share this post Link to post Share on other sites
Learner Report post Posted June 10, 2005 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
Zep Report post Posted June 10, 2005 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
LabRat Report post Posted June 10, 2005 Guys thanks a lot, I will add it in as soon as I get home Widescreennow that would be cool Share this post Link to post Share on other sites
Sistema Report post Posted June 12, 2005 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! Share this post Link to post Share on other sites
Learner Report post Posted June 12, 2005 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! 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
Zep Report post Posted June 13, 2005 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
Wytter Report post Posted June 13, 2005 It's in CVS. Share this post Link to post Share on other sites