VOGONS

Common searches


First post, by tfabris_2

User metadata

First, let me say that DOSBOX ROCKS!!! I just discovered it today, and it had me digging through all my old floppy disks to play old games that I'd always wanted to play again but couldn't because they wouldn't work on Windows 2000. I'm now rediscovering some great old games.

I've looked at the FAQ at sourceforge (not much in that one!) and even looked through the posts in this forum which supposedly answered this question, but I couldn't find an answer that worked for me. Can someone please help?

When I run a DOS game in DosBox, and the DOS game is a 320x200 resolution (MCGA) game, it displays that game in a double-sized window (i.e., a 640x400 window) or, when I press Alt+enter, a full screen 640x480 screen with only the middle 640x400 pixels filled. (I know the latter is what's happening because when I push the little menu buttons on the monitor, the monitor's onscreen display tells me its current mode is "640x480".)

This, of course, makes the games seem stretched-wide because 320x200 isn't a 4:3 aspect ratio.

Can DosBox stretch the Y axis a little further to make the window taller? Or can it go to actual 320x200 in the full screen mode instead of 640x400 doubled and interpolated?

I have tried the following things which were discussed in other threads:

- Pressing Alt+Enter. Yes, I know that's how you toggle fullscreen. The problem is the same whether I'm looking at it in a window or looking at it full screen.

- Changing the "scaler=" setting in dosbox.conf. This has an effect, but not the effect I'm looking for. Scaler=none makes it 320x200 (i.e., tiny) and doesn't affect the full screen input. Changing it to scaler=advmame2x does some strange "rounding" of the stair-stepped edges on certain graphics, which is an interesting effect but it doesn't change the aspect ratio.

- Adding "aspect=true" or "aspect=false" to dosbox.conf. Another thread mentioned this, but it wasn't clear how this setting is used. Which section of the conf file does it go under? I tried it under [sdl], [dosbox], and [render] and it didn't seem to change anything.

Can anyone help me play my games in their intended aspect ratio?

By the way, I'm using DosBox 0.60 downloaded from the dosbox.sourceforge site, my PC is a 3.2ghz Intel running Win2k and the latest Nvidia drivers.

Reply 2 of 15, by Guest

User metadata

Thanks for the reply.

In the Nvidia control panel, my timing was set to "Auto Detect". I tried changing it to both GTF and CVT, and each one had the same result:

- No effect on the Windowed mode. (I know that this was the expected behavior of course.)

- Pressing Alt+Enter to go into full screen mode resulted in my monitor screen going black and the message "Out of Range" appearing on it. It seems that the scan rates for GTF and CVT at that resolution are not possible on my monitor.

Any other ideas?

What would be best is if somehow the windowed mode could be stretched to the right aspect ratio. Simply adding an extra 80 lines to the Y axis (in double-size mode) would do it. Of course, that would make some pixels taller than others so it would look slightly funky. If there were a triple-size mode that corrected the aspect ratio, that would be even better...

Reply 3 of 15, by Harekiet

User metadata
Rank DOSBox Author
Rank
DOSBox Author

With my nvidia drivers the black bars disappeeard if i set 320x200 or whatever resolution dosbox changes to, higher than 60hz, for some fucked up reason the 60hz modes on nvidia are 320x240 modes in timing

Reply 4 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

You get "Out of Range" cause your refresh rate for 320x200 or/and 640x400 is set to 60Hz. Setting it to default or any other refresh rate will work.

This "fucked up reason" seems to be that as monitors are not able to use very high refresh rate, they are also not able to handle very low refresh rate. And 200 (400) lines with 60Hz are below that limit. So if you try to force your monitor to use 60Hz it just switches to the first resolution it is able to use which is 240 (480). And the way it behaves depends on the timing mode you use (it uses more lines or goes out of range).

Last edited by robertmo on 2004-01-03, 10:30. Edited 2 times in total.

Reply 5 of 15, by tfabris

User metadata
Rank Newbie
Rank
Newbie

Aha. Thanks guys. My solution wasn't exactly what you suggested, but it was close and got me in the right place. In my second trip into the timing frequency screen in the Nvidia drivers, I noticed a check box that I hadn't looked at before. It said "Enable Double Scan For Lower Resolution Modes". Setting the Nvidia driver to GTF and double-scan worked for full screen.

So cool, full screen is sorted. Thanks! Now what about that windowed mode? 😀

Reply 6 of 15, by tfabris

User metadata
Rank Newbie
Rank
Newbie

Hang on, I take that back. When in that full-screen mode, the picture ends up being wider than my monitor by about ten percent, and the menu controls on the monitor won't let me shrink it small enough to fit. So I can't see the left or right edge of the game, and still can't stretch it tall enough.

I'd like to try setting the refresh frequency for 320x200 higher, as suggested, but I don't know precisely how to to that or where to set the settings.

I went into the Nvidia display properties and it actually let me create a 320x200x75hz mode for Windows itself, which was interesting to say the least. (i.e., it worked, but only about 1/10th of any given dialog box is visible at any one time and it's nearly impossible to select options and such.) However, when I ran DosBox in full screen mode, it didn't seem to use this mode. How do I make DosBox use a higher refresh rate for its 320x200 mode?

Reply 7 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

"Enable Double Scan For Lower Resolution Modes" is another thing - it display all lower resolutions in doubled resolution. This way you don't get black lines between displayed lines in lower resolutions on larger monitors. It also solves the problem with getting out of range with lower refresh rate.

For window mode switch your windows display into 8:5 resolution (1920x1200 for example) or any very simmilar (1280x768).

Reply 11 of 15, by tfabris

User metadata
Rank Newbie
Rank
Newbie

It's not in anything having to do with Direct3D. It's just in the plain old Nvidia control panel, as shown in the screen shot below.

overrides.gif

It only worked for me if I changed the display timing to GTF and overrode the refresh rates as shown.

(This should be in the FAQ, shouldn't it?)

Reply 12 of 15, by eL_PuSHeR

User metadata
Rank l33t++
Rank
l33t++

We are talking nVIDIA here. What about other cards, like ATi? For me, i own a GF4 Ti4200, changed to CVT and had to adjust some video settings. Other than that, it seems to be working. Using latest Detonators.

P.S: I consider this thread very interesting.

Reply 13 of 15, by robertmo

User metadata
Rank l33t++
Rank
l33t++

ATI and other cards should have a simmilar pannel with options. If for example your card manufacturer doesn't provide it with the latest drivers you still can use special programs for that (PowerStrip for example).

Michael: you have got a LCD monitor and it works in a completely different way. Maybe someone with access to such a thing could tell us more.

Reply 14 of 15, by salzrat

User metadata
Rank Newbie
Rank
Newbie

This is more like magic than anything else.

After cheating the latest driver to install on my notebook (the latest official driver is 42.something, that has the refresh rate overrides only for Direct3D), I managed to get it working by connecting a CRT and setting the override to 70Hz for 320x200.

From this moment on, it worked no matter what. Didn't have to change timing formula, and even after a driver reinstall, it worked. I had to connect the CRT because otherwise the only choice in the refresh rate overrides is 60Hz. Now it just says "default", but it works nevertheless, both for the CRT and the LCD.

Michael