Game Development Community

Importing a TGB Project

by Christian Rousselle · in Torque X 2D · 07/08/2008 (2:05 pm) · 5 replies

Hello,

I have problems importing a TGB project. No matter what project I try to import it tells me that the datablocks.cs file is invalid (happens for TGB 1.5.1 and 1.7.3 projects). I just bought the Pro Version of TX to be able to fix it myself but the code for importing seems to be in TXB not in the engine :-|

How can I import a project?

Thanks.

#1
07/08/2008 (2:57 pm)
I have never been able to open TGB projects. I have been able to open levels, however. Which is pretty much what I would guess that you would get since there is not any code conversion done between TorqueScript and C#, I believe.
#2
07/08/2008 (3:00 pm)
While there are definitely certain aspects of TGB and TXB projects that can be shared (some assets, probably some level stuff), the two engines are not compatible in the way that I think you are thinking - i.e. you will never be able to just import your project from one into the other. The engine's toolsets look a lot alike but a lot of different stuff goes on in the background.
#3
07/08/2008 (3:03 pm)
I am not looking for code conversation. I understand that this is close to impossible.

My project currently uses a lot of images and animations - I do not want to recreate all of them in TXB. Since the import seems to look for datablocks.cs I thought this was what this feature was intended for.

datablocks.cs -> XML Description of the art used.

I can load the scene but without artwork it does not really help.
#4
12/17/2008 (1:05 pm)
It imports by folder. In the dialog Import just select the game folder only without opening it. It will import all your images, particles and tilemaps only. But, you have to manually reconstruct some are all the properties to the matterials, particles and tilemaps. And, recreate any animations and scrollers.

I hoping GG will finish TXB and have the import do this automatically, because this is a pain staking task. Also in the particles the "intense Particles" features in missing for some reason and the effects look dry now.

Why is this missing GG?
#5
12/17/2008 (4:23 pm)
It imports by folder. In the dialog Import just select the game folder only without opening it. It will import all your images, particles and tilemaps only. But, you have to manually reconstruct some are all the properties to the matterials, particles and tilemaps. And, recreate any animations and scrollers.

I hoping GG will finish TXB and have the import do this automatically, because this is a pain staking task. Also in the particles the "intense Particles" features in missing for some reason and the effects look dry now.

Why is this missing GG?