RE: [GD-Windows] Security/access when writing to registry
Brought to you by:
vexxed72
From: Gareth L. <GL...@cl...> - 2003-01-23 15:25:59
|
Mickael. > Perhaps that due to my less than average english skills I > missed something > of the whole thread, but why actually do you want to put this > kind of things > in the registry ??? Well, it makes sense. > Is it impossible to put that stuff along with save data in > the folder where > the game was installed ??? That is the first thing a lot of us ask. You can't put the data in the directory the game was installed, because the directory the game was installed in, isn't always writable to the player. For example, most games install under "Program Files". As said before, someone might decide that for their children, Program Files will not be writable, so now when little Johnny makes a high-score, the game crashes. > Personaly I'm swearing each time some "smart" pc developper > put settings, > highscores and save games in some weird location in my > computer, because it > means I cannot backup my game saves. True, but there are only 2 real options, Registry and a directory guarenteed to be writable, for example "Documents and Settings\All Users". And for save games, that makes a lot of sense. But if all you want to store are high-scores, then to me, personally, the registry makes more sense. Anyway, even if you do use the All Users directory, you still want to store what directory you used in the registry :) > Sometimes better is worse. Yes, but sometimes simpler is wrong. |