Is it possible to run the exemples with the pre-compile version
by Gilles Jr Lafrance · in Torque Game Engine · 10/02/2002 (5:56 am) · 18 replies
1 - Is it possible to run Racing exemple and other exemples that come with the SDK with the pre-compile version?
2 - Why the pre-compile version is 1.1.1 and not 1.1.2 ?
2 - Why the pre-compile version is 1.1.1 and not 1.1.2 ?
#2
10/02/2002 (6:17 am)
Thanks for fast reply. No, no, I just bought the licence last week and not on CD but on download. Could you please give me a hint on how to make the racing work ? I tryed copying the pre-compiled version on the /Torque/Exemples directory (but didn't compile) and tryed Torque.exe -mod racing and it only show me the fps exemples. It's probably not the way to go ? Problem is that I don't have VC++ 6 to compile :(
#3
If you copy the torque demo application into the example/ directory and run with -mod racing it should work. However, there may be some issues with 1.1.1 versus 1.1.2, so if you can I'd try compiling the demo application yourself.
10/02/2002 (6:46 am)
If you do not have VC++ then you can compile the TGE with the free MinGW C++ compiler. Check out the news item that tells you how to generate the Makefiles and where to download MinGW at.If you copy the torque demo application into the example/ directory and run with -mod racing it should work. However, there may be some issues with 1.1.1 versus 1.1.2, so if you can I'd try compiling the demo application yourself.
#4
10/02/2002 (6:53 am)
WOW ! Didn't knew about MinGW C++ ! Thanks so much ! I will finally be able to see that racing exemple :)
#5
10/02/2002 (3:18 pm)
Still stucked. I have figured how to make the make file compile, but I still don't have a torque demo.exe. So I guess I didn't undertood nothing on how to compile that baby SDK. And the pre-compile is 1.1.1 so it work, but jam at "loading object" process. Nway, I cannot get the racing mission to be seen in the game. I always see the FPS missions there. Could it be hard for GameGarage to do a 1.1.2 (NOT 1.1.1) pre-build with ALL the exemples, not just the FPS that, BTW, is really cool and work great ? I'm sure I'm not the only 3D Modeller in this situation. I'm trying to figure how to compile since 1 week or two (since I gived my credit card #) now with no luck. I'd really like to pass that time learning how to script, not how to compile, dammit ! :) I love this engine but as of now, I lost my time with it. The only thing I can do is FPS. Thats cool, but thats not my goal with this engine. Please Help ! Thanks !
#6
-mod racing
To run Realmwars(which is not a mod of the fps game), use :
-game rw
So if you want to run the racing demo from the command line(presuming you have built the debug release in mingw) :
---
To compile using mingw :
open up the command line, and add mingw32 to your path, e.g type :
then cd to your torque folder...
Then type the following (for a debug build) :
10/02/2002 (3:34 pm)
the racing game is a mod of the fps game, so therefor add the following as a game parameter :-mod racing
To run Realmwars(which is not a mod of the fps game), use :
-game rw
So if you want to run the racing demo from the command line(presuming you have built the debug release in mingw) :
Quote:
cd
torqueDemo_DEBUG.exe -mod racing
---
To compile using mingw :
open up the command line, and add mingw32 to your path, e.g type :
Quote:
path=c:\mingw32\bin;%PATH%
then cd to your torque folder...
Then type the following (for a debug build) :
Quote:then a torqueDemo_DEBUG.exe should be plonked in your example directory. However, if there are any compile errors, obviously there won't be one plonked there =)
make -f ./mk/configure.mk OS=WIN32 COMPILER=GCC2 BUILD=DEBUG
make
#7
mingw32-make.exe -f ./mk/configure.mk OS=WIN32 COMPILER=GCC2 BUILD=DEBUG
This worked and create the conf.mk
then
make or mingw32-make
tell me this :
mk/conf.mk:4: ***invalid syntax in conditional. Stop.
Any idea what this means ? I really appreciate your help guys :)
this is what I have in conf.mk
OS=WIN32
COMPILER=GCC2
BUILD=DEBUG
ifeq \"DEBUG\" \"DEBUG\"
BUILD_SUFFIX:=_DEBUG
else
BUILD_SUFFIX:=
endif
CONFIG_STATUS=VALID
DIR.OBJ=out
ifndef COMPILER_OPTIONS
DIR.OBJ:=out.GCC2.DEBUG
endif
10/02/2002 (8:04 pm)
Thanks Stuart. Almost get it. They have changed the make.exe to mingw32-make.exe somingw32-make.exe -f ./mk/configure.mk OS=WIN32 COMPILER=GCC2 BUILD=DEBUG
This worked and create the conf.mk
then
make or mingw32-make
tell me this :
mk/conf.mk:4: ***invalid syntax in conditional. Stop.
Any idea what this means ? I really appreciate your help guys :)
this is what I have in conf.mk
OS=WIN32
COMPILER=GCC2
BUILD=DEBUG
ifeq \"DEBUG\" \"DEBUG\"
BUILD_SUFFIX:=_DEBUG
else
BUILD_SUFFIX:=
endif
CONFIG_STATUS=VALID
DIR.OBJ=out
ifndef COMPILER_OPTIONS
DIR.OBJ:=out.GCC2.DEBUG
endif
#8
10/02/2002 (8:28 pm)
I originally got that error message. I ended up running make from within msys which you can download from the MinGW site I believe.
#9
10/02/2002 (9:50 pm)
hmmm, Thanks John, but ... could you please be more specific of what you've done with this ? I've installed it and it look like a dos prompt (in yellow) but that I have to relearn the DOS :) I don't get what this prog do. :(
#10
You might have to use forward slash as your directory seperator...not sure about this. The c drive might be something like /c or /C...not sure about this either (can't check because I'm in unix right now).
10/02/2002 (10:03 pm)
Once you've started the prompt just cd into the directory that contains torque (the one that is the parent of example, engine, etc). Then type the make commands mentioned in the earlier post. You might have to use forward slash as your directory seperator...not sure about this. The c drive might be something like /c or /C...not sure about this either (can't check because I'm in unix right now).
#11
hmmm ... desesperate :( Going to bed and dream of a TorqueDemo.exe (version 1.1.2). Why the h..l do they give us 1.1.1 demo app ?!?
Hey, to make the racing work, do I have to put the dir in the FPS dir or anywhere else ? Because I was letting it right where it was. Won't solve my compiling problem but maybe I could see that racing exemple :)
Nway, thanks and good night !
10/02/2002 (11:00 pm)
John, Thanks for the fast reply. I got it to compile with your prog. Took around 5-10 minutes. There was lot of WARNING, INVALID OFFSET, etc ... then it seems nothing as changed in my torque dir. The only thing I see is a DIR called out.GCC2.DEBUG in the engine directory with lot of stuff there (.d and .obj files). But still no TorqueDemo.EXE nor TorqueDemo_DEBUG.EXE .hmmm ... desesperate :( Going to bed and dream of a TorqueDemo.exe (version 1.1.2). Why the h..l do they give us 1.1.1 demo app ?!?
Hey, to make the racing work, do I have to put the dir in the FPS dir or anywhere else ? Because I was letting it right where it was. Won't solve my compiling problem but maybe I could see that racing exemple :)
Nway, thanks and good night !
#12
10/03/2002 (6:48 am)
Have you checked in the example/ directory? The TGE demo app should be there.
#13
Ok, you decide to buy that cool engine, you give your credit card and all and you're really excited. You now have access to the downloads. You learn how to use CVS. You then download the pre-compiled release (1.1.1) and the 1.1.2 version with CVS. Oupss, you don't have Microsoft Visual C++ 6 to compile and this is the only thing (to compile) that is explained in the docs.
1 - Is this possible to make the RACING exemple work at that point ? And if so, how ?
2 - Do the exemples have to be compiled to work ?
3 - I've seen a dir with NASM.EXE or something like this. Could it be something related to compile with the makefile ?
Thanks for any help, again :)
10/04/2002 (6:09 am)
Ryan, I'd really like to see it there, but I can't seems to understand how to build it, so it's not there :( The only app I can use is the pre-build demo app that we can download after we pay for the licence. But this one is version 1.1.1 . So it dont work with the 1.1.2 CVS release nor the head one. Or there is something I don't understand (this is probably a possibility).Ok, you decide to buy that cool engine, you give your credit card and all and you're really excited. You now have access to the downloads. You learn how to use CVS. You then download the pre-compiled release (1.1.1) and the 1.1.2 version with CVS. Oupss, you don't have Microsoft Visual C++ 6 to compile and this is the only thing (to compile) that is explained in the docs.
1 - Is this possible to make the RACING exemple work at that point ? And if so, how ?
2 - Do the exemples have to be compiled to work ?
3 - I've seen a dir with NASM.EXE or something like this. Could it be something related to compile with the makefile ?
Thanks for any help, again :)
#14
10/04/2002 (6:14 am)
After you configured the makefile what happened when you ran 'make'? John was the first guy to get MinGW working with Torque so he'll be of most help.
#15
When I ran make, it begun to write lot of stuff on the shell for around 5 to 10 minutes. They're was a lot of "Not supported anymore", WARNING, INVALID OFFSET, etc ...
Then it finished with ERROR 1, ERROR 2
and I have now a new dir in /engine called "out.GCC2.DEBUG" with a lot of files but no EXEs in /exemples :(
10/04/2002 (6:30 am)
Hi Ryan,When I ran make, it begun to write lot of stuff on the shell for around 5 to 10 minutes. They're was a lot of "Not supported anymore", WARNING, INVALID OFFSET, etc ...
Then it finished with ERROR 1, ERROR 2
and I have now a new dir in /engine called "out.GCC2.DEBUG" with a lot of files but no EXEs in /exemples :(
#16
So, I really have to get that compile to work
10/04/2002 (6:46 am)
Oh, just found this thread where the guy was trying to make the racing exemple work. He found de solution :Quote:"build* *debug*
Okay, after building the Demo exe, everything works fine.
I was using the prebuilt Demo application before."
So, I really have to get that compile to work
#17
10/04/2002 (6:59 am)
What sort of output did you get before the error's? i.e. what files were giving you erros, etc.
#18
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=7025
10/04/2002 (7:04 am)
Exactly what those other guys have here (Just found it):www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=7025
Torque Owner Ryan J. Parker