<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 28/12/2011 11:16, Daniel Franzini wrote:
    <blockquote
cite="mid:CAFjNrKJv1CqpDTPfFpOyJnYu0DPPXreUUmmBmR=95f6vH5ry4A@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">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.
        <div><br>
        </div>
        <div>There is no consensus about (1). What is true, like already
          said is that %ProgramFiles% is not the right place.</div>
      </div>
    </blockquote>
    <br>
    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.<br>
    <br>
    (Previously sent to just Willem; I'm afraid I forgot to hit reply
    list for this:)<br>
    <blockquote type="cite">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:
      <br>
      <br>
      <a class="moz-txt-link-freetext"
href="http://msdn.microsoft.com/en-us/library/windows/desktop/ee419001%28v=vs.85%29.aspx#ID4EPD">http://msdn.microsoft.com/en-us/library/windows/desktop/ee419001%28v=vs.85%29.aspx#ID4EPD</a>
      <br>
      <br>
      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.
      <br>
      <br>
      FWIW I think J. King's heuristic is the best.
      <br>
      <br>
      Also with regards to a 64-bit build, I <b class="moz-txt-star"><span
          class="moz-txt-tag">*</span>believe<span class="moz-txt-tag">*</span></b>
      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).
    </blockquote>
    <br>
    -- <br>
    Phil<br>
  </body>
</html>