Window larger than screen
I tried booting the program up and it worked (aside from the font file which i fixed manually) but the window is larger than my screen making some things cut off
You can use any resolution but it breaks a lot of stuff. Change line 23 in jes.py from 1920x1080 to anything you want
ui = UI(_W_W=1920, _W_H=1080, _MOVIE_SINGLE_DIM=(650,650),
You can use any resolution but it breaks a lot of stuff. Change line 23 in jes.py from 1920x1080 to anything you want
ui = UI(_W_W=1920, _W_H=1080, _MOVIE_SINGLE_DIM=(650,650),Yes but that messes up the UI like the buttons. I can't show a screenshot right now because i'm in bed and it's 12:12AM
You can use any resolution but it breaks a lot of stuff. Change line 23 in jes.py from 1920x1080 to anything you want
ui = UI(_W_W=1920, _W_H=1080, _MOVIE_SINGLE_DIM=(650,650),Yes but that messes up the UI like the buttons. I can't show a screenshot right now because i'm in bed and it's 12:12AM
Play around in SRWE maybe that will work , I used that tool to make some games fullscreen
Are there any solutions for macOS?
I found a temporary fix for Linux, running jes.py with gamescope can scale it properly. I am using Bazzite with KDE Plasma 6
gamescope python jes.py
Are there also any solutions for Windows?
I'm using a mac M3, I'm pretty sure it's the screen resolution. Tried to change the window size in the UI code like @azealo said but it threw some error:
Traceback (most recent call last): File "/Users/fhohensee/Downloads/jes-main/jes.py", line 23, in
ui = UI(_W_W=1920/2, _W_H=1080/2, _MOVIE_SINGLE_DIM=(650,650), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/fhohensee/Downloads/jes-main/jes_ui.py", line 58, in init self.mosaicScreen = pygame.Surface((self.MS_WC,self.MS_H), pygame.SRCALPHA, 32) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pygame.error: Invalid resolution for Surface
What worked for me was multiplying the MENU_TEXT_UP by 2 so I could see the buttons, then halving the font size (search for self.bigFont and self.smallFont in jes_ui.py) so I could read the text. A bunch of things are still broken but it kinda works now.
There are a lot of UI parameters that are hardcoded, and don't depend on the screen size in any way.
Messing with these values will screw up a lot of the visuals because things that should depend on eachother or on a common variable are instead individually hardcoded, e.g. adjusting the size of the graph/SAC does not affect the size of the green progress bar or the location of the names of species that are meant to be displayed next to the SAC.
It unfortunately takes a lot of fiddling and deciphering of the code to make it remotely usable at a different resolution.