Game Development Community

How do I tell what version of the source code I have?

by Johan Carlsson · in Torque Game Engine · 08/20/2005 (2:22 am) · 6 replies

How do I tell what version of the source code I have?

And is it possible to get the version information out of the compiled binary?

#1
08/20/2005 (3:07 pm)
Usually you can tell by what source you got it from... Otherwise, a diff tool and some copies of different versions of the code is your next best bet.

Yes, we really need to have a version somewhere. :) It's fixed in 1.4.

Only indirectly can you get that info from a binary.

Have you tried grepping the code for "Version"?
#2
08/21/2005 (10:37 am)
Type echo(GetVersionString()); into the console to get the current version.
#3
08/21/2005 (12:24 pm)
Hey ben you're on all fronts!!! go to the atlas engine ! quicker please ... ;)
@johan : take a look at engine/game/version.cpp or version.cc.... line 9 or 10 It will give the answer.
#4
08/24/2005 (11:06 am)
Thanks guys (excellent)!

Ben: grep for version (I know that, stupid me ;-)
#5
08/24/2005 (4:30 pm)
I downloaded v1.3 as my SDK[labeled in Download section of my Account], why then does this return a value of 1.20 when utilizing the precompiled .exe?!? Artistic, not Coding, mind inquiring....I rechecked with a download yesterday, and still returns 1.20.
#6
08/24/2005 (6:33 pm)
We forgot to update it. 1.4 will have an updated version number.