Command Line Options

Command Line Options

Kirikiri’s command line options can be specified from a standard command line, or saved in a configuration file using Releaser ( krkrrel.exe ) or Kirikiri Configuration ( -userconf ). The order in which options are loaded is:

  1. Options embedded in the Kirikiri executable itself
  2. The .cf file located in the same directory as the Kirikiri core (filename is the same as the Kirikiri core)
  3. The .cfu file in the data storage location output by “Engine Configuration” (-userconf) (filename is the same as the Kirikiri core)
  4. Options specified on the command line

If the .cf or .cfu files do not exist, they are simply ignored. Options loaded later take higher priority.

Command line options basically consist of a ‘-‘ (hyphen) followed by the option name. This is followed by ‘=’ and the value of the option. For example, if the value of the -cdvol option is direct, you specify it as -cdvol=direct.

Except for “Startup Options,” “Debug-related Options,” and “System Compatibility Options,” most are fine-tuning options to resolve environment-dependent issues. For resolving environment-dependent issues, please also refer to About Environment-Dependent Bugs.

Note With Releaser or -userconf, you can change these options by modifying the Kirikiri executable or external configuration files, but normally it is fine to leave them at their defaults. It is not recommended to distribute executables or configuration files to the general public with these options changed from their defaults just because there is an issue in the creator’s specific environment (of course, there are options like -datapath that should be set according to the distribution or usage format).

Items in the list below marked as “Can be changed dynamically” are those that can be modified using the System.setArgument method. Other options cannot be changed dynamically.

Startup Options

The following options are available to call and use specific functions of Kirikiri.

General System Options

For all the following options, possible values are ‘yes’ (use if available), ‘no’ (do not use even if available), or ‘force’ (force use). If the option is not specified, ‘yes’ is assumed. If a CPU recognition problem occurs, setting it to ‘no’ will disable that feature. ‘force’ will force the use of that CPU feature even if it is not detected, but of course, it will not work correctly if the CPU does not have that feature. Only the -cpummx -cpucmov -cpusse -cpuemmx options affect the Kirikiri core itself. The OggVorbis decoder (wuvorbis.dll) is affected by the -cpusse, -cpummx, and -cpu3dn options. Other (third-party) plugins may also be affected by CPU feature settings.



License for this document