Terminal Args in Mac OS X

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Code Monkey
Regular
Posts: 88
Joined: Tue Apr 03, 2012 9:17 am
Projects: Dandelion
Organization: Cheritz
Location: Seoul, South Korea
Contact:

Terminal Args in Mac OS X

#1 Post by Code Monkey »

Does anyone know how to pass arguments to the games in Macs?

With an already built game I tried many variations to pass arguments to it but none seem to work T_T.

Code: Select all

open -a game_app --args --arg first_arg --arg second_arg
open -a game_app --args "--arg first_arg" "--arg second_arg"
open -a game_app --args "--arg first_arg --arg second_arg"
open -a game_app --args --arg=first_arg
The same game works in windows passing args but I must be doing something wrong here. Any suggestions is appreciated.

Post Reply

Who is online

Users browsing this forum: Google [Bot]