Using the Command Line
Like most utilities, Mike's Sprite Editor can be launched via the command line, and it responds to a small number of parameters. This page lists the accepted parameters, and what they tell the program to do.
- -v or --version
Prints version information and exits. - -? or --help
Prints a brief summary of the accepted parameters, and what they do. - filename
If provided a filename and nothing else, the editor will attempt to load the file as an image as it starts up. This allows you to tell your operating system to assosiate file types of your choice with the editor. - -b script filename outfile
This command tells the editor to load the image filename, run the batch script file script, and then save the result to outfile. The image format of outfile is determined by the extension you provided as part of the filename (although it defaults to PNG).
This mode also prevents the editor from launching its window, allowing it to be run completely from the command line.