I would like to remove the start screen and do a possible setting in Lemur to be steam deck compatible. My question is how does the startup “know” all the possible screen resolutions? Is there a good way to get a list of possible resolutions?
It asks Java’s GraphicsEnvironment. I started to look up the code for you but I’m between things and it occurred to me that if you really wanted that specificity then you could search yourself the same as I would (open ‘SourceCode’ link and search for GraphicsEnvironment)
The thing is that these resolutions sometimes do not match what is actually available in lwjgl. I know there was talk of asking the implementation directly (ie: lwjgl-version specific code) but I do not know if that was ever implemented or only discussed.
If you pick a specific version of lwjgl then you can ask it. That’s what I did for an older unreleased version of Mythruna… I asked lwjgl2’s Display class directly.