ArnoAnsems / CatacombGL

CatacombGL is a source port with OpenGL graphics for Catacomb 3D (1991), The Catacomb Abyss (1992), The Catacomb Armageddon (1992) and The Catacomb Apocalypse (1993).
GNU General Public License v3.0
147 stars 13 forks source link

Set Starting Window Size #59

Closed TheKins closed 5 days ago

TheKins commented 3 months ago

I like to play old FPSes in a window, preferably in a standard 16:9 resolution like 1280x720 if they support widescreen. Some method to set the starting size of the window in windowed mode, whether via command-line or the INI file, would be sincerely appreciated!

ArnoAnsems commented 3 months ago

Thanks for your suggestion! I can imagine that it can get annoying to manually resize the window after every startup, so this sounds like a helpful and certainly feasible feature. I will add it to the next version.

walkero-gr commented 2 months ago

Usually, games have a selection of different common resolutions, that the user can select. They save the selected width and height into the configuration files. Now, if someone would like to have a specific, not supported, exotic resolution, they can change those values in the config file. Just an idea.

ArnoAnsems commented 5 days ago

I've added the starting size of the window as WindowedScreenWidth and WindowedScreenHeight to the INI file. It's in the new version 0.5.6. It's not integrated into the options menu, btw. I noticed that GZDoom and also ECWolf allow the user to select a desired resolution from a long list in the options menu, but I didn't go that far.