Way To Change The Winsetup Options

Started by Ghostlady, Wed 16/07/2025 02:58:22

Previous topic - Next topic

Ghostlady

Since the game I am creating has a resolution of 640 x 480, is there a way to disable the higher resolution options so that a player cannot pick them?
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Khris

Picking a higher resolution means the game is upscaled in its entirety. Why would you want to disable that?

(Unless your AGS version is really really old and you aren't talking about x2 / x3 / x4 filters but switching the actual resolution, in which case you should upgrade your game to a more recent version of AGS.)

Crimson Wizard

#2
Quote from: Ghostlady on Wed 16/07/2025 02:58:22Since the game I am creating has a resolution of 640 x 480, is there a way to disable the higher resolution options so that a player cannot pick them?

There's no way, and you should not be doing that anyway.

AGS has 2 kinds of resolutions:
- native game resolution - that's the resolution your game is drawn and scripted in.
- final display resolution - that's the size of the window your game will be displayed in.

The native resolution is defined by you in General Settings.
The display resolution is selected by the player in winsetup, according to their computer.

When they are different, AGS will scale the game image to the window, using selected method and graphics filter.

Danvzare

Quote from: Ghostlady on Wed 16/07/2025 02:58:22Since the game I am creating has a resolution of 640 x 480, is there a way to disable the higher resolution options so that a player cannot pick them?
Why would you want to do that?
There are some computer monitors that don't support 640x480. So those people would only be able to play your game in a tiny windowed view.

Perhaps you've misinterpreted what the resolution option does in the general settings. In which case, I think Crimson Wizard explains it better than I ever could.

Ghostlady

#4
The reason I ask is because during beta testing someone changed the resolution to 1920 x 1080 and they said that it looked awful so they went back into Winsetup and changed it back to 640 X 480.

It is a very old game that has been imported into the current release so I don't know if that came into play or not.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Khris

The game's native resolution is 640x480, thrice that is 1920x1440, not 1920x1080. Not sure what exactly they ended up with, but I assume a non-integer scaling factor and black bars on the sides.

Anyway, you should never prevent people from changing the display settings.

Ghostlady

Here is the option in the Winsetup
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Ghostlady

I just ran it with those settings, 1920 x 1200, moved the game over to a newer wide screen monitor. It did put the black bars along the sides but it didn't look bad at all. So I am not sure what happened with the tester.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Crimson Wizard

#8
Quote from: Ghostlady on Yesterday at 17:46:11resolution to 1920 x 1080 and they said that it looked awful so they went back into Winsetup and changed it back to 640 X 480.

"Awful" how? I'd suggest to always clarify what people mean, with game screenshots (or a photo of a PC monitor if screenshot is difficult to take at the time). Sometimes "awful" is just a subjective opinion, that won't be shared by other players. Sometimes there are ways to fix the player's experience by changing some other options in winsetup such as scaling type (but it's *them* who should be doing that).

The recommended default settings for the default game config today is:
- Fullscreen mode: Desktop resolution.
- Fullscreen as borderless window: enabled (for easier switching in and out of the game).
- Fullscreen scale: Stretch, preserving aspect ratio

EDIT: looks like you have them mostly right, I'd suggest setting "Fullscreen as borderless window" in Default Setup in the Editor.

EDIT2: just in case: default config is set in "Default Setup" panel in the Editor. If you change any settings in winsetup itself, - that will only affect your computer, as winsetup saves a user config, not game's default config.

Ghostlady

Thank you for all this info. I'll make the changes and get back to the tester for more details.
My Games:

Hauntings Of Mystery Manor
Intrigue At Oakhaven
Haunting at Cliffhouse

Gilbert

Quote from: Crimson Wizard on Yesterday at 18:09:46"Awful" how?

I guess it's just someone who are used to "modern high-res HD graphics" and cannot stand blocky pixels, so they prefer playing the game in a tiny window.

OR They're playing the game in full screen mode (which changes the displayed resolution instead of keeping the original desktop resolution and adding black borders), then the whole thing would be a blurry mess, since modern flat panel monitors are all inferior to good old CRTs have a fixed native resolution, displaying anything other than the native resolution would look awful (could have incorrect aspect ratio too in playing a 4:3 game on a wide screen monitor if not set-up correctly).

Crimson Wizard

Quote from: Gilbert on Today at 02:04:34I guess it's just someone who are used to "modern high-res HD graphics" and cannot stand blocky pixels, so they prefer playing the game in a tiny window.

It's still hard for me to imagine someone using a small window instead of a fullscreen.

But if "pixely" graphics is the issue, then maybe using "Linear" graphics filter may improve things.

SMF spam blocked by CleanTalk