Given that we can load command-line arguments
http://forums.rpgmakerweb.com/index.php?/topic/25336-rm-command-line-args/
We can specify custom behavior that should occur when you pass in option flags.
For example, suppose your game launcher launches the game with the following line
game.exe -f testerYou might have a script that takes this -f option and do something with the "tester" argument.Ideally, any option parsing library would be suitable, but does anyone have preferences?
A few common ones I've seen
TrollOp: http://trollop.rubyforge.org/
OptionParser: http://www.ruby-doc.org/stdlib-2.1.1/libdoc/optparse/rdoc/OptionParser.html
These are pure-ruby so we can load them in RM.
http://forums.rpgmakerweb.com/index.php?/topic/25336-rm-command-line-args/
We can specify custom behavior that should occur when you pass in option flags.
For example, suppose your game launcher launches the game with the following line
game.exe -f testerYou might have a script that takes this -f option and do something with the "tester" argument.Ideally, any option parsing library would be suitable, but does anyone have preferences?
A few common ones I've seen
TrollOp: http://trollop.rubyforge.org/
OptionParser: http://www.ruby-doc.org/stdlib-2.1.1/libdoc/optparse/rdoc/OptionParser.html
These are pure-ruby so we can load them in RM.