MUSHClient and SQLite
MUSHClient, is a freeware
MUD client. Since I wanted to be able to install the software on
several systems, but have all of the systems use the same MUSHClient
World Information files, which are stored as .MCL files, I wanted to see
where the program stored the location for the worlds files. Of course, I
could manually change the location within the
Global Preferences
on each system, but I wanted to see if there was a way I could just put
the information in a .reg Windows registry file or set it with a script.
Initially, I thought the program stored the default world file
directory location in the Windows registry, but I found that, though
there was a DefaultWorldFileDirectory
value in the registry,
the program actually used an SQLite database, instead of the registry
entry.
[ More Info ]
[/gaming/mushclient]
permanent link
Passwords Plus Registry Keys for Databases
When a password database is created in
Passwords
Plus from
DataViz, it creates
the following registry key:
HKEY_CURRENT_USER\Software\DataViz\PasswordsPlus
The key will have a DaggerFolder
value.
Value name: | DaggerFolder |
Value data: | C:\Users\Jane\Documents\Passwords Plus |
The directory listed will be the location where Passwords Plus creates
its user folders where it will store individual password
databases
Passwords Plus allows a user to have multiple databases specified
by user. For instance, Jane Smith could create one with
a username of Jane
for her personal passwords and another one
JSmith
for her work-related passwords.
If she did, beneath the
HKEY_CURRENT_USER\Software\DataViz\PasswordsPlus
registry
entry, you would find the following:
HKEY_CURRENT_USER\Software\DataViz\PasswordsPlus\Users\Jane
And the following value would be found within that key:
Value name: | DBPath |
Value data: |
C:\Users\Jane\Documents\Passwords Plus\Jane\PassPlusDB.PDB |
The value would specify exactly where the Passwords Plus database
would be located.
If Jane created another user within Passwords Plus, named JSmith,
the following would also be found within a
HKEY_CURRENT_USER\Software\DataViz\PasswordsPlus\Users\JSmith
key:
Value name: | DBPath |
Value data: |
C:\Users\Jane\Documents\Passwords Plus\JSmith\PassPlusDB.PDB |
If you want to have multiple systems share the same databases, which
will be accessible through a shared folder on a server, you could change
the DaggerFolder
and DBPath
values. E.g.,
suppose there is a folder shared from MyServer
with a share
name of Shared
and underneath that shared folder is a
directory named Passwords
with holds the various usernames
created for Passwords Plus. Then you could have the following value
for DaggerFolder
Value name: | DaggerFolder |
Value data: | \\MyServer\Shared\Passwords |
And you could use the following for a Passwords Plus username of
Jane:
Value name: | DBPath |
Value data: |
\\MyServer\Shared\Passwords\Jane\PassPlusDB.PDB |
If you wanted to copy these settings from one system to
another, so that you don't have to manually edit the registry
values on the second system, you can run regedit
and navigate to HKEY_CURRENT_USER\Software\DataViz
,
click on it to select it, then select File and
Export the registry settings to a file,
say Passwords-Plus-Users.reg
. You can then
take that registry file to another system and double-click
on it to enter the same values into the registry on that
system.
Note: these notes were written for Passwords Plus for Windows 1.006
and 1.007 and may or may not apply to other versions.
[/os/windows/software/security/password]
permanent link