I'm trying to setup my old 7500 w/ 132MHz 604 as a Quake 2 dedicated server. I'd really like to have it start the server when the Mac boots.
I wrote an AppleScript to start the server:
tell application "Quake 2™"
run params "+set dedicated 1; +set game rogue; +exec RogueServer.cfg"
end tell
I then added an alias to the script in my Startup Items folder.
When I boot the Mac, it starts regular Quake 2, but not in dedicated server mode, and not running the Rogue expansion. But, I can quit Quake 2, and then double-click the alias, and it starts the dedicated server just fine. The only problem here is that Quake 2 is not the foreground app; I have to switch to it.
I also wrote the following script to start the Rogue expansion so I wouldn't have to hold down Option and type in the command line parameters:
tell application "Quake 2™"
run params "+set game rogue"
end tell
When I double-click this script, it starts Quake 2 with the Rogue expansion, but again, the Quake 2 app is not the foreground app. I have to switch to it via Alt-Tab.
It's a PowerMac 7500 with a 132MHz 604, MacOS 9.1, 96MB of RAM. I'm running Quake 2, v3.20 with the Ground Zero expansion pack by Rogue Entertainment. I've also got the gameppc.lib files for the expansion from Logicware.
Any ideas?
I don't mind that Quake 2 is not the foreground app after I run my AppleScripts, but I'd really like to know how to get that dedicated server to start when I boot the Mac.
Thanks,
Gron-gron