gyboth Site Admin

Joined: 18 Dec 2004 Posts: 1393 Location: Passau, Germany
|
Posted: Sun Aug 14, 2005 12:32 pm Post subject: Command line switches |
|
|
i should implement some command line switches using GOption to make things more comfortable. disadvantage would be that glib 2.6 is required, i think.
gyözö _________________ Press any key to continue or any other key to quit.
-------------
gyboth@jabber.freenet.de // Skype: gyboth |
|
gyboth Site Admin

Joined: 18 Dec 2004 Posts: 1393 Location: Passau, Germany
|
Posted: Thu Sep 29, 2005 4:17 pm Post subject: |
|
|
done. Current command line arguments are:
| Code: | -s, --support-dir=DIR Specify additional support directory (takes priority over default ones)
-d, --debug-level=N Debug level to use
-L, --lang=CODE Language to use (a code like 'de')
-l, --last-save Load last savegame (same as calling [b]bygfoot last_save[/b]) |
if there are no switches, the argument is taken to be a savefile. to make things easy, you can omit the '.zip' extension and also the full path, if the file is in the default saves dir; you can also call 'bygfoot last_save' to load the last savegame.
suggestions for additional switches are welcome.
gyözö _________________ Press any key to continue or any other key to quit.
-------------
gyboth@jabber.freenet.de // Skype: gyboth |
|