angstsmurf / spatterlight

Updated fork of Spatterlight
GNU General Public License v3.0
109 stars 6 forks source link

Mac Mini with Sonoma 14.7: most games give blank or no windows #96

Open susan-davis opened 3 weeks ago

susan-davis commented 3 weeks ago

Attempting to play any game usually gives either no window and no feedback at all, or a small blank grey window. I've gotten two Glulx games to come up, but when I exited and tried to get back into them, I get the same behaviour, and there's no apparent pattern to when I can successfully launch something. The app is essentially unusable.

susan-davis commented 3 weeks ago

(I do get a notification when I try to shut down the app about the games I launched still "running.")

angstsmurf commented 3 weeks ago

Sorry to hear that. I've had similar reports in the past (see #32) but I haven't found a reliable fix or a way to reproduce it. My best guess is that it is caused by a failed autorestore.

I added some extra checks for autorestore failure to the test build at https://github.com/angstsmurf/spatterlight/releases/tag/v1.2.6.3b. It would be great if could try that version. If that doesn't work, you might be able to help me fix the problem by sharing your autosave data with me. It should be in one of the folders listed in this forum post: https://intfiction.org/t/spatterlight-1-1-released/62378/8. Just zip it up and put it here or mail it to me.

Otherwise, there are several suggestions in the other issue report and the forum thread: deleting the saved application state, deleting the autosave files for individual games, removing the games from the library and re-adding them, and so on.

angstsmurf commented 3 weeks ago

Some other things to try that just occurred to me:

angstsmurf commented 1 week ago

Did any of this help?

cspiegel commented 1 week ago

I wonder if there's any relation to garglk/garglk#903. I would imagine not, but just in case, I'll put this here to link the issues so we can at least keep track of any possible fixes in both projects.

susan-davis commented 1 week ago

Deleting the files specified in the other thread worked. Along the way, I got asked if it was okay for Spatterlight to access files managed by Dropbox, so it’s possible that it silently ignored being denied access. My game library is in a folder managed by Dropbox, on a removable drive, so it needs two different kinds of special permission. (I bet it would require three if I moved the whole thing into my Documents directory.)

angstsmurf commented 1 week ago

Glad to head that!

Spatterlight tries to save bookmarks of all file permissions given, so in theory, you would only have to give it permission to access the files once. I have a hunch that keeping them on an external drive complicates matters, though.

susan-davis commented 1 week ago

My internal drive is tiny, so most of my home directory lives on an external drive.

Just to keep a record of the conversation over on intfiction.org, my (new) current behaviour is that I can only launch new games if a game that I've already played is currently running.

angstsmurf commented 3 days ago

I'd like to try to replicate your setup in order to fix this, but I'm having a little trouble getting started. What do I need to do for files on an external drive to appear in the ~Library/CloudStorage/Dropbox/ directory?

EDIT: I tried installing the Dropbox app and signed up for a free trial, but when I try to activate File Provider support, it says “You are not eligible for the new Dropbox for macOS on File Provider at this time,” without giving a reason. This is on a 2020 M1 MacBook Air with Sequoia 15.1.

EDIT 2: I put my Dropbox folder on an external drive, but I couldn't seem to reproduce the issue. Apparently Dropbox won't disclose what makes you eligible for the version with File Provider, so I can't test that at this time.