VOGONS


First post, by simian

User metadata
Rank Newbie
Rank
Newbie

I think it wood be good if there was a fullscreen stretch to fit option, so you could put it in a high resolution but still have the picture take up the whole screen.
Why would you want to do that? So you don't get those nasty horizontal lines that you get at low resolutions on big monitors.

Reply 1 of 4, by robertmo

User metadata
Rank l33t++
Rank
l33t++

if you have a nvidia card turn on double scanning in your video drivers settings. you won't have those lines this way

Reply 2 of 4, by simian

User metadata
Rank Newbie
Rank
Newbie

I tried it and I got a black screen with a garbled monitor error message at lower resolutions. 🙁
Any idea why that might be happening?

Reply 3 of 4, by robertmo

User metadata
Rank l33t++
Rank
l33t++

lower the refreshrate

Reply 4 of 4, by Markus

User metadata
Rank Newbie
Rank
Newbie

If you can compile dosbox yourself, do this:
change in sdlmain.cpp following lines:

if (sdl.desktop.fullscreen) {
if (sdl.desktop.fixed) {
double ratio_w=(double)sdl.desktop.width/(width*scalex);
double ratio_h=(double)sdl.desktop.height/(height*scaley);
if ( ratio_w < ratio_h) {
sdl.clip.w=(Bit16u)sdl.desktop.width;
sdl.clip.h=(Bit16u)(height*scaley*ratio_w);
} else {
sdl.clip.w=(Bit16u)(width*scalex*ratio_h);
sdl.clip.h=(Bit16u)sdl.desktop.height;
}

to

if (sdl.desktop.fullscreen) {
if (sdl.desktop.fixed) {
double ratio_w=(double)sdl.desktop.width/(width*scalex);
double ratio_h=(double)sdl.desktop.height/(height*scaley);
sdl.clip.w=(Bit16u)sdl.desktop.width;
sdl.clip.h=(Bit16u)sdl.desktop.height;

There are two occurences of this.
Now change your dosbox.conf:

fullfixed=true
fullwidth=whatever you want
fullheight=whatever you want
output=anything but surface

Now there's no more cinemascope;-)