ColinPitrat / caprice32

An emulator of the Amstrad CPC 8bit home computer range.
GNU General Public License v2.0
148 stars 32 forks source link

Crash at startup on macOS Big sur #216

Open noxx09 opened 3 years ago

noxx09 commented 3 years ago

Juste after a black flash window the program crash on macOS Big Sur The console say erreur 22:34:14.251054+0200 Caprice32 AddInstanceForFactory: No factory registered for id <CFUUID 0x600000e41ac0> F8BB1C28-BAE8-11D6-9C31-00039315CD46 erreur 22:34:14.283950+0200 Caprice32 Unable to locate MetalPluginName property or is of the wrong type erreur 22:34:14.285191+0200 Caprice32 +[MTLIOAccelDevice registerDevices]: Zero Metal services found erreur 22:34:14.573343+0200 Caprice32 0x1000003f0: TCC deny IOHIDDeviceOpen erreur 22:34:14.573807+0200 Caprice32 0x10000086f: TCC deny IOHIDDeviceOpen If it can help ;-) regards

ColinPitrat commented 2 years ago

I have no idea what this is. Are you building it yourself or running the dmg?

noxx09 commented 2 years ago

One year after ;-) Juste after a black flash window the new program crash on macOS Monterey... But I've find something. I've start the Caprice32 executable inside the application and I see in the terminal that it search a rom file on my Users/My home/rom/... I create a folder like it wants and it starts.( But not from the App bundle... ) It says on terminal "No valid configuration file found, using empty config."

ColinPitrat commented 2 years ago

So what doesn't work is the App bundle? At the time I created it, I spent some time debugging it on a Mac. The problem is that don't own one (though obviously that wouldn't be enough as it seems it changes from one version to another).

The problem is usually for cap32 to find the resources, roms and config which are in the DMG. There's a heuristic for that in the code but I couldn't find what the proper way if doing it would be. One option would be to look into how other projects do it.

noxx09 commented 2 years ago

I try to see something with other projects : the only one with a cfg file inside is CPCemu that exist on multiple systems like your app. https://cpc-emu.org/news.html https://cpc-emu.org/news.html The bundle work well on mac. But I don’t see any source on site… Perhaps if you contact the author ? Regards.

Le 4 oct. 2022 à 10:38, Colin Pitrat @.***> a écrit :

So what doesn't work is the App bundle? At the time I created it, I spent some time debugging it on a Mac. The problem is that don't own one (though obviously that wouldn't be enough as it seems it changes from one version to another).

The problem is usually for cap32 to find the resources, roms and config which are in the DMG. There's a heuristic for that in the code but I couldn't find what the proper way if doing it would be. One option would be to look into how other projects do it.

— Reply to this email directly, view it on GitHub https://github.com/ColinPitrat/caprice32/issues/216#issuecomment-1266601269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEW3HR5PFLQYIHCOPHB43QDWBPUIDANCNFSM5FIARKRQ. You are receiving this because you authored the thread.