Inside Mac Games Forum: Need help creating game-mod launcher scripts - Inside Mac Games Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Need help creating game-mod launcher scripts

#1 User is offline   thedoctor45 Icon

  • Fan
  • Pip
  • Group: Members
  • Posts: 38
  • Joined: 15-December 03

Posted 26 October 2008 - 04:46 PM

hey guys - I wanted to create some fancy mod launcher scripts for Quake 3 engine based games. (Q3/Elite Force/Wolfenstein/Jedi Knight etc...)
I am new to this so it would be nice if anyone could give me a hand.

I was able to compile an AppleScript launcher application with ScriptEditor based the "do shell script" command.
it looks like this:

do shell script "/Volumes/USB\\ 2\\ HD/Game\\ Collection/Elite\\ Force/Elite\\ Force\\ HM\\ 1.3.7.app/Contents/MacOS/iostvoyHM-1.37.ub +set fs_game RPG-X &"


it works with Cocoa based apps, but not with carbon programs.

I found a hint here:
http://www.macosxhin...030711041351836

do shell script "/System/Library/Frameworks/Carbon.framework/Versions/Current/Support/LaunchCFMApp /Path/To/Application &"


that launches the carbon application, BUT I cannot include command line parmeters for the application I want to execute, because the path to the app already is a parameter of LaunchCFMApp.

is there another (simpler) way of adding command line parameteres to carbon apps?

I found an UT OSX Infiltration launcher script but I wasn't able to adapt it to work with Quake 3 games.

it looks like this:

on run
	tell application "Unreal Tournament OS X"
		run params "Entry.unr INI=InfiltrationX.ini USERINI=InfiltrationUser.ini LOG=InfiltrationX.log"
		-- syntax check will always fail on the above line. Ignore any errors, unless you are having trouble.
		activate
	end tell
end run


if I cange the game name and want to execute the script, Scripteditor asks for the path to the app and then gives me a syntax error (end of line expected but (") was found (right after run params)

I am quite a noob when it comes to scripting and/or coding - does anyone have a clue how I can solve this problem best?

thanks a lot
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Macgamestore.com - Shutter Island