Game Development Community

Beware of windows VISTA new saving directions...

by Isaac Barbosa · in Torque Game Builder · 09/20/2007 (10:07 am) · 4 replies

I have found an answer to my last problem with TGB and VISTA, where the guilty is VISTA.

I will post this to prevent other of commit the same error and to lose data (actually I lost 10 days of programming)

You will open a cs file with your Torsion, work the whole day, save your data in your TorqueGameBuilderPRO/Games/YourGame/gameScripts... and your file will be saved... at least you will believe that because every time your reload your project and file everything seems ok, but the truth is that your changes and file are being saved in another location:

User/AppData/Local/VirtualStore/ProgramFiles/TorqueGameBuilderPRO/Games/YourGame/gameScripts

and this folder is hidden by default. So you must do some changes to be able to open it.

So be aware of this nice Vista feature and don't get unprevent (you will make a back up copy of your actual project believing everything is ok, but the bad news is that the back up copy doesn't take the files saved on virtual store, that time Vista takes the files in your default folder and that is the way to loss data and for some time, your sanity)..

Hope this helps others to be in my actual situation (do lots of stuff again).

#1
09/20/2007 (12:46 pm)
Here's a good article to read on UAC which is causing the problem you are having.
I think a lot of the applications out there have really yet to be built for Vista which Torison is one of them.
I'm fairly sure that if it were built for Vista, that problem you are having would go away.
I could be wrong though.

en.wikipedia.org/wiki/User_Account_Control
#2
09/20/2007 (2:18 pm)
I agree. But this will be a good advice for lots of people. Just be sure where your files are being saved and do not delete anything until have the right back up copy ;)
#3
09/20/2007 (3:13 pm)
One thing that might work is to change the permissions on the program and to set it to run in a Windows XP SP2 setup. That might fix it. I'll have to take a look when I get home tonight.
#4
09/20/2007 (3:26 pm)
I do that before this problem, so that is not a good solution. I know that Vista is saving in both locations and so you must check manually in case of delete files.