Unable to run game if datablock.cs is deleted from build [SOLVED] - RESOLVED
by Mario Carlos de Sousa · in Torque Game Builder · 09/26/2011 (8:40 am) · 3 replies
Hi all.
I created a simple test game in TGB and used the built-in packager to create a distributable copy. The dist copy failed to run though. After some fiddling and testing, I found that copying my datablocks.cs to the gameScripts folder fixed the problem. If I only have the .dso bytecode file of datablocks.cs, it fails to work. All other scripts (except main.cs) are present in their bytecode form only. Why does datablocks.cs have to be present in source form? Has anyone else experienced a similar problem? Any help will be greatly appreciated.
Thanks in advance.
I created a simple test game in TGB and used the built-in packager to create a distributable copy. The dist copy failed to run though. After some fiddling and testing, I found that copying my datablocks.cs to the gameScripts folder fixed the problem. If I only have the .dso bytecode file of datablocks.cs, it fails to work. All other scripts (except main.cs) are present in their bytecode form only. Why does datablocks.cs have to be present in source form? Has anyone else experienced a similar problem? Any help will be greatly appreciated.
Thanks in advance.
About the author
Business application/tools developer by day. Aspiring game developer by night. BSc Computer Science and Information Systems (UNISA)
Employee Michael Perry
ZombieShortbus
There is a link to a potential fix in the ticket. Have a look at this thread. Try the solution there to see if it fixes your issue. If it does, I will make sure TGB 1.7.6 gets this.