OpenXcom Forum

OpenXcom => Troubleshooting => Topic started by: ReddyKilowattz on July 14, 2022, 11:05:06 pm

Title: Macos - Shrunken display, maybe due to Retina
Post by: ReddyKilowattz on July 14, 2022, 11:05:06 pm
I'm running MacOS Monterey on an iMac with a 21.5" retina display. It has a second display which is a typical 1980x1080 PC monitor. I'm running a copy of OpenXcom that I compiled myself from the current master branch.

When I launch OpenXcom, the game opens a window the expected size, but sometimes the graphics are squashed into the bottom left corner of the window. It seems to happen when the game window opens on the retina display rather than the external display, but it's not 100% - sometimes the graphics are correctly sized when opening on the retina display. If I go into the video options and change settings, sometimes the problem corrects itself, but I haven't found a specific change that reliably does that.

I set "useOpenGL" to "true" in options.cfg to work around an issue where SDL 1.2 doesn't work quite right on MacOS (see https://openxcom.org/forum/index.php/topic,7972.0.html (https://openxcom.org/forum/index.php/topic,7972.0.html)).

Any idea where I'd start start troubleshooting this? I'm a software developer by trade, but I don't normally do native development on MacOS.
Title: Re: Macos - Shrunken display, maybe due to Retina
Post by: ReddyKilowattz on July 15, 2022, 12:29:23 am
Oops, I see this is already reported as https://github.com/OpenXcom/OpenXcom/issues/1320.
Title: Re: Macos - Shrunken display, maybe due to Retina
Post by: Meridian on July 15, 2022, 11:42:24 am
Try this build: https://openxcom.org/forum/index.php/topic,6596.msg145018.html#msg145018

Let us know if it helped.
Title: Re: Macos - Shrunken display, maybe due to Retina
Post by: ReddyKilowattz on July 15, 2022, 11:47:56 pm
I tried that build once before. I downloaded it and tried it again.

Launching it on the retina display with "useOpenGL" set to "true" had the same problem--the game window opened at the expected size, but the game graphics only take upthe lower left part of the window. If I set opengl to false, or launch the game on the non-retina display, the game graphics fill the window as expected. This is less than ideal because the game runs quicker when opengl is set to true--specifically, battlescape animations like walking characters runs faster.

I also noted that in the battlescape, when an xcom agent can see an alien, the little number button is a different color. I'm used to the number button having a red background, but it's green. That may be a deliberate change.
Title: Re: Macos - Shrunken display, maybe due to Retina
Post by: ReddyKilowattz on July 16, 2022, 12:12:16 am
I'm having trouble deciding how to proceed here.