MrEliptik / game_launcher

A simple game launcher made with Godot for developers to showcase their games
MIT License
56 stars 9 forks source link

Option to force launch game in bordeless fullscreen #6

Closed MrEliptik closed 1 week ago

MrEliptik commented 6 months ago

I don't know if it's possible to force an application to launch in borderless fullscreen if the application itself doesn't have the option but it would be cool to do that.

MrEliptik commented 6 months ago

We can pass -f to force the app to run in fullscreen. This will not work if the game has its own configuration of course. https://docs.godotengine.org/en/stable/tutorials/editor/command_line_tutorial.html

MrEliptik commented 1 week ago

Implemented in using arguments in config file such as --fullscreen: https://github.com/MrEliptik/game_launcher/commit/9b554170736a66fff5fb7897141dbd3023906417 https://github.com/MrEliptik/game_launcher/blob/main/games/config_template.ini

Note: If the game has settings as tries to override it, there's not a lot we can do I think? We could just make the games check if they were called with the argument --fullscreen for example and let it override their own config