Carcassonne Central

Carc Central Community => Online Games and Competitions => JCloisterZone FAQ, Suggestions & Bug Reports => Topic started by: farin on January 02, 2015, 06:11:17 AM

Title: Request for comment: data directory location
Post by: farin on January 02, 2015, 06:11:17 AM
Hi

I just resolved issue whit write only app directory (then config file can't by created causing presets not workign etc.)
Current algorithm is
- check app dir, if is writeable use it (so in this case it works as before)
- otherwise use system "data usual" location (~/.jcloisterzone or   C:\Users\USER\AppData\Roaming\JCloisterZone)

Data directory is used for config.yaml, error.log, saves (maybe screenshots in future)
The Questions is - Shoud be "data usual" location used primary regardless on app dir? For me it is quite handy have all stuff in one directory. But I am old school user and it is true that using separate data directroy is more standard way.

Thanks for your comments.
Title: Re: Request for comment: data directory location
Post by: MrNumbers on January 02, 2015, 10:40:44 AM
For me, since this application is portable (in opposition to installable applications), I prefer that all files would be in app's directory.
Pros: application is truly portable, so it can be on USB flash drive, in cloud etc. Version controls is also good thing: all application's versions are completely independent.
Cons: every time after new version is launched, I must configure it anew.