TGBX issues
by Jonathon Stevens · in Torque X 3D · 02/06/2007 (4:50 pm) · 5 replies
OK. So I'm unable to load in my old TGBX projects. I did run the utility that came with the newest beta download (convertBETAtxscene.exe) which had no errors stated.
After running it, I open the project and get the following error:

I updated the code to comply with the new engine code in latest beta and built and ran the project (which runs great).
Still, each time I attempt to either create a new project from my .csproj or open the previous one, I get that same message.
Thoughts?



After running it, I open the project and get the following error:

I updated the code to comply with the new engine code in latest beta and built and ran the project (which runs great).
Still, each time I attempt to either create a new project from my .csproj or open the previous one, I get that same message.
Thoughts?



About the author
With a few casual games under his belt as CEO of Last Straw Productions, Jonathon created the increasingly popular Indie MMO Game Developers Conference.
#3
In Visual Studio, go to the Properties page of your startup project and navigate to the Build Events tab (on the left). You'll see a field named "Post-build event command line:", enter the following in that ML text box (quotes included):
"$(TargetPath)" -exportschema "$(ProjectDir)myschema.txschema"
It should then export the schema file in the proper folder automatically every time you build your project.
Let us know if this doesn't work.
02/06/2007 (6:49 pm)
You need to run the project with a magical code in the build events for it to export a schema file. All our templates have this already in them, but you will have to add it manually for older projects.In Visual Studio, go to the Properties page of your startup project and navigate to the Build Events tab (on the left). You'll see a field named "Post-build event command line:", enter the following in that ML text box (quotes included):
"$(TargetPath)" -exportschema "$(ProjectDir)myschema.txschema"
It should then export the schema file in the proper folder automatically every time you build your project.
Let us know if this doesn't work.
#5
02/07/2007 (10:23 am)
Yes Thomas, thanks much. I'd been doing it with the command line switch!
Torque Owner Ben R Vesco