Whats the general preference for a save location these days? I have to save a users progress in a few files that they may potentially want to share between other players, but where should I put them?
Previously I’ve used System.getProperty(“user.home”) but on windows that usually returns something like C:/Documents And Settings/UserName which, frankly, nobody ever looks at (and past experience tells me that people have a hard time finding it even when it’s spelled out for them). Is the user.home property actually useful on Mac and linux, or is it equally bent there too?
For windows-only .zip distribution, a subdirectory of the game’s dir would probably make sense. But what about webstart? I don’t particularly like the idea of sniffing around trying to guess at a suitable location, and hardcoding something like C:/GameName is pretty dire.
Suggestions?
I suppose I could always write my own, but that might be quite a bit of work.