|
Corey Cooper
|
 |
« Reply #2 on: June 17, 2012, 09:04:41 PM » |
|
The software creates a folder named "The Tournament Director 2" in your "My Documents" folder. Stored in this folder are the preferences, information about your data stores, and the default data store. This is not configurable. These three items will always be in that folder. An analogy would be the Master Boot Record for your hard drive. When the computer starts up, it looks at the MBR to get things "bootstrapped". When the TD starts up, it looks in "%Documents%\The Tournament Director 2" to figure out where "stuff" is (like your player database).
It is named "The Tournament Director 2" for legacy reasons. If you are a version 2 user, and are upgrading to version 3, version 3 needs to look in the same place as version 2 in order to use the same preferences, data store information, and your data store (if you are still using the default data store, which I would guesstimate that includes probably 95% or more of users of the software). Thus the folder name had to stay the same.
As for the default data store, you can of course switch to using a different data store, but the default data store will remain. The default data store and your currently Active data store are initialized every time the software starts up. If the default data store doesn't exist, it is created. Your Active data store is initialized every time the software starts because the software installation doesn't actually do anything except install files in "Program Files". So when you install a newer version of the software, any updated templates need to also be copied out to your data store (which could be anywhere, and which the installation program knows nothing about), so this is done every time the program starts. I honestly don't recall off the top of my head why both the default data store and the active data store are initialized every time. Seems like it would only be necessary to initialize the active data store, but surely I had a reason. I'd have to revisit that code to determine why.
|