7 | | * A '''screensaver coordinator''' program that doesn't do graphics (except for Win preview mode, which will just display a logo). Instead, the coordinator will run separate programs (project-supplied graphics apps, and graphics apps bundled with the installer). The order and timing of these apps will be configurable. |
8 | | * A '''default graphics app''', which the coordinator runs if no project apps are available. |
| 7 | * A '''screensaver coordinator''' program that doesn't do graphics (except for preview mode, which will just display a logo). Instead, the coordinator will run separate programs (project-supplied graphics apps, and a default graphics app bundled with the installer). The order and timing of these apps will be configurable. |
| 8 | * A '''default graphics app''', which the coordinator runs if no project apps are available. |
13 | | Configuration file format (XML): |
| 13 | == Default Graphics Application == |
| 14 | |
| 15 | On Windows, the default graphics app must be located in the BOINC executable directory (the same directory which contains ''boinc.exe'') and named ''boinscr.exe''. |
| 16 | On the Mac, it must be in the directory ''/Library/Application Support/BOINC Data/'' and named ''boincscr''. |
| 17 | Additional support files needed by the default graphics app, such as logos and fonts, should be in the same directory. |
| 18 | |
| 19 | The default graphics app will usually be called with the command-line argument ''--fullscreen'', which may be ignored. |
| 20 | |
| 21 | |
| 22 | However, it must respond to either of two possible additional command-line arguments: |
| 23 | * ''--retry_connect'' means that if the default graphics app is unable to connect to the BOINC Client via RPC, it should continue running and retry periodically. |
| 24 | * ''--test'' mans that it should try to connect to BOINC Client via RPC once, then exit immediately whether or not it succeeded. This is used by the Manager to test whether the RPC is blocked by a local software firewall; if so, most firewalls will then display a dialog so the user can approve it. |
| 25 | * When neither the ''--retry_connect'' or ''--test'' argument is passed, the default graphics app must return immediately with an error code of -107 if it can't connect to the BOINC Client via RPC. |
| 26 | |
| 27 | |
| 28 | == Configuration file == |
| 29 | |
| 30 | The '''screensaver coordinator''' can be customized by including an optional XML configuration file named ''ss_config.xml''. If used, it must be located in the BOINC data directory on both Mac and Windows. |
| 31 | |
| 32 | The format is: |
| 33 | |