URL:
  <http://gna.org/bugs/?23753>

                 Summary: Default to using Documents\My Games\WesnothX.Y for
user config and data directories
                 Project: Battle for Wesnoth
            Submitted by: shadowmaster
            Submitted on: Tue 04 Aug 2015 08:46:43 PM CLT
                Category: Feature Request
                Severity: 4 - Important
                Priority: 7 - High
              Item Group:  None of the others
                  Status: Confirmed
                 Privacy: Public
             Assigned to: shadowmaster
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.13.1+dev
        Operating System: Windows

    _______________________________________________________

Details:

Currently, on Windows the game will use .\userdata for both the user config
and user data directories when no --config-dir, --userconfig-dir or
--userdata-dir options are provided in the command line.

The default choice when installing Wesnoth with our official packages is to
use Documents\My Games\WesnothX.Y as the user config and data dir, but this
choice has to be recorded in the Wesnoth application shortcut using the
--config-dir switch (which is deprecated and pending renaming, see bug
#23463).

When coupled with installing to a restricted location like Program Files, as
is the default, the .\userdata choice in the installer has been the source of
countless support threads about people being unable to find their preferences
file, saved games, or add-ons on Windows Vista and later due to the
interference of the UAC virtualization mechanism, which Wesnoth can't and is
not supposed to detect, resulting in stderr.txt output and Preferences ->
General -> Paths providing inaccurate information about these paths. More
recently, a few people have reported sudden issues with this option and
existing installs on Windows 8.1 (whether it's due to a system update or not
hasn't been confirmed yet). People who struggle with this user config+data
mode don't even actually need to use it in the first place, since it's only
really meaningful for installing to a portable medium (e.g. USB pendrives) or
enforcing version preferences isolation between individual versions of the
same branch.

Thus, I strongly advice that from 1.13.2 onwards:

* The installer must not provide a choice, and not insert any command line
switches into wesnoth.exe's command line defined in the game shortcut.
* The game must do as it does on Linux and make the most sensible choice by
itself.
* In Windows' case, that should be to automatically use Documents\My
Games\WesnothX.Y for both user config and user data.

People for whom this approach is not good enough should look into creating a
shortcut with an appropriate --config-dir switch and path instead.

I suggest to not implement any backwards compatibility for this in order to
keep the code simple, taking advantage of the fact that we are in the alpha
stage of the development series and thus sudden incompatible changes like this
should be expected. We can publish a migration guide for 1.12 users later
somewhere such as the wiki.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23753>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to