Game Development Community

Missing file

by Q Kaseman · in Technical Issues · 12/06/2010 (6:21 am) · 6 replies

I recently purchased 3D Game Programming All in One: Second Edition. I use a Mac and followed the instructions (I copied all of the files from 3D2E to the desktop and then copied the Torque Demo into that file.

I then wrote the industry standard 'Hello World" file, but when I opened the Torque demo and entered the following the command line:

exec("demo/helloworld.cs");

it comes up with 'Missing file: demo/helloworld.cs'

demo is a folder in 3D2E, which is where the Torque demo is launched from. I have tried moving the helloworld.cs file out into the 3D2E folder and trying the following:

exec("helloworld.cs");

but that displayed 'Missing file: helloworld.cs'

Anyone got any suggestions?

About the author

Recent Threads

  • Adobe CS 5.5 plus T3D

  • #1
    12/06/2010 (7:17 am)
    exec("./demo/helloworld.cs");
    exec("~/demo/helloworld.cs");
    #2
    12/06/2010 (8:05 am)
    Thanks for the quick reply. The top one doesn't work, it still comes up with the same error, just './demo/helloworld.cs' as the missing file now. I can't try the second one because it closes the command window.

    Any other suggestions?
    #3
    12/06/2010 (5:17 pm)
    This thread seems to be the same as yours:
    http://www.torquepowered.com/community/forums/viewthread/65042
    Keep in mind you're running a really ancient TGE,therefore you may hit some bugs.
    #4
    12/06/2010 (10:36 pm)
    Yes, that is my problem, but none of those things work. I'm using a Mac, so there really isn't an install, I just drag the Torque demo from the CD to the desktop and it starts to work (I'm pretty sure that installs it).

    I tried reinstalling the entire package twice and it didn't help either time. Dragging the file out to the same location as the Torque demo also doesn't work (tried that one before, but tried it again to be sure).
    #5
    12/08/2010 (10:14 pm)
    Anybody have any other suggestions?
    #6
    12/09/2010 (3:58 am)
    Fellow Mac user, haven't had any troubles with TGB (different product, I know).

    I only have two suggestions:
    Download the latest version from the website rather than use the CD version.
    Keep in mind the files must be in the game folder, not the Torque folder.