Game Development Community

Do I have the right engine?

by Arnold Veeman · in Torque Game Engine · 12/24/2003 (9:11 am) · 22 replies

Hello all,

Can somebody tell me if I have the right engine? I keep getting this error like:

"You don't have the correct version of the torque game engine or the related art needed to connect this server, please contact the server operator to obtain the latest version of this game."

Now with all respect; I have purchased this engine like everyone here. (I hope:)) But I have a isdn modem which allows no fast downloads. So I have waited for several hours to get the SDK downloaded via CWS. (I think it is better to have it all on CD by the way but ehr...) But I think something went wrong.

I have placed the downloaded the Torque Game Engine demo, placed this in the example folder and ran it. After just playing around for a while (which went fine actually) it sometimes crashed with this "above standing" quote. Is there an other engine I miss.

I can almost hear you laugh...

Aerny
Page «Previous 1 2
#1
12/24/2003 (9:23 am)
Aerny,

Look in the console log. See what it says before the error, if anything.

You are probably missing a file, or a file is corrupt.
#2
12/24/2003 (9:34 am)
Did you use CVS to download the SDK C++ source code and project files? If so, did you then compile the C++ source code using Microsoft VC++ or GCC? The downloaded Torque Game Engine demoe has nothing to do with the SDK. You can use the C++ source code to create the Torque Game Engine Demo for learning purposes.

-Jeff Tunnell GG
#3
12/24/2003 (1:51 pm)
Hello and thank you for your quick response James and Jeff,

First off... James, this was in my console log:

//-------------------------- 12/24/2003 -- 17:33:43 -----
Processor Init:
AMD Athlon, ~1.50 Ghz
(timed at roughly 1.52 Ghz)
FPU detected
MMX detected
3DNow detected
SSE detected

Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing 3DNow extensions
Installing SSE extensions

Input Init:
keyboard0 input device created.
mouse0 input device created.
DirectInput enabled.

setModPaths: invalid mod path directory name: 'vc6'
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Missing file: vc6/main.cs!


--------- Parsing Arguments ---------

--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.



And for Jeff...

Yes I used CVS to download the SDK C++ source code
How can I compile all the code? Can I use C++?
I've read some articles about compiling all kinds of things (about this engine) but is there a step by step tutorial, "preferably" including links to which to use programs to do so?

Sorry but I am a bit of a rooky with this, and maybe this is very off topic but I just want to learn more about this engine. But regarding the console log I think there are also some files missing. Can I solve this without using CVS again. (This was a huge program too to download, and I don't even know how it works correctly. There is an option to skip excisting files but I don't know how.) These missing files are rather small maybe sending them by e-mail is an option. (if it's allowed...)

yours,

Arnold
#4
12/24/2003 (3:40 pm)
Sounds like you are executing Torque from the wrong working directory.

Are you trying to run it from within Microsoft Visual Studio itself?

Try running torquedemo from the "example" directory "c:\torque\example\" This directory should have the common directory and game directories.

Hope that helps
#5
12/25/2003 (5:11 am)
Hi Dan,

Actually I
#6
12/25/2003 (6:12 am)
Not sure why it would be looking for main.cs in the vc6. That directory is where I compile my Torque using Microsoft Visual Studio.

Do you have all these directories?

\torque\example
\torque\example\Common
\torque\example\starter.fps

The following files should be in the
\torque\example directory:
=========================================
---torquedemo.exe or torquedemo_debug.exe (depending on which on you compiled)
---main.cs
---glu2d3d.dll
---OpenAL32.dll
---opengl2d3d.dll
=========================================

All you should have to do is run either the torquedemo.exe or torquedemo_debug.exe from the \torque\example directory. As you said you are already doing that.

I do get the 1 error message you got if I run "torqudemo -mod vc6" It gives me the line:
Missing file: vc6/main.cs!

Which is what you got. VC6 is not a valid mod. The torquedemo should run the FPS shooter without any options.

If none of that helps, I will have to think on this one. If the new compile doesn't work, you are most likely missing files (as previously suggested.)
#7
12/25/2003 (10:04 am)
Aerny,

Borland is not an officially supported compiler. It sounds to me like you are enough of a beginner that you should use Microsoft VC++ 6.0 and follow the compilation instructions exactly. Once you have donwloaded the C++ source code using CVS, you do not need to do it again.

Microsoft VC++ 6.0 is not a free program. You can usually find it for very little money in a student version. I would highly recommend using 6.0 and not one of the newer .net versions since we do not have step by step instructions.

Even though this is covered in the documentation, here are the steps you need to go through to make things work.

1. Get CVS and set up (we have step by step instruction for this and they are very clear).
2. Install MSVC++ 6.0, and set up the project files (again we have very clear stpe by step instruction for this process).
3. Once you have successfully compiled the engine, there will be a torquedemo_debug in your example directory that runs the FPS Starter Kit by default.

Again, this has nothing to do with the Torque Demo that you downloaded before you purchased Torque. In fact, it would be better to get rid of that or put it someplace on your hard drive so it is out of site, out of mind.

-Jeff Tunnell GG
#8
12/26/2003 (6:58 am)
Quote:I have placed the downloaded the Torque Game Engine demo, placed this in the example folder and ran it.

this is probably the problem, he has probably overwritten some files or something is not matching up because of this.

time to do a clean get from CVS.
#9
12/26/2003 (7:35 am)
Jarrods right, delete the whole C:\Torque\ folder, then, go here:
www.garagegames.com/docs/torque.sdk/gstarted/cvs.win.html

Then, go buy MSVC++ 6.0, or 7.0.

read this page next, to tell you how to install VC++ and make it recognize .cc files:
www.garagegames.com/docs/torque.sdk/gstarted/compilers.win32.vc6.html

Now, go to the C:\torque\examples\
and whaalaa! you have the executable made, without shoving in the demo. Your done! Now, read through the other various tutorials on this page.
www.garagegames.com/docs/torque.sdk/index.php

hope that helps!!!!
#10
12/27/2003 (7:26 am)
Hello all,

Thanks for your huge response. I will hunt for MSVC++ 6.0. I hope that that is not too expensive. I will keep you informed posting new questions ;)

yours sincerely,

Aerny
#11
12/27/2003 (8:17 am)
++ source code using Microsoft VC++ or GCC?

ehr... hello again. There is a question allready and I hope some of you can give me an answer...(Jeff?)

OK Microsoft Visual Studio is very, very expensive. I have not found out how much it will cost for a student (because I still am) but it is somewhere around a $2400(!!!)

So the 1st thing I thought was; oh no what ave I done. I might have bought a piece of ... software which I cannot use. But There was also GCC and that is a compiler program too and it is free. I have 3 questions:

1. Can I use it to compile the engine?
2. From off which version I can use. It varies from 2.95 'till 3.3.2 according to their ftp site.
3. [i] Does somebody know if it is just some snippets of code you get or just a plain simple (very good for a rooky like me) .exe file which I can use to compile it all.

Further I really need to say that this forum "rocks". All the responses I got from only 2 posts is very encouraging. I still really want to work with the engine. I have an idea about working out a game for children. Maybe if I won't succeed, because I haven't got the money to get MVC++, I'll will ask some of you to help me working it out...hoping there will be anyone able and willing to;)

Anyway if somebody could give me answers on my new questions?

sincerely

Aerny
#12
12/27/2003 (9:20 am)
GCC will work just fine. Using 3.0.0 or later is probably best. You will need to get and install MingW... There should be documentation for this somewhere, though I don't know where off hand. :)

For me, a student, Visual Studio 7.1 cost about $10... my school has a site license with Microsoft, of course.

GCC is a whole toolchain, so it's a collection of EXEs, support files, and so forth. MingW adds to the mix the tools you need to build things with GCC automatically, like a proper shell and make.
#13
12/27/2003 (10:28 am)
The "standard" version of Visual C++ 6.0 was about $49 US ( on sale it was about $29 US ) you will have a very hard time finding the 6.0 version. The student versions are practically free just go search at the microsoft website.
#14
12/27/2003 (10:51 am)
Now theres nothing but the .net stuff, which I have no clue what it is....
#15
12/27/2003 (12:54 pm)
Indeed,

Me neither. But I kept searching the BB and found some topics about MingW. I hope that there is some detailed info about how to use it too.

Aerny
#16
12/27/2003 (1:02 pm)
@k
#17
12/27/2003 (1:32 pm)
There is .net the platform and .net the marketing name. Visual Studio .net is Visual Studio 7, don't be frightened by it. ;)
#18
04/06/2004 (2:37 am)
OK My $100,- worth...

I've done everything; downloaded with CVS, compiled it with MVSC++ (I've got it) but nevertheless nothing changed sofar.

I am staring to get a little bit "so to say" confused!!!
When, for example, I wanted to change the skybox in this FFF world thing the engine crashes with this code:

Connection error: Invalid packet..

And when I tried to join a server (whatever that may be... I just got ADSL, pfew...) the button to press on wont activate.

Please advise, help anything!!!

Is there nobody else dealing with this trouble?

Aerny
#19
04/07/2004 (11:21 am)
That's pretty odd. Are you sure you have a full CVS checkout? Have you looked at the console.log to see if there are any errors or warnings? Have you tried running with a debugger?
#20
07/29/2005 (6:45 am)
Hello again,

One year later. I hooked off for quite some time and found myselve a little lost. When I finally, today, got my trust back I did a step by step install. I found that the download is normal now without that WinCVS Thing which was very anoying in my opinion.
OK, I did everything according to plans I found on the BB. And still... I have an entire new platform; windows XP, AMD 64 computer blablabla,

IT IS NOT WORKING!!!

Disconnect:
You do not have the correct version of the FPS Starter kit or the related art needed to play please contact server operator (invalid packet)


Incredible. OK keep sane...;)

What does this mean? What am I doing wrong???

Aerny
Page «Previous 1 2