Dungeon Crawl Stone Soup Tracker - DCSS
Viewing Issue Advanced Details
3333 Documentation minor have not tried 2011-01-29 21:55 2011-04-14 12:10
jpeg Local  
jpeg Windows  
normal Both  
closed 0.8 ancient branch  
done  
none    
none 0.8 ancient branch  
0003333: We need to document the morgue location for the win installer!
https://crawl.develz.org/tavern/viewtopic.php?f=5&t=431 [^]

This question comes up so often it can no longer be argued to be a user error. It's simply not clear where the morgue files end up.

I wish I could help Curio, but I don't know the answer myself. AFAIR, there's a similar problem for Mac builds.
jpg file icon chardump.jpg [^] (68,574 bytes) 2011-01-29 22:14
Issue History
2011-01-29 21:55 jpeg New Issue
2011-01-29 22:14 Curio File Added: chardump.jpg
2011-01-29 22:16 Curio Issue Monitored: Curio
2011-01-30 01:22 KiloByte Note Added: 0010767
2011-01-30 09:34 jpeg Note Added: 0010776
2011-01-31 19:03 Curio Note Added: 0010814
2011-01-31 21:38 galehar Note Added: 0010817
2011-02-02 11:13 KiloByte Note Added: 0010840
2011-02-04 15:21 ais523 Note Added: 0010905
2011-02-06 15:38 jpeg Note Added: 0010969
2011-02-06 15:39 jpeg Note Edited: 0010969
2011-02-18 13:58 jpeg Note Added: 0011210
2011-02-18 13:58 jpeg Status new => resolved
2011-02-18 13:58 jpeg Fixed in Branch => 0.8 development branch
2011-02-18 13:58 jpeg Resolution open => done
2011-02-18 13:58 jpeg Assigned To => jpeg
2011-04-14 12:10 jpeg Status resolved => closed

Notes
(0010767)
KiloByte   
2011-01-30 01:22   
Yeah, this is a regression for cases where you use Windows from an admin account -- unlike Unix where the home directory is a basic concept, Windows users often expect their saves to be placed elsewhere.

Too bad, on sane setups you can't write to arbitrary directories, and Microsoft's choice of allowed ones is anything but sane.

First, "user profiles" go to a different place on every single release of Windows -- including not only the version but also "edition" and locale. For example, on XP Home it's usually "C:\Documents and Settings\" (even pl), on XP Pro pl "C:\Dok\" (obviously localized), on Windows 7 Ultimate "C:\Users\", and s on.

Then, there is no consistent scheme where to put the data to. For example, Microsoft recommends using %APPDATA% which on XP Pro pl resolves to "%USERPROFILE%\Dane Aplikacji\", on Windows 7 to "%USERPROFILE%\AppData\Roaming\". A good deal of programs follow that recommendation, including currently Crawl. I did ask about some Windows games, and it appears at least some of them place their saves elsewhere: "%USERPROFILE%\Moje dokumenty\Starcraft II'", "%USERPROFILE%\Saved Games\".
(0010776)
jpeg   
2011-01-30 09:34   
Shite.

Well, I guess the least we can do is put the above complicated explanation on the website, and prominently link to it.
(0010814)
Curio   
2011-01-31 19:03   
c:\Documents and Settings\Administrator\Application Data\crawl\morgue

as been said in a thread by some kind soul.

Issue can be closed now I guess
(0010817)
galehar   
2011-01-31 21:38   
I think many games put save and config files in "my documents". Probably an attempt to reduce support calls. We should do the same :)
(0010840)
KiloByte   
2011-02-02 11:13   
I don't run any Windows games myself, so I don't have a clue here. If indeed many do ignore Microsoft's recommendations, we may do that too.

For most games, there's little reason to look at anything from outside the games -- for Crawl, morgues are different.

Such a change would break save compatibility unless we make the save browser smarter (it currently relies on character's name fully determining the filename), but that's not a show stopper.
(0010905)
ais523   
2011-02-04 15:21   
I've seen several Windows programs have an option in-game to see where the locations of that sort of thing are. After all, the documentation can't know, but the program definitely can. (It's normally under an options menu somewhere; this is rather harder in Crawl, though, because the options aren't set in-game.)
(0010969)
jpeg   
2011-02-06 15:38   
(edited on: 2011-02-06 15:39)
I think we should simply add the complete path name to the char dump message, i.e. replace "Char dumped successfully" with:

Char dumped to C:\Documents and Settings\Administrator\Application Data\crawl\morgue

If this is a security issue for CDO, we could only do this for local builds.

Once this is added, we can change the documention to use the chardump command for checking the morgue location. Much easier for everyone involved.

(0011210)
jpeg   
2011-02-18 13:58   
Outside of the servers, the morgue location is now shown whenever you do a chardump and also in the highscores.

Tried with the win installer, and it's really handy. Yay!