Exclusive Applications Issue

Message boards : Questions and problems : Exclusive Applications Issue
Message board moderation

To post messages, you must log in.

AuthorMessage
Penguirl
Avatar

Send message
Joined: 15 Jan 11
Posts: 24
United States
Message 62870 - Posted: 2 Jul 2015, 17:39:27 UTC
Last modified: 2 Jul 2015, 17:41:34 UTC

I am having trouble getting BOINC to obey the Exclusive Applications setting. I have one entry in this field, the new Blizzard game Heroes of the Storm, and BOINC keeps running work units when I am playing this game forcing me to stop and restart it manually. The GPU is set not to run when computer is in use and it does respect this setting.

BOINC v7.6.2 (the current “stable” version was giving me a problem that I have now forgotten but 7.6.2 fixed it)
Installed as admin and then ran Charlie Fenton's script dated 01/06/2008 Make_BOINC_Service.sh
Mid 2010 Mac Pro, quad core Xeon @ 2.4 GHz
8 GB RAM
OS X v10.9.5
Heros of the Storm v1.11.6.2439 (latest version)
ID: 62870 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 62873 - Posted: 2 Jul 2015, 18:33:48 UTC - in response to Message 62870.  

Make sure you have your CPU Activity set to run based on preferences, as when set to run always, that will ignore any exclusive applications.

Also make sure you used the right executable name for the game. Some games use launchers that launch the actual game's binary and then exit.
ID: 62873 · Report as offensive
Penguirl
Avatar

Send message
Joined: 15 Jan 11
Posts: 24
United States
Message 62879 - Posted: 2 Jul 2015, 19:36:59 UTC - in response to Message 62873.  
Last modified: 2 Jul 2015, 19:46:51 UTC

Thank you Ageless. BOINC is set to run based on preferences. I have tried to select the binary, Heroes of the Storm.app/Versions/Base36144/Heroes.app but the folder is grayed out in the Exclusive Applications window so I can’t select anything in it, even when logged it as admin (GUI, not cl). To view it in Finder I have to right click/Show Package Contents just to see inside it, and I can’t drag & drop the binary into the BOINC Exclusive Applications window either, even when logged in as Admin.

For what it’s worth, Heroes of the Storm.app/Versions/Base36144/Heroes.app is owned by me so I have full read/write permissions.
ID: 62879 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2463
United States
Message 62886 - Posted: 2 Jul 2015, 21:45:26 UTC - in response to Message 62879.  

Thank you Ageless. BOINC is set to run based on preferences. I have tried to select the binary, Heroes of the Storm.app/Versions/Base36144/Heroes.app but the folder is grayed out in the Exclusive Applications window so I can’t select anything in it, even when logged it as admin (GUI, not cl). To view it in Finder I have to right click/Show Package Contents just to see inside it, and I can’t drag & drop the binary into the BOINC Exclusive Applications window either, even when logged in as Admin.

For what it’s worth, Heroes of the Storm.app/Versions/Base36144/Heroes.app is owned by me so I have full read/write permissions.

Ouch. This may be an issue for the Mac user interface team. I know what part of the issue here is and it is Mac O/S security. The rest is that an application on a Mac may have numerous executables inside a folder like bundle. BOINC may be looking for an exact match on the path/executable name but the GUI add window can not look inside a bundle due to Mac O/S security.

As a possible work around see if you type in the executable name. Remember it may be case sensitive.
ID: 62886 · Report as offensive
Penguirl
Avatar

Send message
Joined: 15 Jan 11
Posts: 24
United States
Message 62889 - Posted: 3 Jul 2015, 1:44:17 UTC - in response to Message 62886.  
Last modified: 3 Jul 2015, 1:47:02 UTC

Thank you for the suggestion Gary. The Exclusive applications interface in BOINCManager.app is strictly Add… or Remove. When you click Add… it brings up a small Finder window where you can select the app to add to the Exclusive Applications list. On a whim I tried using this Finder window to search for Heroes.app, which is what it shows up as in Little Snitch, and Finder found it (I never knew Finder would search a quasi-folder directory package thing). However after adding Heroes.app to the Exclusive applications list from Finder search BOINCManager.app still does not respect the setting.
ID: 62889 · Report as offensive
Profile Gary Charpentier
Avatar

Send message
Joined: 23 Feb 08
Posts: 2463
United States
Message 62891 - Posted: 3 Jul 2015, 4:10:05 UTC - in response to Message 62889.  

Thank you for the suggestion Gary. The Exclusive applications interface in BOINCManager.app is strictly Add… or Remove. When you click Add… it brings up a small Finder window where you can select the app to add to the Exclusive Applications list. On a whim I tried using this Finder window to search for Heroes.app, which is what it shows up as in Little Snitch, and Finder found it (I never knew Finder would search a quasi-folder directory package thing). However after adding Heroes.app to the Exclusive applications list from Finder search BOINCManager.app still does not respect the setting.

FYI, this is what Boinc Manager.app contains (an old version)

In the Finder, right click on the .app and select show package contents. BOINC may be looking for the name of the Unix Executable file and not the name of the application. As you see BOINC has 4, but only 2 are real programs (BOINCManger and boinc)

To use this see http://boinc.berkeley.edu/wiki/Client_configuration and set up your cc_config.xml file. Oh, as to what is running in your game, Activity Monitor, or use terminal and top or ps to figure out what the executable is named.

Good Luck
ID: 62891 · Report as offensive
Charlie Fenton
Project developer

Send message
Joined: 17 Jul 06
Posts: 287
United States
Message 62895 - Posted: 3 Jul 2015, 7:34:56 UTC - in response to Message 62891.  
Last modified: 3 Jul 2015, 7:42:32 UTC

Ageless asked me to look into this. I found an easy way here to drill down into an application bundle when using the Mac's file picker (Open) dialog.

Outside of BOINC Manager, browse to the containing application (in this case Heroes of the Storm.app) in the Finder, and control-click on it. Then from the contextual menu which appears, select Show Package Contents to allow you to drill deeper inside. Browse until you get to the file you want (in this case Heroes.app.)

Next, in BOINC Manager's Exclusive Applications dialog, click on Add to open the file picker (Open) dialog. Finally, drag the desired file from the first Finder window onto the file picker dialog. With any luck, this will avoid the need to edit your cc_config.xml file by hand.

You may be able to determine the name of the UNIX executable by drilling down into the contents/MacOSX directory inside Heroes.app. Or, using the methods suggested by Gary, you may find that a completely different executable is ultimately being run by the game.

A word of caution: if you do edit your cc_config.xml file by hand, you may need to run the BOINC Manager Installer again to fix up its ownership and file permissions to those expected by BOINC. And if you edit your cc_config.xml file by hand, you will need to have BOINC re-read it either by selecting Read config files from the Options menu or by quitting and relaunching BOINC Manager.
Charlie Fenton
BOINC / SETI@home Macintosh & Windows Programmer
ID: 62895 · Report as offensive
Penguirl
Avatar

Send message
Joined: 15 Jan 11
Posts: 24
United States
Message 62984 - Posted: 11 Jul 2015, 1:39:00 UTC - in response to Message 62895.  

Thank you all for your help. I had to set the issue aside for a few days, when I came back to it I found that Heroes.app was no longer in the exclusive apps list so I added it again along with another app I found, HeroesSwitcher.app, and Exclusive Apps is now working as it should.

Again, thank you for your help. I appreciate it very much.
ID: 62984 · Report as offensive

Message boards : Questions and problems : Exclusive Applications Issue

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.