Game Development Community

Missing level data when switching from OS X to Vista

by Andrew Sage · in Torque Game Builder · 05/06/2007 (8:10 am) · 1 replies

I'm developing a project using the Mac (Intel version 10.4.9) version 1.1.3 of Torque Game Builder.
I can add new items to my level without any problems.

I then copy across my game folder to my laptop (Windows Vista) running the Windows version 1.1.3 of Torque Game Builder. However when I open the game the new items are not there. When I run the game any script changes I've made are present.

If I reopen the game on the Mac the changes are there.
I've tried deleting the game folder on the Windows computer and then copying across the files but it still makes no difference.

Is Torque some how caching the data even though the game specific files have been deleted and replaced?
Or is Vista possibly doing the caching?

This is causing me major problems as I am trying to work through the Checkers demo game so I can get the hang of network based game play for my next project.

#1
05/06/2007 (10:21 am)
I've found out what was going on and it was Vista to blame.

I decided to try using Subversion to share the files between the computers instead of just copying them across.
I deleted my game folder, but every time I tried to add it from Subversion I was told the folder already existed.

Then I clicked on the Compatibility Files button in Vista's file explorer and found my folder sitting there undeleted.

It turns out that if you try to put files somewhere and you do not have permission to Vista puts them in this Compatibility Files virtual folder.

After deleting the folder for real I was able to get my game files from Subversion and now the Vista version is the same as the Mac one.

This leads me to the important question of, how do I tell TGB to look in a user's folder for the projects instead of the Program Files folder it has been installed in?