Hi Willem,

This was actually something I had clearly in mind when building the wrapper. For the reason you mention, I have put much stricter limits on size of key and value names, and of the stored data itself than Microsoft does. As recommended by the article at:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724872(v=vs.85).aspx

I limited the size of each value to 2048 bytes, and encouraged users to save anything larger to a file. Similarly, I limited the length of key and value names to about half of the true limitation set by Microsoft.

So while I agree completely with yours and Dennis's points, I feel that it is my responsibility as the developer of this engine to include features that people request, as long as they are reasonable and related to games in one way or another. Naturally users are still free to utilize files exclusively; the registry is just one more option.

Kind regards,

Philip Bennefall
----- Original Message ----- From: "Willem Venter" <dwill...@gmail.com>
To: "Gamers Discussion list" <gamers@audyssey.org>
Sent: Monday, November 21, 2011 3:35 AM
Subject: Re: [Audyssey] More BGT news


Hi Thomas.
While I hear what you say about ease of use of the built in functions
of dot net for serializing and writing to the registry, sometimes
reading a file gives valuable insight to a problem and altering
something doesn't require a hex editor or custom loader for your file.

In my opinion the registry has no functionality that you can't
duplicate by using a file. Philip could even have emulated
registry-like behavior by using a file. The larger the registry
becomes, the longer it takes to find something in it.

On 11/21/11, Thomas Ward <thomasward1...@gmail.com> wrote:
Hi Dark,

I do see how editing an ini or conf file could help in a situation as
you describe. Howver, on the other hand it is more simple to serialize
the settings and save them to a file or just send the settings to the
registry. Modern programming languages like C# .Net, Visual Basic
.Net, and Java all have fairly simple methods for serializing objects
which makes saving and restoring a program's state very straight
forward and easy. That's principly why I don't use an ini or conf file
myself.

Cheers!




On 11/20/11, dark <d...@xgam.org> wrote:
As an interesting fact, in a couple of low vision access games I've
played,
editing a conf file is actually a great way around mucking about with
options menues, sinse I can just read it in Hal.

The most extreme form of this is in the game Rocks n diamonds, which has
about 8 pages! of options, the learning of which could be a nightmare,
particularly as there are some really useful options buried in the list,
such as the ability to set scroll delay to zero so that the screen scrolls
around the characters' position, rather than the character running all
over
the screen (an obscure idea but brilliant for field of vision trouble).

Obviously this doesn't apply to audio games where presumably all the
settings will be accessible anyhow.

Beware the grue!

Dark.


---
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