Willem,

The short answer is that you store stuff in the registry because you
can uniquely get at it, reliably, on pretty much all windows platforms
without regard for disk and file restrictions.  This is why a lot of
articles and recommendations are to put all configuration and other
information in the registry.  However, as you've pointed out, it does
come with costs.  It also has the significant disadvantage that making
backups of your application data and settings is problematic.

My policy on the registry is to use it for only the bare minimum.  I
typically store exactly three items in the registry: a unique client
ID number, the installation time, and a path to the installation data
directory.  The installation data directory is where downloaded audio,
updates, and config files are stored.  This prevents registry bloat,
allows for easy backup/restore, and allows the user to manually edit
the config files and swap out audio or other data if they desire.
Keeping the number of things in the registry small also makes it a lot
easier to maintain ports on other platforms that do not have a
registry.

Dennis Towne

Alter Aeon MUD
http://www.alteraeon.com



On Sun, Nov 20, 2011 at 12:34 PM, Willem Venter <dwill...@gmail.com> wrote:
> Hi. Why would you need to store things in the registry? Settings can
> be saved in a file and if you want data not to be altered you could
> encrypt that file, so what advantage is there to using the registry?
> Even though important keys are protected many problems can still be
> caused if keys are not removed with uninstallation and searching the
> registry can become slow if it is filled with erroneous data.
>
> On 11/20/11, Kai <kaixi...@sbcglobal.net> wrote:
>> Use the "check for Updates" link in your BGT Start Menu entry.
>>
>> Kai
>>
>> ----- Original Message -----
>> From: "shaun everiss" <sm.ever...@gmail.com>
>> To: "Philip Bennefall" <phi...@blastbay.com>; "Gamers Discussion list"
>> <gamers@audyssey.org>
>> Sent: Saturday, November 19, 2011 10:32 PM
>> Subject: Re: [Audyssey] More BGT news
>>
>>
>>> where is rev2, I can only get v1.1 installer.
>>> At 02:40 a.m. 20/11/2011 +0100, you wrote:
>>>>Hi all,
>>>>
>>>>First, let me say thanks once again to all of those who sent me so much
>>>>positive feedback over the last few days since I released BGT 1.1. This
>>>>kind of stuff is what makes my work interesting, and worthwhile.
>>>>
>>>>Now, I just wanted to write and tell you that revision 2 of the engine is
>>>>available. The reason I'm mentioning it on list is because it contains a
>>>>feature that many of you have been wanting for a long time, namely the
>>>>ability to read and write in the registry. I have made a settings class
>>>>which wraps this up quite nicely, and prevents script kids from tampering
>>>>with keys and values that do not concern them.
>>>>
>>>>And as usual, the revision also contains a number of bugfixes reported by
>>>>users.
>>>>
>>>>The next major feature that will see the light of day is joystick support.
>>>>
>>>>I have started working on this and am making good progress. So stay tuned
>>>>for that!
>>>>
>>>>Kind regards,
>>>>
>>>>Philip Bennefall
>>>>---
>>>>Gamers mailing list __ Gamers@audyssey.org
>>>>If you want to leave the list, send E-mail to
>>>>gamers-unsubscr...@audyssey.org.
>>>>You can make changes or update your subscription via the web, at
>>>>http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
>>>>All messages are archived and can be searched and read at
>>>>http://www.mail-archive.com/gamers@audyssey.org.
>>>>If you have any questions or concerns regarding the management of the
>>>>list,
>>>>please send E-mail to gamers-ow...@audyssey.org.
>>>
>>>
>>>
>>> ---
>>> Gamers mailing list __ Gamers@audyssey.org
>>> If you want to leave the list, send E-mail to
>>> gamers-unsubscr...@audyssey.org.
>>> You can make changes or update your subscription via the web, at
>>> http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
>>> All messages are archived and can be searched and read at
>>> http://www.mail-archive.com/gamers@audyssey.org.
>>> If you have any questions or concerns regarding the management of the
>>> list,
>>> please send E-mail to gamers-ow...@audyssey.org.
>>
>>
>> ---
>> Gamers mailing list __ Gamers@audyssey.org
>> If you want to leave the list, send E-mail to
>> gamers-unsubscr...@audyssey.org.
>> You can make changes or update your subscription via the web, at
>> http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
>> All messages are archived and can be searched and read at
>> http://www.mail-archive.com/gamers@audyssey.org.
>> If you have any questions or concerns regarding the management of the list,
>> please send E-mail to gamers-ow...@audyssey.org.
>>
>
> ---
> Gamers mailing list __ Gamers@audyssey.org
> If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
> You can make changes or update your subscription via the web, at
> http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
> All messages are archived and can be searched and read at
> http://www.mail-archive.com/gamers@audyssey.org.
> If you have any questions or concerns regarding the management of the list,
> please send E-mail to gamers-ow...@audyssey.org.
>

---
Gamers mailing list __ Gamers@audyssey.org
If you want to leave the list, send E-mail to gamers-unsubscr...@audyssey.org.
You can make changes or update your subscription via the web, at
http://mail.audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/gamers@audyssey.org.
If you have any questions or concerns regarding the management of the list,
please send E-mail to gamers-ow...@audyssey.org.

Reply via email to