I dug up this old topic http://spring.clan-sy.com/phpbb/viewtop ... =UAC+Vista
and ported springs UnixFileHandler to work with windows.
Now I need to know which directories should be searched for spring content. Also the order matters since spring will write everything (screenshots, demos) to the first existing writable directory.
I currently have the following (in this order):
- the location of spring.exe (like it was before)
 - the directory configured in SpringData in the registry if this key exists, the users "My Documents" ("Eigene Dateien", dunno how its called in english versions) otherwise (in Spring-subdirectory)
 - all-users application-data ("Dokumente und Einstellungen\All Users\Anwendungsdaten\Spring")
 - environment variable SPRING_DATADIR
 - compiler flags SPRING_DATADIR and SPRING_DATADIR2
 
