It took some digging, but I finally found where the custom scenarios go: in ~/Documents/Slitherine/(etc etc)
This is just a note to say that the more traditional place to put this sort of thing on the Mac would be ~/Library/Applications Support/Field of Glory. "Documents" is generally treated as the place for documents that the user created, not documents created by applications.
Regards,
Peter
Mac feedback: custom scenarios
Moderators: Slitherine Core, FoG PC Moderator, NewRoSoft
-
peterb1201
- Corporal - 5 cm Pak 38

- Posts: 48
- Joined: Wed Jan 13, 2010 1:41 am
-
keithmartinsmith
- Field of Glory Moderator

- Posts: 1557
- Joined: Mon Mar 30, 2009 1:26 pm
When porting to Mac OS X, we tried to follow the Apple developer documentation, which says:
We thought that custom scenarios counted as "user data files", so we put them in a folder under Documents.
andThe Library directory is a special directory used to store application-specific and system-specific resources. [...] Although an application can use this directory to store internal data or temporary files, it is not intended for storage of the application bundle itself or for user data files.
(from Mac OS X Reference Library)Important: You should not store user data files in the Library directory or any of its subdirectories. If your application stores the user’s data automatically—that is, without prompting the user for a location—you should choose a more appropriate location (usually the Documents directory) inside the user’s home directory.
We thought that custom scenarios counted as "user data files", so we put them in a folder under Documents.
-
peterb1201
- Corporal - 5 cm Pak 38

- Posts: 48
- Joined: Wed Jan 13, 2010 1:41 am
Yeah, it's a bit ambiguous - a scenario that I created could certainly count as "user data". And so there's a fair argument for this. Where I draw the line in my mind is whether in the normal course of events the user is going to be sharing the document with other users and/or applications: e.g., the whole point of a Microsoft Word doc is (generally) to send it to other people, so that goes in Documents. But a save game, for example, really is more a type of internal program state (yes, I might send a save game to someone for debugging, but that's not typical).EricS wrote: We thought that custom scenarios counted as "user data files", so we put them in a folder under Documents.
I'm not about to write a bunch of rage-filled angry articles on the internet about it, the location just surprised me.
Secretly what I really want is the ability to browse a central repository of user-created scenarios and install them from within the app. But I recognize that that's more a feature request than technical support
-
IainMcNeil
- Site Admin

- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
