Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Hey JB, thanks so much for making Playscii - I know it must've taken a huge amount of work to get it to where it is today!

I recently upgraded my Mac to macOS 11 (Big Sur) and Playscii will no longer launch for me :( running from the commandline yields;

Traceback (most recent call last):
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 144, in __init__
  File "ctypes/__init__.py", line 374, in __init__
OSError: dlopen(OpenGL, 10): image not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "OpenGL/platform/darwin.py", line 35, in GL
  File "OpenGL/platform/ctypesloader.py", line 36, in loadLibrary
  File "OpenGL/platform/ctypesloader.py", line 89, in _loadLibraryWindows
  File "PyInstaller/loader/pyiboot01_bootstrap.py", line 146, in __init__
__main__.PyInstallerImportError: ("Failed to load dynlib/dll 'OpenGL'. Most probably this dynlib/dll was not found when the application was frozen.", 'OpenGL', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "playscii.py", line 32, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 531, in exec_module
  File "OpenGL/GL/__init__.py", line 3, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 531, in exec_module
  File "OpenGL/error.py", line 12, in <module>
  File "PyInstaller/loader/pyimod03_importers.py", line 531, in exec_module
  File "OpenGL/platform/__init__.py", line 36, in <module>
  File "OpenGL/platform/__init__.py", line 33, in _load
  File "OpenGL/platform/baseplatform.py", line 97, in install
  File "OpenGL/platform/baseplatform.py", line 15, in __get__
  File "OpenGL/platform/darwin.py", line 62, in GetCurrentContext
  File "OpenGL/platform/baseplatform.py", line 15, in __get__
  File "OpenGL/platform/darwin.py", line 45, in CGL
  File "OpenGL/platform/baseplatform.py", line 15, in __get__
  File "OpenGL/platform/darwin.py", line 41, in GL
ImportError: ('Unable to load OpenGL library', "Failed to load dynlib/dll 'OpenGL'. Most probably this dynlib/dll was not found when the application was frozen.", 'OpenGL', None)
[58403] Failed to execute script playscii

Looks like there might be some clues here: https://github.com/pyinstaller/pyinstaller/issues/5107, appears macOS changed how loading dylibs works slightly in Big Sur?

Would be eternally grateful if you could patch this, currently I'm using another computer just for Playscii haha

There might be multiple issues at work there, but one reason I can think of is that I still do Playscii Mac builds with 32-bit Python on macOS Yosemite, and 32-bit stuff stopped being supported with Catalina. I need to research what options are available to me to support newer macOSes.

(1 edit) (+1)

Will there possibly be any work on this? I'm on m1/big sur and would love to be able use this!

(+2)

Same. Hand up for M1 Mac version over here.

Hey, did you get a chance to look into this? I'd really love to be able to use this but I'm getting the same error.

(+1)

Update: no actual progress on this, but here's an issue I have open with the PyInstaller project, which I use to create the Mac builds: https://twitter.com/playscii/status/1470155468395847683

I will let people know in this thread when I get it resolved - no ETA on when that will be unfortunately.