Skip to content

Command Line Parameters (Startup Options)

Ebag333 edited this page Feb 17, 2017 · 5 revisions

These parameters are added to the command line when launching Pyfa. You can do this by creating a shortcut to the executable, or by launching the executable via command line and passing in the appropriate parameters.

Save Data in Root

Description

If you want pyfa to store its data in root folder (same folder as executable), use this option

Switches

-r or --root

Example

pyfa.exe -r

pyfa.exe --root

Use wxPython 2.8

Description

Force usage of wxPython 2.8.

Switches

-w or --wx28

Example

pyfa.exe -w

pyfa.exe --x28

Debug Mode

Description

Enables debug mode for additional logging.

Switches

-d or --debug

Example

pyfa.exe -d

pyfa.exe --debug

Pyfa Window Title

Description

Set Window Title

Switches

-t or --title

Example

pyfa.exe -t "New Title For Window"

pyfa.exe --title "Pyfa Is The Coolest Fitting Program Ever"

Set SavedData Folder

Description

Set the folder for savedata location.

Switches

-s or --savepath

Example

pyfa.exe -s "c:\PyfaData\

pyfa.exe --savepath "%ENV_VARIABLE%\PyfaData\"

Locale Codec

Description

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

Switches

-c or --codec

Example

pyfa.exe -c "UTF32"

pyfa.exe --codec "cp1251"