Page 1 of 1

Windows are clipped in MacOS Sonoma.

Posted: Wed Nov 29, 2023 8:49 am
by Obelix
I recently got a MacBook Air with Sonoma but I often get a bug when running Myth.

The pre-game windows get clipped and various buttons, checkboxes and options are hidden off the frame of the windows. This does not occur if I am running Myth using an external monitor, only on the MacBook's Air built in display, which has an odd size of 2880-by-1864.

Could the developers try to address this?

Re: Windows are clipped in MacOS Sonoma.

Posted: Thu Dec 07, 2023 8:19 pm
by Myrd
Can you post the contents of your myth_log.txt file?

It sounds like it's using an interface resolution beyond 640x480 but the window is not being sized correctly.

Re: Windows are clipped in MacOS Sonoma.

Posted: Fri Dec 08, 2023 12:51 pm
by Myrd
Or if you use Discord and can be around, we can debug it together. It's not something that reproduces for me, so I'm not sure what the cause is. Do you get the issue even in a fresh directory with only the required patch plugins installed?

Re: Windows are clipped in MacOS Sonoma.

Posted: Mon Dec 11, 2023 8:09 am
by Obelix
The latest myth_log is attached. But I do not have the issue of the clipped window when I am using an external monitor, only when using the built in display of the MacBookAir M2.

Re: Windows are clipped in MacOS Sonoma.

Posted: Mon Dec 11, 2023 8:15 am
by Obelix
And here is the myth_log with the clipped windows.

Re: Windows are clipped in MacOS Sonoma.

Posted: Thu Dec 14, 2023 8:34 am
by Myrd
Thanks, I believe I know what's going wrong.
Your built-in display doesn't report 800x600 as a valid native resolution and unfortunately the code is set up such that it is still expecting it to be there for windowed mode to use it.

I can take a look at getting that fixed at some point later this month. For now, you can workaround this by removing "Myth II Interface (800x600)" from your plugins folder.

Re: Windows are clipped in MacOS Sonoma.

Posted: Thu Dec 14, 2023 9:47 am
by Obelix
I removed the "Myth II Interface (800x600)" as you suggeste and it works fine now with the built in display, without relying on an external monitor.

I can now go back to wasting colossal amounts of time. Thanks!

Re: Windows are clipped in MacOS Sonoma.

Posted: Sat Dec 16, 2023 1:18 am
by Myrd
When you have a chance, can you try this build of Myth II to see if the problem goes away?

https://projectmagma.net/~myrd/Myth%20I ... 20462b.zip

This is the app, so just put it in the Myth II folder alongside the normal one and launch from it to test.

Here's a copy of the 800x600 interface you can replace if you deleted yours, before testing:
https://projectmagma.net/~myrd/m2_800_600_interface.zip

Re: Windows are clipped in MacOS Sonoma.

Posted: Thu Apr 11, 2024 6:44 pm
by RcktMan77
I had a similar issue on a Mac Studio with external Apple Studio Display on macOS Sonoma 14.3.1. The build provided here didn't resolve the issue for me; however, removing the Myth II Interface (800 x 600) plugin as suggested did resolve the issue.

Re: Windows are clipped in MacOS Sonoma.

Posted: Tue May 21, 2024 6:02 pm
by NSNerd
Just an additional data point post. Similar issue with 1.8.4 on my mini M2 Pro / Apple Studio Display / Sonoma 14.5.

Removing plugins/"Myth II Interface (800x600)" did the trick for me too.

Happy to help troubleshoot, or test new builds.

My thanks to the Magma team, and everyone here who posted tips on how to install, especially the brew hfsutils tips for mounting and copying the HFS MythII CD which had me stumped. I loved this game in its day, looking forward to playing it again.