Okay, what about this:
In my Mail, i mentioned an Identifier.
So the files are (under Linux) in the Home-Dir.
The Filename is a dot + the identifier.
For Example: Identifier Worm; Filename ~/.Worm
Do you like this better?
Yeah! 
Hey, isntā there an env. variable some people (and programs) use called
like ā$DOTPATHā or something? I donāt use it, since most programs donāt
seem to support it, but I always thought itād be really nice to have
user config. files somewhere OTHER than ā$HOMEā. 
Perhaps if thereās a pseudo-standard, this library could support it.
(Falling back to ā$HOMEā, obviously, if the env. var. is not set or the
dir. doesnāt exist.)
-bill!
I would rather have the files stored somewhere that is read and write via
everyone so that the datafiles like high score arenāt only avaible to that
one userā¦On Tue, 28 Dec 1999, William Kendrick wrote:
Okay, what about this:
In my Mail, i mentioned an Identifier.
So the files are (under Linux) in the Home-Dir.
The Filename is a dot + the identifier.
For Example: Identifier Worm; Filename ~/.Worm
Do you like this better?
Yeah! 
Hey, isntā there an env. variable some people (and programs) use called
like ā$DOTPATHā or something? I donāt use it, since most programs donāt
seem to support it, but I always thought itād be really nice to have
user config. files somewhere OTHER than ā$HOMEā. 
Perhaps if thereās a pseudo-standard, this library could support it.
(Falling back to ā$HOMEā, obviously, if the env. var. is not set or the
dir. doesnāt exist.)
-bill!
I would rather have the files stored somewhere that is read and write via
everyone so that the datafiles like high score arenāt only avaible to that
one userā¦
Well, whether this is done should be based on whether the user wants to
(or even CAN) install the game globally on the system. ie, if the game
NEEDS a root install, a shared file would useful (say in /usr/local/games/lib/)
If not, then $HOME or something similar is necessary. Itād be cool if the
library could figure it out. 
And of course, on Windows systems, anywhereās fine. 
-bill!
Ryan Wahle schrieb:
I would rather have the files stored somewhere that is read and write via
everyone so that the datafiles like high score arenāt only avaible to that
one userā¦
Isnāt there a /usr/local/etc Dir under Linux?
That would be ideal for this, wouldnāt it?ā
Christian Biesinger
Get Paid To Surf:
http://www.AdOne.de/startup.php?werber=45130
Hi! Iām a signature virus! Copy me into your signature file to help me
spread!
Isnāt there a /usr/local/etc Dir under Linux?
That would be ideal for this, wouldnāt it?
Actually, /usr/local/lib is better for this. Stuff in /usr/local/etc are
just like the things in /etc. They are configuration files. Keeping high
scores and things like that belong in /usr/local/lib. (Using the example
of the author above.)
Paul Braman
@Paul_BramanOn Wed, 29 Dec 1999, Christian Biesinger wrote:
Well, if there is one, then yeah.
The library should check for
/usr/local/etc and see if itās read/writable and then if itās not then do
something like .SDL/whatever
I donāt like the idea of setting .game or whatever in the home directory
because then it gets to cluttered; even if they are hidden filesā¦
Ofcourse this will be totaly configurable with my libraryā¦On Wed, 29 Dec 1999, Christian Biesinger wrote:
Ryan Wahle schrieb:
I would rather have the files stored somewhere that is read and write via
everyone so that the datafiles like high score arenāt only avaible to that
one userā¦
Isnāt there a /usr/local/etc Dir under Linux?
That would be ideal for this, wouldnāt it?
ā
Christian Biesinger
Get Paid To Surf:
http://www.AdOne.de/startup.php?werber=45130
Hi! Iām a signature virus! Copy me into your signature file to help me
spread!
User config/profiles/resources should be in a user dir (home, or whatever)
You wouldnāt want someone else to change your favorite key-mapping⦠
High score table binaries and data files are really the only ones that
should be stored globally in a shared directory.ā
Brian
On Tue, 28 Dec 1999, William Kendrick wrote:
I would rather have the files stored somewhere that is read and write via
everyone so that the datafiles like high score arenāt only avaible to that
one userā¦
Well, whether this is done should be based on whether the user wants to
(or even CAN) install the game globally on the system. ie, if the game
NEEDS a root install, a shared file would useful (say in /usr/local/games/lib/)
If not, then $HOME or something similar is necessary. Itād be cool if the
library could figure it out. 
And of course, on Windows systems, anywhereās fine. 
-bill!
And of course, on Windows systems, anywhereās fine. 
well⦠thats definately the āstandardā thats been set, whether itās āfineā
or not is of course debatable⦠:)ā
Brian
Paul Braman wrote:
Isnāt there a /usr/local/etc Dir under Linux?
That would be ideal for this, wouldnāt it?
Actually, /usr/local/lib is better for this. Stuff in /usr/local/etc are
just like the things in /etc. They are configuration files. Keeping high
scores and things like that belong in /usr/local/lib. (Using the example
of the author above.)
see Filesystem Hierarchy Standard (Filesystem Hierachy Standard) why
/usr/local/lib is not the place for high scores.
ā/usr/lib includes object files, libraries, and internal binaries that
are not intended to be executed directly by users or shell scripts.ā
(same applies for /usr/local/lib)
The place to write high scores and stuff to is either
/usr/local/share/games/ or just /usr/local/share/
or maybe $HOME/.games/.> On Wed, 29 Dec 1999, Christian Biesinger wrote:
ā
Daniel Vogel
666 @ http://grafzahl.de
Actually, /usr/local/lib is better for this. Stuff in /usr/local/etc are
just like the things in /etc. They are configuration files. Keeping high
scores and things like that belong in /usr/local/lib. (Using the example
of the author above.)
If we are going to talk just specifically about one platform, we might as
well go all out⦠
The linux standard (at least adopted in many distributions by many game
pacakges) is /usr/games or /usr/local/games.
Look at SDL Maelstrom, as installed by the RPM:
/usr/games/Maelstrom/
for example:
/usr/games/Maelstrom/Maelstrom-Scores
Isnāt that what the games directory is for anyway?
Whether itās /usr/local/games or /usr/games?ā
Brian
hi`
Daniel Vogel wrote:
The place to write high scores and stuff to is either
/usr/local/share/games/ or just /usr/local/share/
no - /usr/local/share is meant for static system architecture
independend data. The place to move the highscores is /var/games.
/usr/⦠shouldnāt contain āvariableā data. I should think before I post
;-)ā
Daniel Vogel
666 @ http://grafzahl.de
no - /usr/local/share is meant for static system architecture
independend data. The place to move the highscores is /var/games.
/usr/⦠shouldnāt contain āvariableā data. I should think before I post

Yeah, I should think before I post too. (Re: /usr/local/lib to store
high scoresā¦I even gave a talk on FHSā¦go figure [shrug])
If a game has a lot of components (read data files, etc) and wants a place
to store high scores and the like, maybe the whole shebang should be put
in its own /opt directory as an addon package.
I always hated having a large game install itself in /usr/local and then
pepper all sorts of other directories with other things. Maybe a
symbollic link from /usr/local to the /opt entry will prevent users from
having to update their paths every time a new game is installed.
Paul Braman
@Paul_BramanOn Wed, 29 Dec 1999, Daniel Vogel wrote:
You will probably still need to do some sort of ābase-data-dirā no matter
what. Because as you said, not all platforms support $HOME. Unless you
assume a directory on windows, or pull it out of the path to the executing
binary, you wonāt know what to do under windows.
(you canāt really assume c:\windows, because that isnāt a requirement⦠i
guess thereās probably a reg. key setting somewhere though)
Thereās a part like this in C:\msdos.sys
[Paths]
WinDir=C:\WIN95
WinBootDir=C:\WIN95
HostWinBootDrv=C
I think this could be used.
Bye, Karl
Well, I think on windows platforms it should use the registry⦠thatās
pretty much the standard on win95+ ā¦
also, the linux version of the settings api is almost done. probably
tonight or tommarooā¦
:)On Wed, 29 Dec 1999, Karl Bartel wrote:
You will probably still need to do some sort of ābase-data-dirā no matter
what. Because as you said, not all platforms support $HOME. Unless you
assume a directory on windows, or pull it out of the path to the executing
binary, you wonāt know what to do under windows.
(you canāt really assume c:\windows, because that isnāt a requirement⦠i
guess thereās probably a reg. key setting somewhere though)
Thereās a part like this in C:\msdos.sys
[Paths]
WinDir=C:\WIN95
WinBootDir=C:\WIN95
HostWinBootDrv=C
I think this could be used.
Bye, Karl
Christian Biesinger wrote:
What do you think about this?
Under Windows, the registry could be used for this, under Linux you
could create a ~/.SDL or something like this, where the Settings are
stored in this format:
[wurm] # the identifier from above
highscore=300
numplayers=2
[lxdoom]
resolutionx=800
resolutiony=600
and so onā¦
You get the idea?
libPropList is starting to get popular (used by Window Maker and GNOME),
is already included in some Linux distributions, is actively maintained
and is quite nice!ā
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
āFirst they ignore you. Then they laugh at you.
Then they fight you. Then you win.ā ā Gandhi
Iām almost done with mineā¦On Mon, 3 Jan 2000, Pierre Phaneuf wrote:
Christian Biesinger wrote:
What do you think about this?
Under Windows, the registry could be used for this, under Linux you
could create a ~/.SDL or something like this, where the Settings are
stored in this format:
[wurm] # the identifier from above
highscore=300
numplayers=2
[lxdoom]
resolutionx=800
resolutiony=600
and so onā¦
You get the idea?
libPropList is starting to get popular (used by Window Maker and GNOME),
is already included in some Linux distributions, is actively maintained
and is quite nice!
ā
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
āFirst they ignore you. Then they laugh at you.
Then they fight you. Then you win.ā ā Gandhi
Hi,
I read this thread on the webpage. Whats the decision?
Has the name been changed?
Will mixer be part of SDL or will it stay seperate?
I cant see anything on the webpage, please excuse me being impatiant, Id
like to start packaging mixer for debian, so that Billās nice games will have
sound on debian systems as well 
Christian