Game Development Community

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.

About the author

Business application/tools developer by day. Aspiring game developer by night. BSc Computer Science and Information Systems (UNISA)

Recent Threads


#1
09/26/2011 (9:56 am)
This issue was originally logged as TGB-68: User datablocks.cs won't load if just .dso is there.

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.
#2
09/26/2011 (10:47 am)
Thanks a lot, Michael. That sorted it out. Strange that I didn't get that thread in my search results (unless I did a shody job of going through the result list). Thanks again for steering me in the right direction.
#3
12/12/2011 (9:34 am)
Fixed in 1.7.6