Bug #935

Screenshots saved in a dedicated directory.

Added by Nepherkaan about 8 years ago. Updated about 8 years ago.

Status:Closed Start date:05/25/2010
Priority:Low Due date:
Assignee:vl % Done:

100%

Category:Client: General
Target version:Version 0.8.0

Description

This way, no risk to delete a system file in the client main dir.
(would be great for the official client too ^^ ).

patch_screenshot_dir.diff (1.4 kB) Magnifier Nepherkaan, 05/25/2010 09:18 am

History

#1 Updated by nimetu about 8 years ago

In Windows, 'My Pictures' should be used by default (if not set differently from config). MacOS might have that aswell.
Linux is tricky so best solution is to use Screenshots config file variable to set the path.

related link for windows http://msdn.microsoft.com/en-us/library/ms995853

data that is changed on running client (except patch), should be moved away from program folder in the end (that means save folder too)

#2 Updated by lubos about 8 years ago

Freedesktop has specification for user dirs: http://freedesktop.org/wiki/Software/xdg-user-dirs

#3 Updated by Nepherkaan about 8 years ago

nimetu wrote:

In Windows, 'My Pictures' should be used by default (if not set differently from config). MacOS might have that aswell.
Linux is tricky so best solution is to use Screenshots config file variable to set the path.

related link for windows http://msdn.microsoft.com/en-us/library/ms995853

data that is changed on running client (except patch), should be moved away from program folder in the end (that means save folder too)

I almost agree with you nimetu, but what i liked with Ryzom was that you take the folder and you don't have to bother looking at different places to find your files (saved scenarios, map hotspot & so on).
I've already made a patch to put all the Ryzom user's data in the same folder /ryzom/screeshots at this moment. But i wonder what's the best .... ^^

#4 Updated by vl about 8 years ago

  • Category set to Client: General
  • Status changed from New to Assigned
  • Assignee set to vl
  • Target version set to Version 0.8.0

I agree that it's nice to have everything in ryzom/ directory so we can copy/paste the directory and have 2 instances of ryzom without conflicts with user directory and so on.

If we want to use official path, we need to add a variable in the cfg that tell it and then use all official path for screenshot but also all other files.

#5 Updated by kervala about 8 years ago

Perhaps could we move them to "save" folder ? Logs, key config, etc... are already saved in "save" folder so it should be THE folder to backup :)

#6 Updated by vl about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Applied in changeset r233.

#7 Updated by vl about 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF