- Dec 16, 2019
- 315
- 273
Yes, that can happen due to macOSTotally my bad, I just misread your post. For some reason I read "shipped with the game" as "shipped with MacOS." No idea why. I'm just dumb like that sometimes.
However, I have discovered something strange. Where you save a game matters a lot more than I previously thought. When I ran Unren on u4ia today I got this error
However, based on some discussion in this thread for 0x52's Universal Renpy Mod, I tried moving the game to my desktop and then trying Unren. It worked like a charm. Weird.Python:> Could not find platform independent libraries <prefix> > Python path configuration: > PYTHONHOME = (not set) > PYTHONPATH = (not set) > program name = '/Users/xxxxxxx/Games/u4ia.app/Contents/MacOS/python' > isolated = 0 > environment = 1 > user site = 1 > import site = 1 > sys._base_executable = '/Users/xxxxxxx/Games/u4ia.app/Contents/MacOS/python' > sys.base_prefix = '/home/tom/ab/renpy-build/tmp/install.mac-arm64' > sys.base_exec_prefix = '/home/tom/ab/renpy-build/tmp/install.mac-arm64' > sys.platlibdir = 'lib' > sys.executable = '/Users/xxxxxxx/Games/u4ia.app/Contents/MacOS/python' > sys.prefix = '/home/tom/ab/renpy-build/tmp/install.mac-arm64' > sys.exec_prefix = '/home/tom/ab/renpy-build/tmp/install.mac-arm64' > sys.path = [ > '/home/tom/ab/renpy-build/tmp/install.mac-arm64/lib/python39.zip', > '/home/tom/ab/renpy-build/tmp/install.mac-arm64/lib/python3.9', > '/home/tom/ab/renpy-build/tmp/install.mac-arm64/lib/lib-dynload', > ] > Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding > Python runtime state: core initialized > ModuleNotFoundError: No module named 'encodings' > > Current thread 0x00000001f4275e00 (most recent call first): > <no Python frame>
You must be registered to see the links
. Basically, it checks if downloaded apps are from trusted sources to keep us safe from potential sketchy software. Some folders are considered "pretty safe" for running apps.If you disable that restriction, you can run any apps in any folder, which includes running Renpy's own Python in this case. Removing GateKeeper for single app is pretty trivial, and it's handled in the UnRen script using
xattr
So if you're facing this issue, it might be because you don't have the privilege to "trick" GateKeeper i.e. you need
sudo
, or there's another protective app running, or you've tweaked the script (?).
Last edited: