Last active
March 14, 2024 04:48
-
-
Save april/ef679cf5719cc5a2ba6a55da20869ffa to your computer and use it in GitHub Desktop.
Fixes Magic Arena's broken full screen implementation on macOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this forces Arena into full screen mode on startup, set back to 3 to reset | |
# note that if you go into the Arena "Graphics" preference panel, it will reset all of these | |
# and you will need to run these commands again | |
defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0 | |
defaults write com.wizards.mtga "Screenmanager Resolution Use Native" -integer 0 | |
# you can also replace the long complicated integer bit with any other scaled 16:9 | |
# resolution your system supports. | |
# to find the scaled resolutions, go to System Preferences --> Display and then | |
# divide the width by 16 and multiple by 9. on my personal system this ends up | |
# as 3456 x 1944 (versus the bizarre 1728x1117 it will very temporarily select | |
# when clicking the full screen option in the client | |
defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer \ | |
$(system_profiler SPDisplaysDataType | grep Resolution | cut -c23-26) | |
defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer \ | |
$(bc <<< "$(system_profiler SPDisplaysDataType | grep Resolution | cut -c23-26) / 16 * 9") |
native per google is 2560x1600 (I don't see the resolution in system preferences, just "Default for Display"). I have tried both screen-fullscreen = 0 and 1, and in both cases, the game's fullscreen checkbox has the correct resolution when not full screen, but the bad resolution when full screen. I have tried both 1600 and 1440 for the height. These are just the command line options in Epic, am I supposed to do something with the .sh file first?
Also, I can't be sure (can I?), but it seems like the game's loading screen is sharp and may be full-res, before it fully launches to the main menu and is low-res.
This is amazing - thank you so very much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @Rkoz-01 what is the native resolution of your screen? You can find that with System Preferences --> Display. Use the width as-is then the height use the formula width/16*9. Use screen-fullscreen=1 for sure if you want full screen, going through the settings menu kills the custom settings.