question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't run the game in Mac OS with M1 CPU

See original GitHub issue

Platform Mac OS, Darwin Kernel Version 21.3.0, AArch64 (Apple Silicon (M1))

Version 4.0.9 compiled by myself and from github releases

Describe the bug I just can’t run the game:(

To Reproduce Steps to reproduce the behavior:

  1. Get Unciv.jar
  2. Download liblwjgl.dylib and put it in folder with game (my first error was missed liblwjgl.dylib)
  3. Run java -XstartOnFirstThread -Djava.awt.headless=true -jar Unciv.jar

Expected behavior The game just needs to start

Screenshots image

Additional context I tried to run the game with different versions of java and even with Temurin, as a result I have the same stdout + stderr

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
touhidurrrcommented, Apr 25, 2022

Just keeping the Issue updated with Discussions at Github. From my personal research libGDX uses underlying library LWGJL so a failure at invoking a function from LWGJL means that the problem is on libGDX itself.

Apparently @itanasi tried to ask out in libGDX discord server and found out that libGDX doesn’t support Apple M1 devices yet. However the support is on the current development snapshot version 1.10.1-SNAPSHOT and should be fixed at the next stable release of libGDX.

@adatan tried compiling Unciv from source with libGDX 1.10.1-SNAPSHOT and this solved the issue.

1reaction
adatancommented, Apr 25, 2022

Does this help with your problem? https://github.com/yairm210/Unciv/wiki/Installing-on-macOS

definitely not

P.S. I didn’t try itch launcher, but I suppose I’ll get amd64 arch version of game

Read more comments on GitHub >

github_iconTop Results From Across the Web

THE REAL REASON why iOS games don't come to M1 Mac
Sideloading iPhone iPad Apps on M1 Mac tutorial: https://www.youtube.com/watch?v=TMjCM... Play Apex Legends Mobile using keyboard/mouse: ...
Read more >
Playing Windows Games on a MacBook with Apple M1 Chip ...
Yes, you can play Windows games on an M1 Mac using Parallels Desktop for Mac.
Read more >
M1 Mac Up-to-date Game Compatibility List : r/macgaming
TLDR: THE LIST! This is the latest, open and most up-to-date list of games that are compatible with the M1 Mac, whether it...
Read more >
How to Run Windows on an Intel or M1 Mac - Intego
Running Windows on an M1 Mac​​ Apple silicon-based Macs (that is, Macs with an M1, M1 Pro, M1 Max, M1 Ultra, or M2...
Read more >
Is the Apple M1 chip capable of playing games? - Quora
Definitely yes, the latest ARM-based processor for Macs is built on the 5nm architecture, and it delivers high performance on low consumption of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found