[Scummvm-devel] Windows experience

LionsPhil lionsphil at gmail.com
Wed Dec 28 13:44:00 CET 2011


On 28/12/2011 11:16, Daniel Franzini wrote:
> 1.) System-wide configuration files: these files have the global 
> configuration settings. Whatever people feels or the system that can 
> be thought as global. The propose of this is that users should not 
> have to setup ScummVM again just because they changed the user that is 
> logged in the machine.
>
> There is no consensus about (1). What is true, like already said is 
> that %ProgramFiles% is not the right place.

There is a CSIDL_COMMON_APPDATA for this role. By default files in it 
are created writable only by the user that created them but readable by 
all. I'm not sure relaxing that to let any old user reconfigure ScummVM 
is a bug or a feature, but it's also probably increasingly irrelevant 
given a guess that most gaming machines are operated by one person.

(Previously sent to just Willem; I'm afraid I forgot to hit reply list 
for this:)
> Microsoft specify that post-Vista-world games should be using the 
> SHGetFolderPath known folders, which are available all the way back 
> into the 9X dark ages:
>
> http://msdn.microsoft.com/en-us/library/windows/desktop/ee419001%28v=vs.85%29.aspx#ID4EPD 
>
>
> And yet that doesn't actually specify the Vista/7 Saved Games folder, 
> which can be found via SHGetKnownFolderPath(FOLDERID_SavedGames). I 
> can't actually find out how you're supposed to programatically 
> determine the XP-era "My Games" without hardcoding that substring; I 
> suspect that varies by locale.
>
> FWIW I think J. King's heuristic is the best.
>
> Also with regards to a 64-bit build, I *believe* this filesystem 
> virtualisation doesn't apply to it---it'd just get permission denied 
> on attempting to save to the current broken default path (the install 
> directory). 

-- 
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20111228/28376e99/attachment.html>


More information about the Scummvm-devel mailing list