Command Line Tools
In addition to creating and opening projects using the Project Manager, these operations can also be performed very easily using command line arguments.
A full list of command line arguments can be found by running PFTrack from the terminal with the "-help" command, i.e.:
"C:\Program Files\The Pixel Farm\PFTrack\PFTrack.exe" -help
Note that the full path to the binary needs to be used and enclosed in double quotes since it includes spaces
Full details on all the command line arguments are available on the Command Line Usage page. The commands directly related to the creation and opening of projects are reproduced here for convenience:
Project:
-create_project /path/to/project/projectName
-load_project /path/to/project/projectName
-save_project
-close_project
Miscellaneous:
-exit
Creating new projects
The -create_project
command creates a new project at the named location. For example:
"C:\Program Files\The Pixel Farm\PFTrack\PFTrack.exe" -create_project C:\Projects\myProject
will create a project folder called myProject stored on disk at C:\Projects\
Loading existing projects
The -load_project
command will load an existing project from disk (Note that this command requires the name of the project directory to be given as the argument):
"C:\Program Files\The Pixel Farm\PFTrack\PFTrack.exe" -load_project C:\Projects\myProject
Saving, closing and exiting
If project parameters have been updated, the -save_project
command can be used to ensure the project is saved. The -close_project
command can also be used to close the active project and return to the Project Manager.
Finally, if the -exit
command is present at the end of the command line arguments, PFTrack will quit after executing all other commands. If the -exit
command is not present, PFTrack will continue to run in GUI mode, allowing further interaction with the project.