- config variable (registry)
- binary directory
- my documents
- app data
- environemnt variable
- compiler flags
UAC and multiple datadirs in Windows, pt 2
Moderator: Moderators
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: UAC and multiple datadirs in Windows, pt 2
I just commited the patch, the datadirs are checked in the following order:
Re: UAC and multiple datadirs in Windows, pt 2
Why is it my documents and not where it is supposed to be: my documents/my games/ ?
Re: UAC and multiple datadirs in Windows, pt 2
my games is not a standard place, therefore people not using english versions of windows won't have it (or will have it, but with a different name.)
Re: UAC and multiple datadirs in Windows, pt 2
i'm pretty sure my games has a %path% just like %documents%, no ?
A properly configured application uses my documents, a properly configured game uses my documents/my games/ as their home for user environment. /appdata is used for temp, working files and similar, and therefore i think its silly to include user files to be optionally over there.
change my documents to my games, and appdata to users/public, and it should be fine.
A properly configured application uses my documents, a properly configured game uses my documents/my games/ as their home for user environment. /appdata is used for temp, working files and similar, and therefore i think its silly to include user files to be optionally over there.
change my documents to my games, and appdata to users/public, and it should be fine.
Re: UAC and multiple datadirs in Windows, pt 2
you're assuming vista, I guess. I don't have vista, but if those paths are accessible there through environment variables or other means, I'm for adding them if they exist.reivanen wrote:change my documents to my games, and appdata to users/public, and it should be fine.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: UAC and multiple datadirs in Windows, pt 2
I followed this guideline: http://msdn.microsoft.com/en-us/library ... S.85).aspx, and a "my games" is not mentioned anywhere. But if you know a variable for this, feel free to post it here.
Also, appdata is not used for temporary data, but
Also, appdata is not used for temporary data, but
so in my opinion its a great place to put maps and mods in (unlike the base/springcontent etc., which should go in Program Files).User Account Control for Game Developers wrote:Game files that can be created by a user and read by all users. Write access is granted only to the creator of the file
Re: UAC and multiple datadirs in Windows, pt 2
Are we also forgetting to append spring/ to the end? we dont want to have maps mods and other spring folders polluting the my games folder getting in the way of other games ^_^
btw
http://msdn.microsoft.com/en-us/library ... S.85).aspx

btw
http://msdn.microsoft.com/en-us/library ... S.85).aspx

Re: UAC and multiple datadirs in Windows, pt 2
does this still work as explained here?Auswaschbar wrote:I just commited the patch, the datadirs are checked in the following order:If a directory doesn't exists, spring will simply ignore it (and won't create it).
- config variable (registry)
- binary directory
- my documents
- app data
- environemnt variable
- compiler flags
what is the registry key? environment variable?