Game Development Community

Move from Version 1.0 to 1.01...

by ExonesBo · in Torque 3D Professional · 10/23/2009 (2:25 pm) · 9 replies

Hello to all,

i was wondering what is the best way to move a project from Beta 5 to Version 1 and from 1.0 to 1.01..etc

What i do is create a new project in every new version and then copy what i think are the important files that i need from the older version to the new one.
Everything is fine so far but as the project gets bigger and more complex i can't continue doing this every time, it's too risky and mistakes are sure to happen.

Is that a good way to do this?
Any better ideas?

Thanks

D

#1
10/23/2009 (2:43 pm)
Merge Tools. They are a developers best friend.
#2
10/23/2009 (3:59 pm)
WinMerge is also pretty cool.
#3
10/23/2009 (8:45 pm)
Does Beyond Compare have any real advantages over WinMerge? Also, along the same vein, can anyone point me in a direction to learn more about SVN?
#4
10/24/2009 (8:24 am)
Thanks for the replies guys but i'm a bit confused now as i'm new to this..
Let me try and explain,

I've created a New project in version 1.0 including a small environment with a character some buildings..etc.

When i install version 1.0.1 my project obviously doesn't exist there. :-)

if i use WinMerge, SVN and all that they will compare the 2 version folders in "my projects" and because it doesn't exist i guess it will copy and paste my entire project folder in the new version directory..
That must be wrong totally?

If i create a new project in the new version and then compare the 2 folders that sounds better but it will merge text and all. And what if some scripts are renamed in the new version or have been removed/replaced...etc
Is that convenient then?

Thanks
D
#5
10/24/2009 (9:40 am)
you must first create a new project to compare it to.
you can not compare something to nothing I fear.
#6
10/24/2009 (12:18 pm)
these "merging" programs dont actually merge anything.
the show you the differences between 2 folders, thus allowing YOU the option to merge what you decide is worth merging.
the should be called "diff" tools.
#7
10/24/2009 (9:08 pm)
ok i realised now how to do it properly and which files are important..
WinMerge works like a dream, MergeTools too

Thanks all for the help

D
#8
10/24/2009 (10:34 pm)
Another thing you should do. (or at least it's what I do.)
I make a new folder called (hehe) "mine". All the scripts that I change or add go into that folder. If it's a cs file that I've changed, I remove the original from the original folder. Inside "MyFolder", I add an "execAll.cs" file to add my script exec's too. That way, there is only one change to the regular game.cs or scriptExec.cs files.
It just plain makes life simpler.



#9
10/24/2009 (11:31 pm)
Mike...

I go a step further. Any changes I do in code I tag the line in comments, something like below.

//RANDY_CODE

after i get through I simply search for any file that has this comment and I have a list of files I have changed. New files contain a similar HEADER Line.