Side Borders Not Working On Widescreen Monitors

Started by Old Guy, Sat 08/05/2010 18:10:27

Previous topic - Next topic

Old Guy

I have been unable to get the side borders to appear when running my game on a widescreen monitor. Although “Side borders on widescreen monitors” is checked on the Winsetup screen, the image is stretched to fill the entire screen.

I have tested this on two machines:

- Vista laptop (DirectX 9.0C) with a 1280x800 screen
- Windows 7 desktop (DirectX 11) with a 2048x1152 screen

I am using AGS 3.2.0.101.
The game resolution is 640x480.

Is there a step that I am missing, or is there something I need to configure in the game before I do the compile?

Pumaman

Your graphics card might not support a suitable resolution to enable the borders.

You could try following the instructions in this post:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37668.msg534326#msg534326
to get DebugView, which should at least tell you why the side borders are not working.

Old Guy

Quote from: Pumaman on Sun 09/05/2010 12:38:43
Your graphics card might not support a suitable resolution to enable the borders.

You could try following the instructions in this post:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=37668.msg534326#msg534326
to get DebugView, which should at least tell you why the side borders are not working.

Thanks for your response CJ. My apologies for not noticing your previous post on this issue. Although in my defense, it was embedded in a topic that comprised 20 pages and covered a variety of subjects.

As per your instructions I ran DebugView on my 2048x1152 monitor ...

AGS: Switching to graphics mode   
AGS: Widescreen side borders: game resolution: 640 x 480; desktop resolution: 2048 x 1152   
AGS: Widescreen side borders: gfx card does not support suitable resolution. will attempt 853 x 480 anyway
AGS: Attempt to switch gfx mode to 853 x 480 (32-bit)   
AGS: Failed, resolution not supported   
AGS: Attempt to switch gfx mode to 640 x 480 (32-bit)   
AGS: Succeeded. Using gfx mode 640 x 480 (32-bit)   
AGS: Preparing graphics mode screen   
AGS: Screen resolution: 640 x 480; game resolution 640 x 400


I tried changing the screen resolution of my monitor to most of its supported values, but in all cases the end result was the same, a stretched image with no side borders. I tried the following resolutions: 2048x1152, 1920x1080, 1776x1000, 1680x1050, 1600x900, 1440x900, 1400x1050, 1360x768, 1280x1024, and 1280x960.

I am at a loss as what to do here. Given the plethora of high-resolution wide-screen monitors out there, I don’t know what advice to give users when I finally release my game. I can certainly tell them that they must run the game in windowed mode, but even this advice has its drawbacks. The higher the resolution, the smaller the 640x480 window will appear on the screen.

If anyone out there has advice as to what I should do, I would appreciate it.

Pumaman

The problem is that for the side borders to work, your monitor has to support a suitable resolution -- in this case, your 640x480 game should ideally run at 853x480, but AGS will try resolutions close to that such as 800x480 or 900x480. In this case, it looks like your monitor doesn't really support any 480-height resolutions.

You could try enabling the 2x Nearest Neighbour filter and see if it can find a resolution then.

SMF spam blocked by CleanTalk