Last active
June 4, 2025 14:00
-
Star
(158)
You must be signed in to star a gist -
Fork
(9)
You must be signed in to fork a gist
-
-
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 hidden or 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
#!/bin/bash | |
# 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") |
This script needs a nice shebang line. I added #!/bin/sh
to the top because it was bugging me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the info! That's great news. I hope that the problem will be completely solved at some point. But the solution with the script helps a lot. Unfortunately, you can't open the graphics settings, otherwise everything is set incorrectly again. And you have to restart the game.