View Full Version : [Suggestion] Regarding Linux dom3 settings/save folder
Thilock_Dominus
November 29th, 2009, 07:36 AM
As most games/apps in Linux have the user settings/save/configs in hidden files or folders. Why not Dominions 3?
I personally find it annoying and I hate cluttered home directory. Wouldn't it be better to follow the "standard" regarding user config/settings files?
So instead of ~/dominions3 then set it to ~/.dominions3
I know it's a little thing :o
Quitti
November 29th, 2009, 08:14 AM
I think you can change it somehow, I remember Lch talking about it on IRC few days ago. You might want to pop in and ask him, or try to dig out a relevant post somewhere here in the forums.
Gandalf Parker
November 29th, 2009, 10:23 AM
Part of it might be that while the development is done on Ubuntu, its a personal desktop setup. Altho I do wish there was more of a shared server recognition to parts of the Dom3 linux install. Primarily in the saving of the serial key file.
Thilock_Dominus
November 29th, 2009, 12:22 PM
Part of it might be that while the development is done on Ubuntu, its a personal desktop setup. Altho I do wish there was more of a shared server recognition to parts of the Dom3 linux install. Primarily in the saving of the serial key file.
Like writing the serial key in the installation window? Or had you a text based installer in mind for CLI based servers?
Gandalf Parker
November 29th, 2009, 12:28 PM
Ive suggested encrypting it. Even a very basic encryption would be good. And maybe not naming it "key"
lch
December 2nd, 2009, 10:46 AM
Regarding the original question:
So instead of ~/dominions3 then set it to ~/.dominions3
Set the environmental variable DOM3_CONF to '~/.dominions3/'. I have the following in my .bashrc:
DOM3PRE="DOM3_CONF='~/.dominions3/'"
DOM3OPTIONS="--scoredump -afcn --nograss"
alias dom3="$DOM3PRE dominions3 $DOM3OPTIONS"
The DOM3PRE sets the config directory like you want, the DOM3OPTIONS are my personal preferences for playing the game.
thejeff
December 2nd, 2009, 12:20 PM
Just to quibble, wouldn't it be simpler to set the DOM3_CONF in .bashrc directly? Or is something else going on there that I'm missing?
And isn't the actual executable 'dom3' already? I don't have a 'dominions3' executable.
lch
December 2nd, 2009, 01:31 PM
The actual executable is called dom3, that's right, but you run it by calling a shell script that is called dominions3. At least that was the situation when I installed it. And I have more than one alias for starting the game, with different DOM3_CONF values.
Thilock_Dominus
December 2nd, 2009, 03:51 PM
Thanks for that :) Quite useful as I also run Dominions 3 with different values.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.