-
Notifications
You must be signed in to change notification settings - Fork 424
Command Line Parameters (Startup Options)
parser.add_option("-r", "--root", action="store_true", dest="rootsavedata", help="if you want pyfa to store its data in root folder, use this option", default=False) parser.add_option("-w", "--wx28", action="store_true", dest="force28", help="Force usage of wxPython 2.8", default=False) parser.add_option("-d", "--debug", action="store_true", dest="debug", help="Set logger to debug level.", default=False) parser.add_option("-t", "--title", action="store", dest="title", help="Set Window Title", default=None) parser.add_option("-s", "--savepath", action="store", dest="savepath", help="Set the folder for savedata", default=None) parser.add_option("-c", "--codec", action="store", dest="codec", help="Forces use of a particular language codec to run", default=None)
If you want pyfa to store its data in root folder (same folder as executable), use this option
-r --root
pyfa.exe -r
pyfa.exe --root
Force usage of wxPython 2.8.
-w --wx28
pyfa.exe -w
pyfa.exe --x28
Enables debug mode for additional logging.
-d --debug
pyfa.exe -d
pyfa.exe --debug
Set Window Title
-t --title
pyfa.exe -t "New Title For Window"
pyfa.exe --title "Pyfa Is The Coolest Fitting Program Ever"
Set the folder for savedata location.
-s --savepath
pyfa.exe -s "c:\PyfaData\
pyfa.exe --savepath "%ENV_VARIABLE%\PyfaData\"
Forces use of a particular language codec to run. Used by the operating system to decode special characters in file paths. See: https://docs.python.org/2/library/codecs.html#standard-encodings
-c --codec
pyfa.exe -c "UTF32"
pyfa.exe --codec "cp1251"