Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: OSXAM on October 08, 2019, 02:55:43 PM

Title: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 08, 2019, 02:55:43 PM
Attract mode Does not work in OSX Catalina - Anybody know what's causing this and can help?

I believe its to do with the new security updates, but I'm at a loss for what to do
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 08, 2019, 07:05:32 PM
Whats your terminal output/log? Show app contents and run the bin from the terminal.

Apple deprecated opengl last year. This is bad news for attractmode, and lots of other apps and games. I will be using linux full time when my mac is done. Not happy with apple’s decisions lately. I can try to help, but because of this - I have a very expensive and high spec computer that cant install the latest operating systems.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: iOtero on October 09, 2019, 05:27:01 AM
Sorry... There is no OSX Catalina, it is macOS Catalina.  :-[

And i plan to continue using Mojave for a long time ... until they remove the exclusivity of 64-bit applications.  >:(

And this drift to make macOS more and more similar to IOS will not help me to change macOS version.  :o

My macbook has been running Mountain Lion for many years and i haven't needed anything more modern.  ;D

And my Toshiba Libretto U100 has been running Windows XP for many years and i have not needed to change to windows 10.  ;D
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 09, 2019, 08:45:01 AM
Sorry... There is no OSX Catalina, it is macOS Catalina.  :-[

And i plan to continue using Mojave for a long time ... until they remove the exclusivity of 64-bit applications.  >:(

And this drift to make macOS more and more similar to IOS will not help me to change macOS version.  :o

My macbook has been running Mountain Lion for many years and i haven't needed anything more modern.  ;D

And my Toshiba Libretto U100 has been running Windows XP for many years and i have not needed to change to windows 10.  ;D

You do know that the “X” in “OSX” is Roman numeral for “10”, and we are at mac version 10.15. While Apple might have dropped the term, calling it “osx” is not incorrect.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: iOtero on October 09, 2019, 09:31:36 AM
Sorry... There is no OSX Catalina, it is macOS Catalina.  :-[

And i plan to continue using Mojave for a long time ... until they remove the exclusivity of 64-bit applications.  >:(

And this drift to make macOS more and more similar to IOS will not help me to change macOS version.  :o

My macbook has been running Mountain Lion for many years and i haven't needed anything more modern.  ;D

And my Toshiba Libretto U100 has been running Windows XP for many years and i have not needed to change to windows 10.  ;D

You do know that the “X” in “OSX” is Roman numeral for “10”, and we are at mac version 10.15. While Apple might have dropped the term, calling it “osx” is not incorrect.

I don't agree with you, Keil, nor Apple either:

https://en.wikipedia.org/wiki/MacOS (https://en.wikipedia.org/wiki/MacOS)   

https://www.apple.com/macos/catalina/ (https://www.apple.com/macos/catalina/)

The denomination you say and the reasons you give are obsolete, have long since changed. I also like the name OSX, but Apple does not. And they are the owners of the creature.  ;D
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 09, 2019, 12:26:48 PM
Sorry... There is no OSX Catalina, it is macOS Catalina.  :-[

And i plan to continue using Mojave for a long time ... until they remove the exclusivity of 64-bit applications.  >:(

And this drift to make macOS more and more similar to IOS will not help me to change macOS version.  :o

My macbook has been running Mountain Lion for many years and i haven't needed anything more modern.  ;D

And my Toshiba Libretto U100 has been running Windows XP for many years and i have not needed to change to windows 10.  ;D

You do know that the “X” in “OSX” is Roman numeral for “10”, and we are at mac version 10.15. While Apple might have dropped the term, calling it “osx” is not incorrect.

I don't agree with you, Keil, nor Apple either:

https://en.wikipedia.org/wiki/MacOS (https://en.wikipedia.org/wiki/MacOS)   

https://www.apple.com/macos/catalina/ (https://www.apple.com/macos/catalina/)

The denomination you say and the reasons you give are obsolete, have long since changed. I also like the name OSX, but Apple does not. And they are the owners of the creature.  ;D

Lmao
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: zpaolo11x on October 10, 2019, 01:09:25 AM
I'm delaying the upgrade to Catalina for two reasons: first my iPhone 5s is on iOS 12 so if I update to Catalina I'll loose reminder sync with my Macbook (thanks Apple, I already lost reminder sync with my wife's iPhone 8 with iOS 13 :D ), and second I'm scared that Attract Mode will not work fine with the new gatekeeper settings.

I don't think the issue is with 32 bit applications (Attract Mode is not on the list, unlike Paragon NTFS software updater, which is weird since Paragon NTFS itself is 64 bit lol), I think the issue is with OpenGL (I hope not) or with Gatekeeper. AFAIK you have to tell gatekeeper that the app is fine, try launching the app with right-click open instead of double clicking.

Do you get any error message from macOS when launching Attract Mode from the UI?
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 10, 2019, 03:29:57 AM
Keil etc here is what I have done so far to try and get Attract Mode Working - firstly I did  everything I could think off including reinstalling Catalina from scratch and trying again and these are the results of my attempts since that happened:
1. Downloaded Attract mode and tried to install - you can't drag it to the documentation folder - so I dragged and dropped it into the Apps folder.
2. Tried running Atrract Mode it starts but it cannot see the rams, wheels, Videos even though the paths are 100% correct and when I copied the paths from the config file into terminal the files are all there.
3. Assuming this to be a gatekeeper issue I Added Full Disk Access to the Attract App - result no change
4. I then opened the Attract mode package and added the contents folder - No change
5. I then added Contents/macOS/attract - No change
6. I then ran Contents/macOS/attract from the terminal - no layouts, no wheels, Videos but it did see the Roms and allowed me to create a romlist. However the emulators won't run.
I then added .Attract in the user directory to Gatekeeper and gave that Full disk access as well - No change.

I honestly believe this is gatekeeper related but maybe not I am no expert.

Keil asked for the log file here is the one from when I ran the app/Contents/Macos /Attract direct

Warning: Attract-Mode was compiled to look for its default configuration files in: ../config/, which is not available.
Config: /Users/leebendall/.attract/attract.cfg
Error loading language resource file: en

*** Initializing display: 'Atari 5200'
 - Loaded master romlist 'Atari 5200' in 0 ms (40 entries kept, 0 discarded)
 - Constructed 2 filters in 0 ms (80 comparisons)
 ! Error opening layout: Attrac-Man
 - Layout is empty, initializing with the default layout settings
 ! Unexpectedly lost focus to: Unknown
 - Working directory: /Volumes/"Rom Drive"/Emulators/MAME-Systems
*** Running: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
Warning, chdir(/Volumes/"Rom Drive"/Emulators/MAME-Systems) failed.
Error executing: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
 - Working directory: /Volumes/"Rom Drive"/Emulators/MAME-Systems
*** Running: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
Warning, chdir(/Volumes/"Rom Drive"/Emulators/MAME-Systems) failed.
Error executing: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
logout
Saving session...
...copying shared history...
...saving history..

All help will be greatly appreciated

Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 11, 2019, 01:05:56 PM
Log File Contents

Warning: Attract-Mode was compiled to look for its default configuration files in: ../config/, which is not available.
Config: /Users/leebendall/.attract/attract.cfg
Error loading language resource file: en

*** Initializing display: 'Atari 5200'
 - Loaded master romlist 'Atari 5200' in 0 ms (40 entries kept, 0 discarded)
 - Constructed 2 filters in 0 ms (80 comparisons)
 ! Error opening layout: Attrac-Man
 - Layout is empty, initializing with the default layout settings
 ! Unexpectedly lost focus to: Unknown
 - Working directory: /Volumes/"Rom Drive"/Emulators/MAME-Systems
*** Running: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
Warning, chdir(/Volumes/"Rom Drive"/Emulators/MAME-Systems) failed.
Error executing: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
 - Working directory: /Volumes/"Rom Drive"/Emulators/MAME-Systems
*** Running: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
Warning, chdir(/Volumes/"Rom Drive"/Emulators/MAME-Systems) failed.
Error executing: /Volumes/"Rom Drive"/Emulators/MAME-Systems/mame64 a5200 -cart "/Volumes/Rom Drive/Emulators/MAME-Systems/roms/a5200/Centipede (USA).a52" -nowindow -skip_gameinfo
logout
Saving session...
...copying shared history...
...saving history..

Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: zpaolo11x on October 11, 2019, 02:22:28 PM
Warning: Attract-Mode was compiled to look for its default configuration files in: ../config/, which is not available.

Well this is strange, it seems Attract Mode can't find the config folder which is usually inside the Attract Mode package itself. If you "show package content" on the attract mode app can you see the files inside?
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 12, 2019, 02:24:55 AM
In anger to the latest question - Yes it can see everything in the package

I have now moved the package into the documents directory and repeated everything with the same results.

I hope someone wiser than me can fix this - I love Attract mode and will be devastated if I have to dump it - not least because there is no real alternative on the Mac and I absolutely will never return to Windows.

Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 12, 2019, 03:16:05 AM
In anger to the latest question - Yes it can see everything in the package

I have now moved the package into the documents directory and repeated everything with the same results.

I hope someone wiser than me can fix this - I love Attract mode and will be devastated if I have to dump it - not least because there is no real alternative on the Mac and I absolutely will never return to Windows.

Don’t forget about Linux!

I have had a few issues with directories using attract app package and osx in the past. Try this from the terminal, but substitute paths appropriately.

Code: [Select]
$ cd /Applications/Attract.app/Contents/MacOS
$ /Applications/Attract.app/Contents/MacOS/attract --config /Users/keiljr/.attract/
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 12, 2019, 09:02:49 AM
Keil Miller Jr you are a genius that fixed 90% of the problem but some of my files were still not accessible from Attract Mode so reading up on the Catalina docs I realised that personal directories such as Documents might be protected in order to stop third party apps accessing them. Of course that's where some of my files were so I moved them to another volume and now everything looks good - I have only had time to test one machine and will have to test a lot more before I can guarantee your fix works but its looking very good.

For those thinking of going to Catalina may I suggest you wait a few days, I will checkout quite a few machines in Attract mode and then update this forum on progress.

I will also post details of what I have done in order to avoid typing the code Keil provided into terminal every time you want to start Attract Mode, as I had no idea what to do until I started looking today and a summary of what I have done, including Keil's script - so that others might follow.

Once Again KEIL you are a genius
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 12, 2019, 09:06:17 AM
What I did to avoid typing Keill Miller Jr's (Genius) everytime I want to start Attract Mode.

Open Text Edit from  the Applications menu and then click on Format in the top bar and select Make Plain Text. In the window type:

#!/bin/bash
#this is a comment-the first line sets bash as the shell script
cd /Applications/attract.app/contents/MacOS;
/Applications/Attract.app/Contents/MacOS/attract --config /Users/”YOUR ACCOUNT NAME”/.attract/
exit;

Now click on File in the top bar and select Save, call it whatever you want and save it to the desktop.
Now reopen Terminal and type:

chmod +x Desktop/”WHATEVER THE FILE WAS CALLED”

Next we have to make that file clickable so rename it to /”WHATEVER THE FILE WAS CALLED”.command – Test it and confirm it works , then we can add a more appropriate icon – download any picture you wish to use as an icon and copy it to your desktop.

Now click on the file to open it in preview then click on Edit in the top bar and select Select All, then click on Edit in the top bar and select Copy.

You are now ready to make that image the icon for the file you created, so on the desktop right click the file you created and select Get Info. At the very top of the window which appears click on the tiny icon your file currently uses and then click on Edit in the top bar and select Paste.

All done - A desktop icon and no need to keep typing Keil's script into terminal.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 12, 2019, 09:20:14 AM
Getting Attract Mode to Work in Catalina

First please note Some of the things I have done may not be necessary, I have put them into chronological order and marked the items that may not need to be done with an * - I don't think it will cause any issues if you do them but you may be better off trying just those that need to be done first and if they do not work go back and perform the actions with an *

1. Download Attract Mode
2. Open the package and when it opens a windows suggesting you copy Attract to Documents, Don't, instead copy it to Applications instead.
3. * Now open  System Preferences and click on Security and Privacy, click on the lock in the bottom left the window, insert your password then scroll down to Full Disk Access. Leaving that window open in Finder navigate your way to the Attract App in the applications folder and drag it into the right hand panel of the Privacy and settings windows.
4. * repeat the above but this time navigate to the hidden .attract folder in your users directory - note if when you get here you can't see the folder, its because its hidden, so click Shift, Command and Period (full stop) and the hidden files will appear - and drag that to the same place as before.
5. Make sure none of your Videos, Wheels, Roms, etc, etc are in your user folders i.e.Documents, Attract Mode won't be able to access them so move them somewhere else outside of your users areas or like I did moved them to another volume. repoint your CFG files in attract to correspond to any changes you had to make and hopefully like me it will all work.

NOTE - I WILL PERFORM MUCH MORE TESTING ON THIS OVER THE NEXT FEW DAYS AND IPDATE THE FORUM WITH ANY NEWS GOOD OR BAD.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 12, 2019, 02:58:46 PM
Another Update - Tested Mame and retroarch configurations they seem to be working fine but for those reliant on 360controller for their joysticks - it no longer works onCatalina and the developers do not intend to fix it from what I could see on their forum.

as this issue affects me I will have to get a new joystick - Catalina now supports bluetooth Xbox one controllers, which I like so I will get one tomorrow and then update the forum on how I got on with that, just incase someone out there is keen to know.

 
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 14, 2019, 12:57:40 AM
Xbox one controller working in Catalina.
As promised I purchased and tested one of these and it seems to be working fine.
I haven’t had a chance to do much more testing but I will over the next few days and then I will post any issues on the forum or and I hope this will be the case, state I found no issues.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: zpaolo11x on October 14, 2019, 07:07:50 AM
Thank you for all the updates, I think now it's clear what to do to make Attract Mode work in Catalina. I think I'll try the upgrade maybe next weekend, as soon as I do it I'll let you know how it went and what I did. I'm still thinking wether I should upgrade or not though: I still have Picasa on my Mac which is the only application I'm going to lose, I don't know if there's a good alternative...
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: OSXAM on October 15, 2019, 11:48:50 PM
Final update on Catalina
Well it’s been a few days and I have had time to test my whole setup and everything is working fine. I’m sure as others try this they may have some issues but it will work and hopefully my posts will get you there without as much stress.

Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: iOtero on October 24, 2019, 05:49:08 AM
Interestingly, according to the Royal Academy of the Spanish Language, catalina is synonymous with shit.   :-[
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: carbonide on October 26, 2019, 11:02:02 AM
So, I'm not sure if my problems are Catalina related, but since I'm using Catalina for setting up attractmode for the first time, I'm posting it here.

I did everything as indicated in the previous posts and attractmode launches just fine and I could configure MAME. I'm seeing all the ROMs and Snapshots I'm using so all the paths must be set up correctly, but when I start a game, attract-mode's window goes black for a few seconds and then I'm back at game selection. There's is no attempt at lauching MAME. I'm abel to launch MAME manually and everything works fine.

What am I missing here?
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 26, 2019, 11:18:58 AM
So, I'm not sure if my problems are Catalina related, but since I'm using Catalina for setting up attractmode for the first time, I'm posting it here.

I did everything as indicated in the previous posts and attractmode launches just fine and I could configure MAME. I'm seeing all the ROMs and Snapshots I'm using so all the paths must be set up correctly, but when I start a game, attract-mode's window goes black for a few seconds and then I'm back at game selection. There's is no attempt at lauching MAME. I'm abel to launch MAME manually and everything works fine.

What am I missing here?

Post your mame emulator config.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: carbonide on October 26, 2019, 11:33:35 AM
Here it is.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 26, 2019, 11:55:22 AM
Here it is.

Check your executable and rom paths. They are incorrect.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: carbonide on October 26, 2019, 12:14:03 PM
Ok, I fully specified the paths now and the MAME app launches now, but after displaying MAME's window for a second or two, I'm automatically switched back to attract-mode. So I click in MAME's window to bring it back to the front, but now any keypress is ignored and I get the "beachball-of-death", i.e. MAME hangs.

I'm able to switch back to attract-mode and chose another game, the old MAME is stopped then and another instance is started, but with the same symptoms.
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: keilmillerjr on October 26, 2019, 12:21:35 PM
Ok, I fully specified the paths now and the MAME app launches now, but after displaying MAME's window for a second or two, I'm automatically switched back to attract-mode. So I click in MAME's window to bring it back to the front, but now any keypress is ignored and I get the "beachball-of-death", i.e. MAME hangs.

I'm able to switch back to attract-mode and chose another game, the old MAME is stopped then and another instance is started, but with the same symptoms.

nb_mode_wait 1
Title: Re: OSX Catalina - Attract mode does not Not Work - HELP!!!!!
Post by: carbonide on October 26, 2019, 01:23:07 PM
Works perfectly now.

Thanks a lot for your help.