Rebuilding the torque engine
by Marvin Hawkins · in Torque Game Engine · 02/04/2006 (12:15 am) · 10 replies
Hi.
I unistalled torque and removed all of the folders from my PC. I reinstalled the TGE but I noticed something odd. I don't have to rebuild the engine. Instead of having to go through the set ups mentioned in the documentation. (rebuilding the engine in a compiler) I can simply run the game example without rebuilding it.
Should this be?
I unistalled torque and removed all of the folders from my PC. I reinstalled the TGE but I noticed something odd. I don't have to rebuild the engine. Instead of having to go through the set ups mentioned in the documentation. (rebuilding the engine in a compiler) I can simply run the game example without rebuilding it.
Should this be?
#2
02/04/2006 (1:11 am)
The engine ships with a compiled .exe. Any source code changes you compile will be written out to wherever the .exe is set to be written to.
#3
02/04/2006 (10:41 am)
So you're saying I didn't really have to compile it when I first got it?
#4
02/04/2006 (11:32 am)
Correct.
#5
02/04/2006 (11:33 am)
That's correct, you don't need to compile it unless you've made changes to the source code or just want to see how its done.
#6
02/04/2006 (3:37 pm)
Okay well this one time I made some changes to the engine and recompiled it.... but when I actually ran the game it performed the exact same way it did before. Is there an explanation for this.
#7
02/04/2006 (5:28 pm)
Did your changes affect script or core engine behavior? If not...then nothing will be noticable. You could add Havok physics and if you didn't use them, it wouldn't matter.
#8
I tried to do the modifications mentioned by Robert Stewart (Toward the bottom of the thread) The first time I got some errors. But after the redoing it for a 5th time the core engine I didn't get any errors. When I ran the game, it still behaved the same way. So do I have to change the scripts too?
02/05/2006 (12:03 am)
They affected the core engine. I got the code from HereI tried to do the modifications mentioned by Robert Stewart (Toward the bottom of the thread) The first time I got some errors. But after the redoing it for a 5th time the core engine I didn't get any errors. When I ran the game, it still behaved the same way. So do I have to change the scripts too?
#9
02/06/2006 (6:14 am)
Did you run the right exe? You might have built a debug build and ran it by mistake.
#10
02/07/2006 (2:44 am)
Also, don't forget to delete the old .dso files, there's usually a batch file to do this in /example
Torque Owner Marvin Hawkins