-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify config.ini and UIni.pas defaults. #917
Unify config.ini and UIni.pas defaults. #917
Conversation
Don't ship config.ini Resolves UltraStar-Deluxe#872
@barbeque-squared I went with your proposed defaults, and additionally: |
I'd vote for |
I'd vote for Fullscreen = On only if it does not attempt to change the video mode. Usually the monitor/beamer is already using the native resolution, so any resolution change would be bad. |
I checked the code, but tbh I don't really understand what the resolution/video mode stuff does. Should we set this to Off just to be safe? |
Without having double-checked the code, iirc I've been running USDX in |
Same here, borderless is the way to go fullscreen without affecting video mode from my experience. |
Borderless is the most commonly used fullscreen mode. Fullscreen is needed to make people happe who have very high or very wide screens, and want their own selected resolution and the rest of the screen to be borders, or who use unusual multi-monitor setups. |
Changed the default to borderless |
Linux-wise (and probably Mac?) this PR is thumbs up! I did see (from the code) that the Windows installer (and so possibly also the uninstaller/updater?) does something with config.ini (do a (I'll retry the failed Windows build but my computer doesn't like locally-built installers at all) |
Good point. I don't entirely understand what that section of the installer does either, but I checked that the installer works normally |
The CI build installer worked for me (it even has a little thing built in to it after installing where you can set the resolution/mode/sorting/etc -- which already has all the correct defaults) so at the very least, this PR doesn't appear to massively break the Windows installer either. I'll let it open for another day or so in case anyone finds weirdness on Windows, otherwise I'll merge it tomorrow. |
What is the reason for this PR in the first place? Why not ship with a config.ini file? I would consider it to be bad UX if the user first has to start the game once, just to be able to edit a config.ini file |
@basisbit you can still create a config file with only the parts you actually want to edit before the first run. the Windows installer even still creates one for you! All the other distributables (at least Windows portable, any Linux package) never shipped a config.ini in the first place, which is how pretty much every other (non-enterprise) software works? Anything meant for end users has to assume the end user will eventually delete/corrupt whatever config it shipped with, and deleting it shouldn't result in white text on white background. If in the future we do want to ship a minimal config, it would be something that the CI generates, but that's only useful to consider if we actually get reports/questions about it. I'm pretty certain neither the Windows installer nor the Windows portable come with a |
Don't ship config.ini
Resolves #872