Game Development Community

TGB 1.7.3 Beta 1? CleanDSO.command

by Carpenter Software · in Torque Game Builder · 05/17/2008 (10:51 am) · 5 replies

The CleanDSO.command does not work in either TGB 1.7.3 or 1.7.2 on the macs I am using.

I used the one from TGB 1.1.3 but it has to be in the root folder for it to work.

Carpenter Software

#1
05/17/2008 (10:56 am)
"Does not work" is vague. Can you be more specific?
#2
05/17/2008 (11:05 am)
Hi Seth

I get the following error when I double click on the command:

[b] Open Command File[/b]

The .command file "(path) CleanDSO.command" could not open
most likely it is not executable.

When I move the CleanDSO.command file from the TGB 1.1.3 to the root folder of TGB 1.7.3, it works as expected.

I hope this helps
Carpenter Software
#3
05/17/2008 (11:14 am)
Well it means exactly what it says. It's not set to be executable, which you're going to run into a lot with shell commands/scripts. To run it, you need to mark it as executable.

Open Terminal and type:

chmod u+x "/path/to/CleanDSO.command"

That will add (+) executable permissions (x) to the owning user (u) of the file, which is you. Then you'll be able to double click it.
#4
05/17/2008 (11:24 am)
Really Seth - How many laypersons who have Macs should know this? I have been programming on the Mac for a long time and command scripts are something I rarely use.

The command should work for laypersons without them knowing anything about scripting....

Anyway thanks for the information. I hope GG writes up instructions on how to use CleanDSO.command.

Carpenter Software
#5
05/17/2008 (11:28 am)
It's not easy to make sure it works out of the box. Permissions are voodoo. Lots of things set em, and lots of things wreck em.