chrislo27 / PolyrhythmMania

A game that faithfully recreates the Polyrhythm minigame from Rhythm Tengoku (リズム天国), with a built-in level editor
https://polyrhythmmania.rhre.dev
GNU General Public License v3.0
237 stars 18 forks source link

Add a bash script for launching the game on Mac #29

Closed CelestialAmber closed 2 years ago

CelestialAmber commented 2 years ago

I noticed there wasn't a bash script for launching the game on Mac, so I tried to just run the Linux sh file and got an error. I was able to fix the error with a simple modification to the java command in the script, so all that would have to be done to allow the game to work on Mac is just adding this bash script to the build folder, and modifying the portable script like I did with the regular one for that to also work (the script is attached below). play_mac.sh.zip

chrislo27 commented 2 years ago

Per the front page README, macOS is not listed as a supported operating system. This means that I can't offer bug support or the guarantee that the game will even run on macOS, so I don't want to offer a launch script directly. Other Mac users are free to use this launch script if it works for them though.

For documentation purposes: the added VM argument is -XstartOnFirstThread per GLFW requirements.

CelestialAmber commented 2 years ago

I understand. Thanks for replying anyways.