Game Development Community

Mac Questions

by Michael Hense · in Torque Game Engine · 06/13/2002 (10:17 pm) · 5 replies

Just 2 Macintosh questions...

(1)
I was able to test out the different Test mods from a DOS command prompt by entering the following from the RW root dir: realmwars -game fps

Can someone tell me the equivalent command syntax on the Macintosh (this unix thing is pretty new to me).

(2)
What substitute do I use for the right mouse button on a Mac... my iMac only has one button... Mainly to look around in the ingame editors.

Thanks Guys
--Mike

#1
06/14/2002 (8:57 pm)
In response:

(1) if there's not already a file called 'maccmdline.txt', create one using any old text editor (DON'T use the new textedit-thingy from apple, as it actually saves out RTF, not blank text). add the commandline args in order on a line followed by a return. i.e.
-game fps
(where is just a return -- it shouldn't actually need it, but it's safer...)

(2) simple solution: go to your nearest computer store, and pick up a new USB mouse with multiple buttons and a scrollwheel. <$15. OSX will natively recognize the buttons and wheel, and OS9 under directinput will at least in the game (if you get a good brand, they might have OS9 or OSX drivers specifically to add more features).

d
#2
06/15/2002 (5:05 am)
Thanks David...

I've done the commandline.txt file thing already... I just can't seem to execute it from the terminal.

... hmmm, or is it read in by the game when it is double clicked? ? ?

You mean I should give up my way coool looking translucent useless one button jobby! ! ! :)

Thanks Again for the help David

--Mike
#3
06/15/2002 (10:02 pm)
My comment about complexity with the commandline was just that -- launching a mac app from the shell isn't straightforward. Launching the ACTUAL executable from a packaged OSX app is even more trying...

In other words, don't bother. ;)

Double-click the app as normal to launch it, and it'll grab the .txt args.

d
#4
06/15/2002 (10:19 pm)
All Mac's come 3 button mice, Apply just hid two of the buttons on the keyboard :)>
#5
06/16/2002 (5:52 am)
OK David... will do, Thanks.

Jarrod, which keys will make a three button mouser outta me... wait just a sec, I do have a manual, don't I :)...

Thanks for the help guys

--Mike