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

Launching games via command line not working on macOS #82

Closed
leonstyhre opened this issue Jul 12, 2022 · 2 comments
Closed

Launching games via command line not working on macOS #82

leonstyhre opened this issue Jul 12, 2022 · 2 comments

Comments

@leonstyhre
Copy link

I've been adding support for SimCoupé to my emulator frontend ES-DE (https://es-de.org) and it works perfectly fine on Linux and Windows. However for the macOS release I'm unable to launch any games from the command line.

Could you please look into this so I can add support for SimCoupé also for this operating system?

And another thing, there are some dead download links on the SimCoupé website so it would be great if you could fix that as well!

Thanks in advance!

simonowen added a commit that referenced this issue Jul 13, 2022
Finder passes command-line disks to openFile: for processing, including
disks launched from file associations. These were processed as dropped
files which only boot if the emulation is currently at the boot screen.

If the macOS application hasn't finished launching any opened files are
now queued for later booting. Files opened after launching have the
original behaviour of only booting at the boot screen.

Renamed QueueAutoLoad to QueueAutoBoot, which now respects the autoboot
option (set using -autoboot 0), including files passed early in macOS
app launch.
@simonowen
Copy link
Owner

It was inserting the disk image but the auto-boot request was getting lost. Normal command-line processing handled it correctly but Finder was also passing the disk as an opened file, which trampled on the earlier processing.

I've pushed a fix for this to main, which also fixes launching disk images from file associations. It'll be in the next official release, but you can grab the CI build if you want to try it sooner.

I've also updated the website links to version 1.2.11. There was a hotfix version of 1.2.10 for macOS and the link wasn't updated to point to the newer point release, so I think it was only that one not working.

Thanks for reporting!

@leonstyhre
Copy link
Author

Thanks for fixing this so quickly! I've tested it and can confirm that it resolves the issue on macOS.

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

2 participants