Author Topic: Install of TD3 always creates default data store at /../../td2  (Read 909 times)


  • Newbie
  • *
  • Posts: 43
    • View Profile
Hi All,

I've been running TD3 successfully for some time (as well as TD2 prior to that) in a Win XP virtual environment (VirtualBox 4.1.16 running on a Suse 12.1 host).
This environment has my data store located on the Suse /home directory which XP sees as a mapped "S" drive.
I run my tournaments from my laptop then copy the tournament files to S:\The Tournament Director 3\Data\saves" then use the XP VM to do all my exports to StatsGenie. This is working great but I'm trying to move into the new century and use Win 7.

I recently created a Win 7, 32 bit VM and am in the process of moving to it from the XP VM.

When I install TD3 (trial right now but I do have a TD3 license) into the Win 7 environment I used the default install path of "C:\Program Files\The Tournament Director 3\" .
When I initially launch TD, it creates the default data store at "S:\The Tournament Director 2\Data\".
I'm not sure why it is creating a TD2 path at all. I uninstalled TD3 then reran the install with the S drive unmapped but got the same result and since it is not an accessible drive I get an error if I try to access the data store from within TD - "S:\The Tournament Director 2\Data\ refers to a location that is unavailable....".

I can create a new data store that points to my TD3 files but cannot remove the TD2 related data store.

Not really a big deal but just trying to better understand where the TD2 reference is coming from.

If I've been vague in describing my situation please feel free to ask anything that might help clear the air.



  • Hero Member
  • *****
  • Posts: 1035
    • View Profile
Re: Install of TD3 always creates default data store at /../../td2
« Reply #1 on: June 17, 2012, 06:27:37 PM »
I believe that was one thing that got overlooked by Corey in getting TD3 fully operational (as opposed to beta). Upon installation, you should be able to tell it where to default to during the process.
My cowboys shot down your rockets
If you send a request to me please send that you got me from here w/your TD name to confirm. Thanks!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Install of TD3 always creates default data store at /../../td2
« 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.