19,587
edits
(→C-Daodan: more stuff from /Beta) |
m (→Settings: +sub-sub-headings) |
||
Line 28: | Line 28: | ||
===Settings=== | ===Settings=== | ||
====Patches==== | |||
Creating a file called Daodan.[[wikipedia:INI_file|ini]] in the same directory as the Daodan DLL will allow you to enable/disable the patches inside Daodan. It can also be used to store configuration settings and language items. Each setting is stored inside a section as a name and value pair. | Creating a file called Daodan.[[wikipedia:INI_file|ini]] in the same directory as the Daodan DLL will allow you to enable/disable the patches inside Daodan. It can also be used to store configuration settings and language items. Each setting is stored inside a section as a name and value pair. | ||
Line 39: | Line 40: | ||
All patch names are found in the "All patches" section below. | All patch names are found in the "All patches" section below. | ||
====Options==== | |||
With an unpatched Oni, the only way to change settings such as windowed mode was to create a batch file (.bat) and type command line options into it. In the beta Daodan, options can be added to the Daodan.ini. To add an option, look for the options section or type | With an unpatched Oni, the only way to change settings such as windowed mode was to create a batch file (.bat) and type command line options into it. In the beta Daodan, options can be added to the Daodan.ini. To add an option, look for the options section or type | ||
[Options] | [Options] | ||
Line 51: | Line 53: | ||
A list of options can be found in the "All options" section below. | A list of options can be found in the "All options" section below. | ||
====Command-line arguments==== | |||
[[Customizing#Command-line_arguments|Command line options]] are still present in the beta Daodan although the syntax is a little different (and a bit more powerful.) The basic syntax for a command line option is this: | [[Customizing#Command-line_arguments|Command line options]] are still present in the beta Daodan although the syntax is a little different (and a bit more powerful.) The basic syntax for a command line option is this: | ||
-<ini section>.<name> <value> | -<ini section>.<name> <value> | ||
Where <ini section> is the Daodan.ini section (usually '''Patch''' or '''Options''',) <name> is the option and <value> is the value to set it to (usually '''True''' or '''False'''.) Therefore, to disable sound, start Oni with this: | Where <ini section> is the Daodan.ini section (usually '''Patch''' or '''Options''',) <name> is the option and <value> is the value to set it to (usually '''True''' or '''False'''.) Therefore, to disable sound, start Oni with this: | ||
oni -options.sound false | oni -options.sound false | ||
When <ini section> is | When <ini section> is omitted, it is assumed to be '''options'''. When <value> is omitted, it is assumed to be '''true''' unless <name> starts with '''no''' (eg. '''nosound''') in which case it is assumed to be '''false'''. So an easier way to write the above command would be: | ||
oni -nosound | oni -nosound | ||
Options or patches specified on the command line take precedence over options specified in Daodan.ini. Currently Oni's command line parser isn't powerful enough to parse language elements (no support for quoting arguments | Options or patches specified on the command line take precedence over options specified in Daodan.ini. Currently Oni's command line parser isn't powerful enough to parse language elements (no support for quoting arguments); this will be fixed in a later release. | ||
===All patches=== | ===All patches=== |