Jump to content

Daodan DLL: Difference between revisions

902 bytes removed ,  4 February 2022
simplified page structure by removing FASM Daodan that no one uses now (I put it on the talk page though); made a couple wording/layout tweaks
m (adding link to OniX; moved subpage link down because it seemed confusing to have it underneath the hatnotes)
(simplified page structure by removing FASM Daodan that no one uses now (I put it on the talk page though); made a couple wording/layout tweaks)
Line 2: Line 2:
:''Also see [[OniX]], a rebuild of the Oni application for modern Windows systems.''
:''Also see [[OniX]], a rebuild of the Oni application for modern Windows systems.''


The '''Daodan DLL''' is a patch for Oni for Windows that hooks into the game engine to fix bugs and add features. It does this by posing as '''binkw32.dll''', the library that Oni loads so that it can play the game's opening and ending videos. The Daodan fixes issues such as the famous "[[Blam|Blam!]]" error that occurs on modern machines. It also adds new features such as support for widescreen resolutions and bonus cheat codes. The Daodan DLL was created by [[User:SFeLi|SFeLi]] and then developed further by [[User:RossyMiles|RossyMiles]], [[User:Gumby|Gumby]] and [[User:Admin|Alloc]].
The '''Daodan DLL''' is a patch for Oni for Windows that hooks into the game engine to fix bugs and add features. It does this by posing as '''binkw32.dll''', the library that Oni loads so that it can play the game's opening and ending videos. The Daodan fixes issues such as the famous "[[Blam|Blam!]]" error that occurs on modern machines. It also adds new features such as support for widescreen resolutions and bonus cheat codes. The Daodan DLL was created by [[User:SFeLi|SFeLi]] and then developed further by [[User:Admin|Alloc]], [[User:Gumby|Gumby]] and [[User:RossyMiles|RossyMiles]].
:''Subpages:'' [[/Change_log|Change log]]
:''Subpages:'' [[/Change_log|Change log]]
{{TOCfloat}}
{{TOCfloat}}
==C-Daodan==
<div style="overflow:hidden">This is the recommended version of the Daodan DLL. Note that you '''already have this installed''' if you installed the [[Anniversary Edition]].


===Installation instructions (for non-[[AE]] users)===
Note that you '''already have this installed''' if you installed the [[Anniversary Edition]].
 
===Manual 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 />
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 />
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 />
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 />
Line 24: Line 25:


You can report problems on the forum in [http://oni.bungie.org/forum/viewtopic.php?id=1686 this thread] or in a new thread in the Modifications forum.
You can report problems on the forum in [http://oni.bungie.org/forum/viewtopic.php?id=1686 this thread] or in a new thread in the Modifications forum.
</div>
 
===Feature summary===
===Feature summary===
*Windows XP patch - Fixed Oni crashing at startup on modern computers.
*Windows XP patch - Fixed Oni crashing at startup on modern computers.
Line 95: Line 96:
* windows ''(OS Interaction Options)''
* windows ''(OS Interaction Options)''


For names of all entries, and a brief help, see the "All Configuration Settings" section below for more information.
For information on all possible settings, see "All configuration settings" below.


===Command-line arguments===
===Command-line arguments===
Line 106: Line 107:
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.
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 Configuration Settings===
===All configuration settings===
Below are the names of the configuration settings you can turn on and off in Daodan.ini (names and sections are case-insensitive). Also noted is whether the DLL has this patch turned on or off by default.
Below are the names of the configuration settings you can turn on and off in Daodan.ini (names and sections are case-insensitive). Also noted is whether the DLL has this patch turned on or off by default.
{| class="wikitable"
{| class="wikitable"
Line 445: Line 446:
*'''pagedown'''
*'''pagedown'''
:This was broken in DirectInput mode in vanilla Oni.
:This was broken in DirectInput mode in vanilla Oni.
==FASM-Daodan (old)==
'''Note: Unsupported by community.''' There is also a much older release of Daodan, referred to as FASM-Daodan. This is the original version by SFeLi. Unlike the C-Daodan, FASM-Daodan requires a different DLL to be downloaded depending on which Oni.exe is used. It does not support the newer Daodan features such as windowed mode, however it still contains the basic patches such as the Windows XP fix and the custom cheats.
[http://sfeli.oni2.net/daodan/basic-0.6.6.zip Download a ZIP containing the DLLs for each version.]
[http://sfeli.oni2.net/daodan/daodan-nightly.zip Download a ZIP containing the DLLs for an experimental (unstable) FASM-Daodan] This includes the projectile awareness patch and support for any language (except Chinese and Japanese).


[[Category:Patches]]
[[Category:Patches]]