.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #11  
Old January 16th, 2007, 12:37 PM
Psientist's Avatar

Psientist Psientist is offline
Sergeant
 
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
Psientist is on a distinguished road
Default Re: Command Line Switches - revisited

all switches seem to be treated as another filename argument, perhaps to the "open" command.
Reply With Quote
  #12  
Old January 16th, 2007, 01:25 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #13  
Old January 17th, 2007, 07:42 PM
Psientist's Avatar

Psientist Psientist is offline
Sergeant
 
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
Psientist is on a distinguished road
Default 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

Reply With Quote
  #14  
Old January 17th, 2007, 10:21 PM
Ygorl's Avatar

Ygorl Ygorl is offline
Captain
 
Join Date: Jun 2004
Location: Rhode Island
Posts: 822
Thanks: 0
Thanked 0 Times in 0 Posts
Ygorl is on a distinguished road
Default 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.
Reply With Quote
  #15  
Old January 18th, 2007, 11:40 AM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default 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.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #16  
Old January 18th, 2007, 04:08 PM
Psientist's Avatar

Psientist Psientist is offline
Sergeant
 
Join Date: Apr 2004
Location: Tampa Bay, Florida, USA
Posts: 327
Thanks: 5
Thanked 33 Times in 11 Posts
Psientist is on a distinguished road
Default 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!
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 03:27 AM.


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