6
edits
(→Settings: Rewrote for v3.7, and removed irrelevant sections. Language will be re-added in a separate section) |
|||
Line 38: | Line 38: | ||
The DLL enables [[Developer Mode]]; go to the pause screen (F1) and type "thedayismine" or simply 'x' to activate it. | The DLL enables [[Developer Mode]]; go to the pause screen (F1) and type "thedayismine" or simply 'x' to activate it. | ||
=== | ===Configuration=== | ||
Creating a file called Daodan.[[wikipedia:INI_file|ini]] in the same directory as the Daodan DLL will allow you to configure which patches are enabled, as well as to store configuration settings and language items. | |||
Creating a file called Daodan.[[wikipedia:INI_file|ini]] in the same directory as the Daodan DLL will allow you to | |||
On modern versions of Windows (starting with Windows Vista), Oni does not properly request write access to the directory containing Oni.exe (i.e. C:\Program Files (x86)\Oni in typical installs). Windows detects this, and creates a dedicated directory for Oni.exe (and thus Daodan.DLL) to write its files to, located in C:\Users\<Your Username>\AppData\Local\VirtualStore. The directory for Oni will reflect its relative path on disk, so in a typical install, it will be at VirtualStore\Program Files (x86)\Oni. This is where all files output by the program (startup.txt, persist.dat, key_config.txt, etc.) will be located when Oni is not run as an administrator. '''This is the location where Daodan.ini must be placed if Oni is to be run as a non-administrator.''' | |||
Inside of the Daodan.ini file, each configuration setting is stored inside a section as a name and value pair. To temporarily disable a setting in the INI, add a '#' to the beginning of the line and the Daodan will ignore it. | |||
[ | As of Daodan v3.7, configuration entries in Daodan.ini are stored in several different sections. To change an entry, add it to the relevant section. If the section does not yet exist, add it to the end of the file and add relevant entries under it. If any entry is omitted, it is set to its default value. Entries are case-insensitive, and spacing does not matter. | ||
Here is an example Daodan.ini file. This example sets the devmode section items to their defaults and disables the cooldown timer patch: | |||
[Devmode] | |||
highres_console = True | |||
showtriggervolumes = True | |||
[gameplay] | |||
CooldownTimer = False | CooldownTimer = False | ||
Daodan.ini may contain the following sections (names are case-insensitive): | |||
* devmode ''(Developer Mode Configuration)'' | |||
* gameplay ''(Gameplay Configuration)'' | |||
* graphics ''(Graphics Configuration)'' | |||
* language ''(Language Configuration)'' | |||
* modding ''(Modding Configuration)'' | |||
* oni ''(Original Oni Options Configuration)'' | |||
* windows ''(OS Interaction Options)'' | |||
For names of all entries, and a brief help, see the "All Configuration Settings" section below for more information. | |||
===Command-line arguments=== | ===Command-line arguments=== |
edits