bugFreeciv - Bugs: bug #20738, Windows Vista/7/8 file locations

Show feedback again

bug #20738: Windows Vista/7/8 file locations

Submitted by:  None
Submitted on:  Sat 13 Apr 2013 11:35:54 PM UTC  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: OpenRelease: 
Operating System: Microsoft WindowsPlanned Release: 

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Wed 24 Sep 2014 09:50:57 PM UTC, comment #3:

Yes, the colour test output goes to the installation directory, and that's typically also the current directory, otherwise ./data won't find the data subdirectory of the installation directory.

On windows it would be clearer to have .;inst/data;~/.freeciv/2.x etc. as default FREECIV_PATH instead of .;./data;~/.freeciv/2.x etc. Then folks could start Freeciv from a directory where they have write access, and find *.RPT, stderr.txt, colortest, and what else.

I tested --log for this purpose, but that helps only for stderr.txt after the server was started, the options for help or version ignore --log.

If you ever get around to create a better scheme for Windows please move ~/.freeciv/saves to ~/.freeciv/2.x/saves, mixing incompatible 2.5.x and 2.4.x save games in one directory can be confusing.

Thu 02 Jan 2014 10:41:58 PM UTC, comment #2:

Bug #20356 also notes trouble with freeciv-chat.log and map images.

Jacob Nevins <jtn>
Project Administrator
Sun 15 Dec 2013 06:26:16 PM UTC, comment #1:

In essence this is a dupe of GNA#20356 (still applicable for 2.4.1 on Windows 7)

Sat 13 Apr 2013 11:35:54 PM UTC, original submission:

Windows NT 6+ (Vista or later) enforces a "new" rule, where applications are not allowed to write application data to their own installation directory. For backwards compatibility write accesses are silently redirected to, e.g., %USERPROFILE%\AppData\Local\VirtualStore\Program Files (x86)\Freeciv-2.3.4-gtk2\etc., where it is hard to find, because AppData is a hidden directory. Affected files include freeciv-gtk2.RPT, freeciv-server.RPT, stderr.txt, and stdout.txt (= stdio redirection for an implicitly started server.)

I'd be quite willing to overrule this "new" (for me) feature for good "old" apps incl. various MS programs, but Freeciv uses a directory name with its own version (2.3.4 or whatever), so allowing write access for all authenticated users won't help for the next Freeciv version.

Please create these files in the normal per user directory, i.e., use the existing %USERPROFILE%\AppData\Local\Roaming\.freeciv directory.

While at it please move the configuration file .freeciv-client-rc-2.3 from %USERPROFILE%\AppData\Local\Roaming to the existong %USERPROFILE%\AppData\Local\Roaming\.freeciv or to the also existing %USERPROFILE%\AppData\Local\Roaming\.freeciv\2.3 directory.



(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #17746:  freeciv-gtk2.RPT added by None (15kB - application/octet-stream - freeciv-gtk2.RPT (contains four 2.3.4 errors))


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jtn (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 13 Apr 2013 11:35:54 PM UTCNoneAttached File-=>Added freeciv-gtk2.RPT, #17746
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup