Game Development Community

Easy Question - 1.8.0 -> 1.8.1

by Nicolai Dutka · in Torque Game Engine Advanced · 02/11/2009 (8:51 am) · 11 replies

I've never had to do this before, so I could use some pointers to make the transition smooth. I am wanting to update my project from using TGEA 1.8.0 to using 1.8.1. Is there anything in particular I need to do, or can I just drop my current project into the 1.8.1 folder and re-compile?

#1
02/11/2009 (9:25 am)
I upgraded my project from 1.8 to 1.8.1 last night in about an hour with absolutely no trouble by using WinMerge. Just do a folder comparison with subfolders included, and compare your project's source with 1.8.1's source. I found it easier to copy my project changes over to 1.8.1, but depending on how deeply you've modded your version of Torque it may be easier for you to do it the opposite way. Then I just replaced the 1.8.1 common and scriptsAndAssets folders with my game's, and it's working just fine (with a noticeable increase in FPS to boot).
#2
02/11/2009 (9:26 am)
So far, all I did was copy project folder from:

C:\Torque\TGEA_1_8_0\GameExamples\TechnoWizard

To:

C:\Torque\TGEA_1_8_1\GameExamples\TechnoWizard

I then open the project solution and do a rebuild all.

Am I missing anything?
#3
02/11/2009 (9:31 am)
Oh ya, I should note that I have not made any engine code changes at all. I am running a vanilla copy of the T3D example with a couple files renamed and that's it.

So I guess my main question is, are the updates coming out of the engine source code, or my project files? I am assuming it's the engine code and that I could use my current project files together with the new engine source with no issues and a re-compile will take care of updating my current project...correct?

I guess we'll see once I run it and test out the Terrain Painter. :)
#4
02/11/2009 (9:56 am)
Mike, can you elaborate a little on WinMerge? Perhaps a 'crash course' tutorial? I am afraid of overwriting sensitive files or breaking something...
#5
02/11/2009 (10:35 am)
Oh you haven't made any engine modifications?
Should be fine just dropping your files into the new TGEA 1.8.1 installation then. I'm not entirely sure if TGEA 1.8.1 made changes to any scripts, but just copying my game folder over to TGEA 1.8.1 and replacing the 1.8 .exe with the 1.8.1 .exe seemed to work fine. What I said about using WinMerge is mainly for porting custom engine code to the new TGEA build.
#6
02/11/2009 (3:38 pm)
TGEA 1.8.1 has script file changes, see file TGEA 1.8.1 Change Log.html
#7
02/13/2009 (8:51 am)
Caylo, that file may not have all of the changes after all!

People merging, beware. I've noticed at least one file that is missing from "Full list of files changed:"

C:\Torque\TGEA_1_8_0\Projects\Template\game\tools\missionEditor\gui\objectBuilderGui.ed.gui

On 598, the WaterFallback1_1 changes to Water_NoReflect.

If any more variances are noticed, please alert people, including me, in this topic. This may have just been a fluke, of course. Just be aware, though.
#8
02/13/2009 (9:38 am)
WinMerge is much better than any porting documentation or a change log -- find all differences at one glance!
#9
02/15/2009 (6:24 am)
I use WinMerge, as well. Excellent software! It should be a part of any coder's arsenal.
#10
02/15/2009 (3:11 pm)
I use WinMerge as well... is there any feature that lists out every difference, instead of manually going through each subfolder to pick out the differences?
#11
02/16/2009 (6:28 am)
@Chris Cain: there's a checkbox for "Include Subfolders" when you "Select Files or Folders" to compare - select your root project directories, check that box, hit ok, and it will find every difference between the two.