configHandler, r7047 - Page 2

configHandler, r7047

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Gnomre
Imperial Winter Developer
Posts: 1754
Joined: 06 Feb 2005, 13:42

Re: configHandler, r7047

Post by Gnomre »

AF wrote:I do not think it would be wise to put it in my documents, as that would violate microsoft guidelines, as well as piss off a lot of the people on these forums.
Tons of other games already use docs and settings\user\My Documents\My Games\ (I don't know/really care what it's called in vista), and annoyingly, some don't use My Games, just dumping a new folder in My Docs. Point is plenty of things use it and using My Games or at least My Docs by default would be more logical than something hidden away in app data or local settings, IMO.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: configHandler, r7047

Post by AF »

I would support putting it in my games but I've suggested this in the past and had people responding as if they would have no choice in the matter.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: configHandler, r7047

Post by BrainDamage »

whatever is placed, please add the (edit)current executable folder(edit) as a valid path for the config file too (like additional path for global config) so spring can become finally "folder portable" and working from a usb disk without touching the system

oh, as I said already in IRC, the method how spring determines it's writeable dir in vista needs changing, if the user has the UAC on, vista will trick spring to belive that the program files is writeable while it's not, in reality files will be transparently written on the user's virtualstore (hidden in the user's documents dir) and mapped back trought a VFS
(i might be mistaken, but you can switch off such behaviour by linking a manifest file in spring and enablign a flag in it)
Post Reply

Return to “Engine”