.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   Command Line Switches - revisited (http://forum.shrapnelgames.com/showthread.php?t=32819)

Psientist January 16th, 2007 12:37 PM

Re: Command Line Switches - revisited
 
all switches seem to be treated as another filename argument, perhaps to the "open" command.

Gandalf Parker January 16th, 2007 01:25 PM

Re: Command Line Switches - revisited
 
I saw an example online of using the open and then putting the filename in single quotes so that
open Dominions3.app -h
would have been
open 'Dominions3.app -h '
or something like that. I couldnt tell what quotes were used whether it as " ' ` or whatever.

Im just curious because this is one of the subjects Im debating wiki/blog/faq or something on Dom3Minions. Some how-to on screenshots, sprites, command switches, backups, saves, restores, alarms, hosting, map making, etc etc

Psientist January 17th, 2007 07:42 PM

Re: Command Line Switches - revisited
 
Gandalf - good idea! But unfortunately, it doesn't seem to work. encapsulating the "Dominions3.app -h' (application plus switches within the quotes) doesn't make any difference, which sort of runs counter to *nix standard behavior I guess.

Quote:


/Applications/Games/Dominions 3 psientist$ open 'Dominions3.app -h'
2007-01-17 17:42:26.491 open[3418] No such file: /Applications/Games/Dominions 3/Dominions3.app -h



Ygorl January 17th, 2007 10:21 PM

Re: Command Line Switches - revisited
 
Remember, open expects its argument to be a file. If it's an executable file, I guess that's okay, but files don't usually take command-line arguments -- programs do.
You don't need open to run a program; you don't even want it to run a program, unless I'm missing something.

Gandalf Parker January 18th, 2007 11:40 AM

Re: Command Line Switches - revisited
 
Yesterdays progress file item should be of interest.
17th january
* Version 3.05

16th january
* Universal binary working.
* New spell for Man.

The "Universal Binary" Im guessing refers to this..
http://en.wikipedia.org/wiki/Universal_binary

Be sure to let us know how the new patch works out for you guys.

Psientist January 18th, 2007 04:08 PM

Re: Command Line Switches - revisited
 
Well, I'm still running a motorola PowerPC - based Mac. The universal binary won't affect me until I upgrade...but that's still good news!


All times are GMT -4. The time now is 06:13 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.