full screen in AGS 3.3.2?

Started by HandsFree, Wed 21/01/2015 15:24:30

Previous topic - Next topic

HandsFree

I started making the game in AGS 3.3.0. and when I play the game full screen I see small black borders around the edges; that's ok.
When I play it in version 3.3.2. full screen the borders are much bigger. The actual screen, I think, is just as small as when playing windowed without filters.

Is there a way to have actual full screen in version 3.3.2?
Resolution is 640*400 btw.

thanks

Crimson Wizard

#1
What is your desktop resolution and the winsetup settings you are using?

Since 3.3.2 the gfx options has changed to provide more flexible system. You may not only control scaling filter, but also whether you stretch your game to screen or not (keep width/height ratio). These extra options are hidden behind "Advanced" tab in winsetup.

HandsFree

My screen resolution is 1366*768.
Winsetup settings are Direct3D 9, NOT run in a window, no filter, enable borders.
I expect this to make the screen as big as possible without stretching (so there would be borders). I think that's what happens in AGS 3.3.0.

Crimson Wizard

#3
Quote from: HandsFree on Wed 21/01/2015 16:10:15
My screen resolution is 1366*768.
Winsetup settings are Direct3D 9, NOT run in a window, no filter, enable borders.
I expect this to make the screen as big as possible without stretching (so there would be borders). I think that's what happens in AGS 3.3.0.

Well, if no filter is chosen, it won't make screen as big as possible. To make it as big as possible, choose "Max supported scaling".
Thing is that your monitor may not support game's resolution (640*400), so it runs in larger resolution but with unscaled game in the center.
To be completely sure what resolution it uses, you may press Ctrl+V during game and write down the info. It may be interesting to compare this to what 3.3.0 sais.

HandsFree

3.3.2 running 1366*768, 32 bit. Frame = 1366*768. Filters dont change anything. I don't see an option to use maximum supported scaling.
3.3.0 running 800*400, 32 bit. No mention of frame.

Crimson Wizard

Quote from: HandsFree on Wed 21/01/2015 16:23:54
3.3.2 running 1366*768, 32 bit. Frame = 1366*768. I don't see an option to use maximum supported scaling.
3.3.0 running 800*400, 32 bit. No mention of frame.
This is strange, looks like 3.3.2 forces selection of max screen size, while 3.3.0 could choose lower screen size (800x400).

Can you do one more thing to help diagnose the problem?
Put this line in the [misc] section of acsetup.cfg:
Code: text

log=1

Then run the game, then go to C:\Users\<username>\Saved Games\.ags and upload the "ags.log" here.
Same thing for both 3.3.2 and 3.3.0 versions.

Quote from: HandsFree on Wed 21/01/2015 16:23:54
I don't see an option to use maximum supported scaling.
It is the item in filter selection list, called "Max nearest-neighbour filter".


Crimson Wizard

Quote from: HandsFree on Wed 21/01/2015 19:01:52
How do I upload here?
Well, you could just post log contents in [ code = text ][ /code ] to make it scrollable.
Or just upload to some file host service, like mediafire.

HandsFree

OK, here's 3.3.0:
Code: text

Adventure Game Studio v3.3 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2014 others
ACI version 3.3.0.1156

*** ENGINE STARTUP ***
Installing exception handler
Reading config file
Initializing allegro
Setting up window
Initializing game data
Game data file: c:/AGS/JACQUE~1/JACQUE~2/Compiled/JACQUE~1.EXE

Initializing TTF renderer
Initializing mouse
Checking memory
Initializing keyboard
Install timer
Initialize sound drivers
Install exit handler
Initialize path finder library
Load game data
Jacqueline White
Checking for disk space
Initializing MOD/XM player
Init gfx driver
Built library path: d3d9.dll
Created graphics driver: Direct3D 9
Initializing screen settings
Init gfx filters
Applying scaling filter: None
Switching to graphics mode
Widescreen side borders: game resolution: 640 x 400; desktop resolution: 1366 x 768
Couldn't find acceptable supported resolution
Widescreen side borders: gfx card does not support suitable resolution. Will attempt 712 x 400 anyway
Attempt to switch gfx mode to 712 x 400 (32-bit)
Failed, resolution not supported
Attempt to switch gfx mode to 640 x 400 (32-bit)
Failed, resolution not supported
Widescreen side borders: game resolution: 640 x 480; desktop resolution: 1366 x 768
Widescreen side borders: enabled, attempting resolution 800 x 480
Attempt to switch gfx mode to 800 x 480 (32-bit)
Succeeded. Using gfx mode 800 x 480 (32-bit)
Preparing graphics mode screen
Screen resolution: 800 x 480; game resolution 640 x 400
Initializing colour conversion
Check for preload image
Initialize sprites
Set up screen
Initialize game settings
Prepare to start game
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
Loading room 30
Room change requested to room 35
Unloading room 30
Loading room 35
***** ENGINE HAS SHUTDOWN


And 3.3.2:
Code: text

Adventure Game Studio v3.3 Interpreter
Copyright (c) 1999-2011 Chris Jones and 2011-2014 others
ACI version 3.3.2.0

*** ENGINE STARTUP ***
Installing exception handler
Reading config file
Initializing allegro
Setting up window
Initializing game data
Game data file: c:/AGS/JACQUE~1/JACQUE~2/Compiled/JACQUE~1.EXE

Initializing TTF renderer
Initializing mouse
Checking memory
Initializing keyboard
Install timer
Initialize sound drivers
Install exit handler
Initialize path finder library
Load game data
Game data version: 43
Requested engine version: 3.3.2.0
Game GUI version: 116
Jacqueline White
Checking for disk space
Initializing MOD/XM player
Initializing screen settings
Device display resolution: 1366 x 768
Game native resolution: 640 x 400 (32 bit)
Game settings: letterbox acceptable, side borders acceptable
Init gfx driver
Built library path: d3d9.dll
Created graphics driver: Direct3D 9
Supported gfx modes (32-bit): 
	640x480;720x480;800x480;800x600;1024x480;1024x600;1024x768;1280x720;
	1280x768;1366x768;
Supported gfx modes (24-bit): none
Initializing gfx filters
Requested gfx filter: None
Chosen gfx resolution: 1366 x 768 (32 bit), game frame: 1366 x 768
Applying scaling filter: None
Switching to graphics mode
Attempt to switch gfx mode to 1366 x 768 (32-bit) fullscreen, game frame 1366 x 768, gfx filter: None
Succeeded. Using gfx mode 1366 x 768 (32-bit) fullscreen, game frame 1366 x 768, gfx filter: None
Preparing graphics mode screen
Initializing colour conversion
Check for preload image
Initialize sprites
Set up screen
Initialize game settings
Prepare to start game
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
Loading room 30
Room change requested to room 35
Unloading room 30
Loading room 35
***** ENGINE HAS SHUTDOWN
[\code]

Crimson Wizard

#9
Ok, this happens because in 3.3.2 AGS gives preference to the resolutions that match desktop ratio (width/height relation), thus trying to find a mode which fits on your monitor better.
AGS 3.3.0 did not bother, so could set a mode with different ratio, which will look disproportional.

For instance, your display is 1366 x 768, which is 16:9 (1.7), and 800 x 480 is 5:3 (1.6).

Of course, the disproportion here is not that big, and player won't be hurt much.

AGS 3.3.2 had some improvements on range of resolutions it may use (although still has limits imposed by old method of drawing game on screen, that was replaced in 3.4.0 alpha), but it seems there are situations where its results of auto-finding resolution could be unexpected. It looks for nearest compatible resolution, giving preference to desktop ratio, and it appears in your case the only matching ratio is the same resolution as desktop one.

(At the same time it still cannot scale game by fractional multiplier, so the game itself stays 640x400 in your case)

I would first suggest trying different combinations of the two "Enable borders" options (without borders, with top/bottom but without side ones, etc).
If that still won't give you the old mode that suit you, I may consider adding another option to 3.3, like "prefer desktop ratio" (which you could uncheck to get 800 x 480).

HandsFree

Yes, when I uncheck the enable borders options, the result seem to be the same as what it looked in AGS 3.3.0.
thanks

SMF spam blocked by CleanTalk