Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fixes Magic Arena's broken full screen implementation on macOS
# 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
# replace 1792 and 1120 with your full screen resolution, or any scaled resolution your display supports
# to find the scaled resolutions, go to System Preferences --> Display
defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer 1792
defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer 1120
@alexmick

This comment has been minimized.

Copy link

@alexmick alexmick commented Oct 5, 2020

Works like a charm 👍

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Oct 5, 2020

Awesome, thanks for letting me know. 👍

@Felveros

This comment has been minimized.

Copy link

@Felveros Felveros commented Oct 12, 2020

Were do I go to run (write?) these commands?

I runt iOS Catalina 10.15.7

Thanx for bothering!

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Oct 12, 2020

You run them in the Terminal application. It should be inside Applications -> Utilities -> Terminal.

@emmettneyman

This comment has been minimized.

Copy link

@emmettneyman emmettneyman commented Oct 28, 2020

This was so helpful!! In case other people need this info, for a 13inch 2020 MacBook Pro, use 2560 for the width and 1600 for the height.

@JamesBissick

This comment has been minimized.

Copy link

@JamesBissick JamesBissick commented Oct 30, 2020

For a macbook 16inch

defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0
defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer 1792
defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer 1120
defaults write com.wizards.mtga "HashFilesSkippedOnce" -integer 0
@tsareg

This comment has been minimized.

Copy link

@tsareg tsareg commented Nov 13, 2020

There was an update few days ago. Now when you set 16:10 resolution left and right borders of the battlefield are cut, so you can't see right side of cards on stack or pets.
If you set resolution to 16:9, then there are black bars on top and bottom of the screen and cursor is misaligned with buttons :-(

@nywieck

This comment has been minimized.

Copy link

@nywieck nywieck commented Nov 18, 2020

this is great works perfectly, thanks

wtf is wotc's problem lol... 😂

@JamesBissick

This comment has been minimized.

Copy link

@JamesBissick JamesBissick commented Dec 1, 2020

There was an update few days ago. Now when you set 16:10 resolution left and right borders of the battlefield are cut, so you can't see right side of cards on stack or pets.
If you set resolution to 16:9, then there are black bars on top and bottom of the screen and cursor is misaligned with buttons :-(

Did you find a workaround?

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Dec 1, 2020

If there is one, I haven't found it yet. Performance with the black bars is also pretty abysmal.

@JamesBissick

This comment has been minimized.

Copy link

@JamesBissick JamesBissick commented Dec 1, 2020

Entering the commands again fixed it for me. But if you go the graphic settings menu, the bug comes back.
I'll suggest just getting the graphic settings sorted and avoid going near the graphic settings in the meantime.

@tsareg

This comment has been minimized.

Copy link

@tsareg tsareg commented Dec 2, 2020

There was an update few days ago. Now when you set 16:10 resolution left and right borders of the battlefield are cut, so you can't see right side of cards on stack or pets.
If you set resolution to 16:9, then there are black bars on top and bottom of the screen and cursor is misaligned with buttons :-(

Did you find a workaround?

No, I didn't :-(

@star5fruit

This comment has been minimized.

Copy link

@star5fruit star5fruit commented Dec 7, 2020

works like black magic, god bless you and merry Christmas

@Strech

This comment has been minimized.

Copy link

@Strech Strech commented Jan 19, 2021

@april Gosh, you've made my evening!

P.S yes it's still broken in 2021

@Liu-Junyan

This comment has been minimized.

Copy link

@Liu-Junyan Liu-Junyan commented Jan 24, 2021

Thanks, it just works! I also notice that the performance is better.

@tomheffels

This comment has been minimized.

Copy link

@tomheffels tomheffels commented Jan 24, 2021

this is amazing, thank you so much!

@java18

This comment has been minimized.

Copy link

@java18 java18 commented Jan 28, 2021

merci !

@Atem18

This comment has been minimized.

Copy link

@Atem18 Atem18 commented Jan 30, 2021

Works perfect on Macbook Pro 13" 2019.

@mkShogun96

This comment has been minimized.

Copy link

@mkShogun96 mkShogun96 commented Jan 31, 2021

You are an absolute legend!

@rimathia

This comment has been minimized.

Copy link

@rimathia rimathia commented Feb 5, 2021

Thanks a lot!

@iSergiant

This comment has been minimized.

Copy link

@iSergiant iSergiant commented Mar 6, 2021

I need some help, please.

I have a MacBook Pro from 2017 and the display solution is 13.3-inch (2560 × 1600). I entered the following commands:

defaults write com.wizards.mtga "Screenmanager Fullscreen mode" -integer 0
defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer 2560 <-- is this correct?
defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer 1600 <-- is this correct?
defaults write com.wizards.mtga "HashFilesSkippedOnce" -integer 0

When I start MTGA, it opens in full screen mode. So far so good. However left and right is appears to be a bit cut. So I went into the graphics settings on purpose and the resolution changed (as some of you have described). Now, nothing was cut anymore and there are small black stripes on top and bottom (which do not bother me). However, and now comes the real problem, my mouse hovering over elements like cards and buttons is off. E.g. to cast a card I have to grab it from the black bar below and e.g. to mute the opponent I have to click above his avatar.

Does anyone know what I can do to solve this problem?

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Mar 6, 2021

Yes, it’s always cut off. Is 2560x1600 the actual resolution that you’re using? That would be extremely tiny on a 13” screen.

@iSergiant

This comment has been minimized.

Copy link

@iSergiant iSergiant commented Mar 6, 2021

So I have to chose between it being cut off or the cursor being displaced?

How do I know which resolution I'm using? 2560x1600 is what it says under System Preferences --> Display

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Mar 6, 2021

Yes, you have to choose. Being cut off on the sides is not usually a huge problem, except for with large stacks.

And it's whatever the "looks like" resolution is.

@iSergiant

This comment has been minimized.

Copy link

@iSergiant iSergiant commented Mar 6, 2021

Where do I find the "looks like" resolution?

What a pity that one has to chose. But better than nothing I guess.

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Mar 6, 2021

It's under the scaled options, just toggle to it to find out what you're using.

@iSergiant

This comment has been minimized.

Copy link

@iSergiant iSergiant commented Mar 6, 2021

Ah, I got you. It says looks like 1440x900

So I should enter the commands with these numbers?

@jefaokpta

This comment has been minimized.

Copy link

@jefaokpta jefaokpta commented Mar 20, 2021

Works for me! Thx for share.

@Jaces-Sanctum

This comment has been minimized.

Copy link

@Jaces-Sanctum Jaces-Sanctum commented Apr 21, 2021

Is there any way to stop the command from running? Mac now officially supports full screen, and I'd rather switch to using that than this any longer.

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Apr 21, 2021

Just go into your graphics settings and it should undo everything.

@april

This comment has been minimized.

Copy link
Owner Author

@april april commented Apr 22, 2021

Although, that said, I'm on my Macbook Pro and there is no full screen option. I've only seen it show up when running at 16:9 on an external display.

@Lofter1

This comment has been minimized.

Copy link

@Lofter1 Lofter1 commented May 5, 2021

I improved on the code a bit so that you just need to execute it now, no editing required anymore

#!/bin/zsh

# 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

# Get the resolution of the display
resolution_string=$(system_profiler SPDisplaysDataType | grep Resolution)
resolution_width=${resolution_string:22:4}
resolution_height=${resolution_string:29:4}

# to find the scaled resolutions, go to System Preferences --> Display
defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer $resolution_width 
defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer $resolution_height 
@AlMon

This comment has been minimized.

Copy link

@AlMon AlMon commented May 9, 2021

I improved on the code a bit so that you just need to execute it now, no editing required anymore

#!/bin/zsh

# 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

# Get the resolution of the display
resolution_string=$(system_profiler SPDisplaysDataType | grep Resolution)
resolution_width=${resolution_string:22:4}
resolution_height=${resolution_string:29:4}

# to find the scaled resolutions, go to System Preferences --> Display
defaults write com.wizards.mtga "Screenmanager Resolution Width" -integer $resolution_width 
defaults write com.wizards.mtga "Screenmanager Resolution Height" -integer $resolution_height 

@Lofter1: thank you so much! Worked like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment