Game Development Community

Datablock.cs resetting?

by Gavin Beard · in Torque Game Builder · 05/20/2006 (12:07 pm) · 7 replies

Hi All, i created a new project just to have a play BUT, when i exit the game it seems to reset datablocks.cs back to the very first version? i've tried deleteing the compiled version etc. but no luck...

n e ideas?

#1
05/21/2006 (5:46 am)
Did you when starting T2D afterwards set the correct project through -game project? otherwise it will start with default datablocks again.
#2
05/21/2006 (7:07 am)
Yeah its set in main.cs, as i say it works the first time i run it after changing the datablocks file in notepad but as soon as i exit it just replaces the file :S
#3
05/24/2006 (4:44 pm)
I having this problem, it turn out my image was too large and not the power of 2. exa. 2, 4, 8,
#4
05/25/2006 (1:59 pm)
Datablocks.cs is now an internally managed file, and should not be edited or modified in any while while TGB is running.
#5
05/26/2006 (9:52 am)
Hmm...i will check, but as far as i'm aware its not being edited while running, unless t2d is not shutting down proper like
#6
05/26/2006 (12:21 pm)
I've just this moment experienced the same thing. TGB has been started/restarted many times within the last hour, and my project loaded just fine. Now though, TGB loads my project, but it's empty. Datablocks.cs has been reset back to default.

:-(

Running TGB Beta 3 btw
#7
05/27/2006 (1:01 am)
Double checked and tgb is not running when i edit the file