Mac feedback: custom scenarios

Tech support for PC & Mac. Please post your OS and version number when reporting bugs.

Moderators: Slitherine Core, FoG PC Moderator, NewRoSoft

Post Reply
peterb1201
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 48
Joined: Wed Jan 13, 2010 1:41 am

Mac feedback: custom scenarios

Post by peterb1201 »

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
keithmartinsmith
Field of Glory Moderator
Field of Glory Moderator
Posts: 1557
Joined: Mon Mar 30, 2009 1:26 pm

Post by keithmartinsmith »

Peter,

Thanks and will do some research on this.

Keith
EricS
Sergeant - Panzer IIC
Sergeant - Panzer IIC
Posts: 194
Joined: Thu Aug 27, 2009 8:35 am

Post by EricS »

When porting to Mac OS X, we tried to follow the Apple developer documentation, which says:
The 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.
and
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.
(from Mac OS X Reference Library)

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
Corporal - 5 cm Pak 38
Posts: 48
Joined: Wed Jan 13, 2010 1:41 am

Post by peterb1201 »

EricS wrote: We thought that custom scenarios counted as "user data files", so we put them in a folder under Documents.
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).

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 :-), and gets into copyright issues besides.
IainMcNeil
Site Admin
Site Admin
Posts: 13558
Joined: Fri Apr 01, 2005 10:19 am

Post by IainMcNeil »

We've just added a built in user content system for Battlefield Academy. Now we have the server side working it is something we want to pass over to other games so its not such an unrealistic idea :)
Post Reply

Return to “Field of Glory : Tech Support”