Game Development Community

Torsion.

by Alex Ethier · in Torque Game Engine · 03/02/2006 (3:03 pm) · 1 replies

Anybody else have that problem:

In torsion I create a new project with a debug config

if I start debuging my main.cs it actually read a different main.cs that the one I am specifying
in the Arguments from the config window.

ok maybe I miss typed, to double check I copy and paste the Executable name and the arguments
from my config window to a command prompt that is already cd in the proper directory.

when I paste in the shell I get the expected result, it use my main.cs under -game testa

but in torsion it does not start -game testa it start -game ./main.cs

not sure how to fix that..

Alex

#1
03/02/2006 (5:56 pm)
Hi Alex.

The root ./main.cs (the one in the same folder as your EXE) is always called... no matter what -game or -mod are set to. If you read thru ./main.cs you can see it is the one that reads the command line and decides which mods to load and execute. ./main.cs is the file that gets everything started.

Once executed it will load your mod, testa, and execute testa/main.cs.

Let me know if i've misinterpreted your problem.