Forced to delete DSO
by Howard Dortch · in Torque 3D Professional · 09/04/2010 (1:32 pm) · 6 replies
In TGE if you made any changes to a cs file it got recompiled to dso. Apparently I have to manually delete any dso now if I make a change to a cs file. Can someone tell me where the script code is that checks for changes in cs/dso and automaticly recompile? Apparently I commented it out or changed it and can't remember where it is or which function it was.
#2
I saw someone posting a fix for this but alas cant recall the url.
PS: Dont know if they fixed this in beta 2 or 3.
09/14/2010 (6:57 pm)
I does not look up the timestamp properly. It dosent care if you have a correct .cs file or one with syntax errors, it dont recompile a new dso if theres one there.I saw someone posting a fix for this but alas cant recall the url.
PS: Dont know if they fixed this in beta 2 or 3.
#3
#define TORQUE_NO_DSO_GENERATION
You have to comment this out to generate dso's.
09/14/2010 (7:09 pm)
In thought dso's were now only compiled in a release build? In fact look in TorqueConfig.h for:#define TORQUE_NO_DSO_GENERATION
You have to comment this out to generate dso's.
#4
This should solve your issue. I had the same problem. Took me some time to find it!
// Edit: Wasn't fixed in Beta 2
09/15/2010 (8:38 am)
Look in ConsoleFunctions.cpp line 1979:...(scriptModifiedTime - dsoModifiedTime) > Torque::Time(0)I changed it to
scriptModifiedTime <= dsoModifiedTime
This should solve your issue. I had the same problem. Took me some time to find it!
// Edit: Wasn't fixed in Beta 2
#5
09/15/2010 (7:03 pm)
That seems to work, thanks Thomas now I dont have to defrag by hd every day.....
#6
09/16/2010 (6:20 am)
Nice to hear, have fun at coding!
Torque 3D Owner Howard Dortch
Default Studio Name