Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS 'FS-UAE Launcher' cannot use relative paths using env variable FS_GAMESYS_RUN_DIR #152

Open
ztronzo opened this issue Mar 3, 2023 · 2 comments

Comments

@ztronzo
Copy link

ztronzo commented Mar 3, 2023

This relatively new feature for 3.2.11 works great on Windows and Linux which allows to keep relative paths within save-states when using compressed archives as hard-drives, which allows the same saved states to be used across different paths, users and systems (except for MacOS). For MacOS ("Big Sur") this feature requires the full native path and cannot use relative paths, as it gives out an error during launch.

On attempt to use a relative path with System Environment Variable "FS_GAMESYS_RUN_DIR" = "FS-UAE/Cache/fs-uae-00000000" on MacOS (tested with "Big Sur") it gives the error message:
Errno 30 Read-only file system:
'FS-UAE'
bug in FS-UAE Launcher,
FS_GAMESYS_RUN_DIR

Reason: "FS-UAE Launcher" attempts to search/create "FS-UAE" starting from the MacOS system root drive "/"

To reproduce:
Set environment variable through terminal with export FS_GAMESYS_RUN_DIR=FS-UAE/Cache/fs-uae-00000000
load FS-UAE-Launcher 3.2.11 and launch any WHDload configuration using a .zip or .lha compressed file as a hard-drive.

image

@ztronzo
Copy link
Author

ztronzo commented Mar 3, 2023

Seems that this feature may not be respecting the MacOS system $TMPDIR, as that is the location where it should create the chain of folders for FS_GAMESYS_RUN_DIR instead of the root of the drive.

@ztronzo
Copy link
Author

ztronzo commented Mar 20, 2023

There was a mention in previous documentation that OS X now uses / as current directory when you launch an .app.
http://fs-uae.net/devel/docs/options/relative-paths.html

Perhaps this has something to do with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant