ikemen-engine / Ikemen-GO

An open-source fighting game engine that supports MUGEN resources.
https://ikemen-engine.github.io
Other
661 stars 118 forks source link

MacOS Runs Ikemen Go in a small screen within the window #649

Open thoj900 opened 1 year ago

thoj900 commented 1 year ago

20220820_221050

M1 Macbook Pro macOS Monterey 12.5 Ikemen go .98.1

This was posted in iceman-help from another user as well, looks like a few users agreed there's no fix at the moment. Changing resolutions or full screen (or display in Mac) doesn't fix it. Seems Mac related issue. Attached Screenshot.

Thanks

thoj900 commented 1 year ago

Update: This is only when using the laptops integrated display, when putting the ikemen window on an external display, it is fine and automatically resizes itself.

thoj900 commented 1 year ago

these might be related, looks like the same issue, (something about using framebuffersize instead) https://github.com/glfw/glfw/issues/1857 https://github.com/glfw/glfw/issues/1897

romanthekat commented 1 year ago

as a temporal workaround, adding -AppleMagnifiedMode YES helps, for example w/ Ikemen_GO.command file:

#!/bin/bash
cd $(dirname $0)

case "$OSTYPE" in
    darwin*) #echo "It's a Mac!!" ;
        chmod +x Ikemen_GO_MacOS
        ./Ikemen_GO_MacOS -AppleMagnifiedMode YES
    ;;
    linux*)
        #export MESA_GL_VERSION_OVERRIDE=2.1
        #export MESA_GLES_VERSION_OVERRIDE=1.5
        chmod +x Ikemen_GO_Linux
        ./Ikemen_GO_Linux
    ;;
    *) echo "System not recognized"; exit 1 ;;
esac
thoj900 commented 1 year ago

awesome, that workaround does indeed display it normally again, thanks!

image