Jump to content

Daodan DLL: Difference between revisions

17 bytes removed ,  3 April 2014
improving installation instructions, moving up from bottom sections that should be higher
m (updating link since we no longer offer the non-package version of the DLL)
(improving installation instructions, moving up from bottom sections that should be higher)
Line 2: Line 2:
{{TOCfloat}}
{{TOCfloat}}
==C-Daodan==
==C-Daodan==
This is the recommended version of the Daodan DLL. This is also the only version that fixes windowed mode. Note that you '''already have this installed''' if you installed the [[AE]].
This is the recommended version of the Daodan DLL. Note that you '''already have this installed''' if you installed the [[Anniversary Edition]].


[http://mods.oni2.net/node/233 Click here for the direct download if you don't want to install the AE]
===Installation instructions (for non-[[AE]] users)===
 
1. Download the AE package that contains the Daodan DLL from [http://mods.oni2.net/node/233 here]. The files you need are in the win_only\ directory.<br />
===Installation instructions===
2. Find where your copy of Oni has been installed to. For most people, it is stored in "C:\Program Files\Oni". This folder should contain a "GameDataFolder" and "Oni" or "Oni.exe". Back up your Oni.exe by renaming it (e.g. "Oni-original.exe").<br />
1. Before installation, it is important to know where your copy of Oni has been installed to. For most people, it is stored in "C:\Program Files\Oni". This folder should contain a "GameDataFolder" and "Oni" or "Oni.exe".<br />
3. Place the newly-downloaded Oni.exe, binkw32.dll, realbink.dll, and assorted files into the Oni\ folder.<br />
2. Back up your Oni.exe by renaming it (e.g. "Oni-original.exe").<br />
4. To test if you have done everything correctly, run "Oni.exe". Enter the pause (Diary) screen (F1 by default) and type "tellmetheversion"; if you get a result like "Daodan v.''x.y''", the DLL is working.
3. Place the newly-downloaded Oni.exe, binkw32.dll, realbink.dll, and assorted files in the folder with Oni.exe.<br />
4. To test if you have done everything correctly, run "Oni.exe". Enter the pause (Diary) screen (F1 by default) and type "tellmetheversion"; if you get a result like "Daodan v.3.6", the DLL is working.


===Troubleshooting===
===Troubleshooting===
Line 34: Line 32:
*AIs have ability to properly dodge projectiles.
*AIs have ability to properly dodge projectiles.
*Stops fly-in character portraits from being stretched when playing in widescreen.
*Stops fly-in character portraits from being stretched when playing in widescreen.
===Developer Mode===
The DLL enables [[Developer Mode]]; go to the pause screen (F1) and type "thedayismine" or simply 'x' to activate it.


===Settings===
===Settings===
Line 90: Line 91:
|}
|}


====Command-line arguments====
===Custom screen resolutions===
If you wish to run in a screen resolution that is not available and you are running the recommended version of C-Daodan, create a text file (Notepad document) called "res.txt" in your Oni folder (C:\Program Files\Oni) containing a list of custom resolutions in this format (one resolution per line):
 
800x600<br />
1024x600<br />
1024x768
 
===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>
Line 347: Line 355:
* string '''sprintf''' str1:format ...
* string '''sprintf''' str1:format ...
:Does a C-style sprintf operation on a string
:Does a C-style sprintf operation on a string
===Developer Mode===
The DLL enables [[Developer Mode]]; go to the pause screen (F1) and type "thedayismine" or simply 'x' to activate it.
===Custom screen resolutions===
If you wish to run in a screen resolution that is not available and you are running the recommended version of C-Daodan, create a text file (Notepad document) called "res.txt" in your Oni folder (C:\Program Files\Oni) containing a list of custom resolutions in this format (one resolution per line):
800x600<br />
1024x600<br />
1024x768


==FASM-Daodan (old)==
==FASM-Daodan (old)==