Revenge of the Titans

Revenge of the Titans

Vis statistikker:
Mairo the bear 15. juli 2014 kl. 15:43
Game using root of largest HDD instead of %APPDATA%?
Like title says. I have now all four differend puppygames games done ".game_name" folder on the root of my storage HDD. Why is this?
< >
Viser 1-5 af 5 kommentarer
cprince  [udvikler] 16. juli 2014 kl. 2:19 
Some abnormal system configuration of yours presumably. We use your user home dir (plus game name) normally for log files, and Steam cloud for everything else. Otherwise, last year we had an experimental patching utility that left a bunch of crap lying around which it is safe to delete. In fact go ahead and delete those directories as if you're using Steam all the important data should be in the Steam cloud.
Mairo the bear 16. juli 2014 kl. 3:05 
Thank you for answering :fhappy:

Deleting those folders, relaunch game, folder pops back up:
https://www.dropbox.com/s/2wnc37lcvynozpz/Screenshot%202014-07-16%2012.55.05.png

I remember this happened also when I was using Windows 7 but then it put it to my game HDD root (O:) but now it puts it to storage HDD (X:) where I use root folder a lot. Also now I got all your games and got cards and updated PCGW articles before I have time to actually play them, they also put those folders to same place; every other game using %APPDATA% or other variables works fine.
cprince  [udvikler] 16. juli 2014 kl. 4:18 
Well, we use the environment variable "user.home" that the JVM provides us with in Java 7... it could be that this is being somehow overridden or set wrongly by your environment.
Mairo the bear 16. juli 2014 kl. 11:37 
Oprindeligt skrevet af cprince:
Well, we use the environment variable "user.home" that the JVM provides us with in Java 7... it could be that this is being somehow overridden or set wrongly by your environment.
OK that explains it. "user.home" refers to desktop variable and takes parent path of that for some reason nobody knows. I have moved most of my stuff to X: because of SSD drive (I love to keep files on desktop and SSD doesn't like that) which means my desktop is "X:\Työpöytä" which then means that game drops it's files to "X:"

Problem is that they only intended to fix it in Java 8 http://bugs.java.com/view_bug.do?bug_id=4787931
cprince  [udvikler] 16. juli 2014 kl. 13:05 
Nice bit of sleuthing :) You can override it by adding "home=\".......\"" on the commandline. You'll need to escape \ characters with \\.
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50