Game Development Community

Quick Question

by James Bond · in Torque Game Engine · 01/18/2005 (2:42 pm) · 2 replies

I am curious as to what the runtorque.sh file is and what its puropse is?

Thanks,
-James B.

#1
01/18/2005 (2:49 pm)
From runtorque.sh:

#  Startup script.  This is used on linux only.  Its primary purpose is to 
#  set the LD_LIBRARY_PATH environment variable so that ogg/vorbis/openal
#  can be found.
#2
01/18/2005 (3:05 pm)
It also has the secondary effect of correctly setting up $0/argv[0]/whatever-you-call-it so that when torque grabs basename(argv[0]), it ends up with something sensible.

Gary (-;