OSRS-Environment-Exporter icon indicating copy to clipboard operation
OSRS-Environment-Exporter copied to clipboard

MacOS

Open downloader55 opened this issue 2 years ago • 6 comments

Hey, I’m a bit new to this and I am struggling to the environment exporter to open on Mac M1 Pro. I don’t know if anyone would have more knowledge on these errors than I do, but I’m stumped and any help would be greatly received!

Environment exporter here - not explicitly labelled for MacOS - https://github.com/ConnorDY/OSRS-Environment-Exporter/releases/tag/2.4.1

I have downloaded OpenJDK found here https://adoptium.net/en-GB/temurin/releases/?os=mac for MacOS

I’ve attached PNG files of the error, seems to imply an issue with java/processor choice but I have very limited experience with terminal / mac in general, and if there is I’m a touch lost for ideas checking the parts I know about.

Environment exporter

Thank you so much

downloader55 avatar Nov 15 '23 23:11 downloader55

Can you check if the .jar file exists in the same folder? Or more specifically that nothing is renamed or moved away from the other files after extracting the full zip file?

ScoreUnder avatar Nov 16 '23 00:11 ScoreUnder

Can you check if the .jar file exists in the same folder? Or more specifically that nothing is renamed or moved away from the other files after extracting the full zip file?

Can you check if the .jar file exists in the same folder? Or more specifically that nothing is renamed or moved away from the other files after extracting the full zip file?

The .jar file exists within the decompressed file, nothing seems to have moved or been re-named after second download to double check, I've deleted and re-installed java and the .jar now opens, the caches listed all download, but now upon trying to launch it the application itself now crashes for some reason. Very strange

Screenshot 2023-11-17 at 20 47 06

downloader55 avatar Nov 17 '23 20:11 downloader55

I am having the exact same issue

kyleb1515 avatar Nov 22 '23 18:11 kyleb1515

Sorry for going quiet on this, but I don't currently have a mac to test on other than @ConnorDY's, and I spent some time tracking this issue down there and thought I had it, but evidently not. The root cause is that MacOS wants programs to run OpenGL on the main thread, but over different JVM implementations it's difficult to tell exactly which thread is "main". (They should be swapping the Swing thread onto the main thread, but apparently that isn't happening?)

If you add me on Discord (score_under) I can look into fixing this in the new year, but I'll need to be able to test it on a MacOS device that still runs into this problem.

ScoreUnder avatar Dec 24 '23 11:12 ScoreUnder

Found your comment that fixes this issue "./run --no-preview"

kyleb1515 avatar Jun 24 '24 10:06 kyleb1515

The offer to remote-debug over discord still stands for anyone who wants to give it a go!

ScoreUnder avatar Jul 23 '24 15:07 ScoreUnder