Daodan DLL: Difference between revisions

re-working of layout and instructions
m (wording)
(re-working of layout and instructions)
Line 1: Line 1:
The Daodan DLL is a modification for Oni that hooks into the game engine and applies bug fixes and patches. It also replaces parts of the engine with its own code. The Daodan fixes many issues, including the famous "[[Blam|Blam!]]" error that occurs on modern Windows machines. It also adds new features such as support for extra screen resolutions (including many widescreen resolutions) and bonus cheat codes.
The Daodan DLL is a modification for Oni that hooks into the game engine and applies bug fixes and patches. It also replaces parts of the engine with its own code. The Daodan fixes many issues, including the famous "[[Blam|Blam!]]" error that occurs on modern Windows machines. It also adds new features such as support for extra screen resolutions (including many widescreen resolutions) and bonus cheat codes.
{{TOCfloat}}
==C-Daodan==
This is the recommended version of the Daodan DLL. This is also the only version that supports windowed mode.


==Installation Instructions==
[http://mods.oni2.net/node/233 Download C-Daodan (binkw32.dll) and corresponding Oni.exe]
#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" (My Computer -> Local Disk (C:) -> Program Files -> Oni). This folder should contain a "GameDataFolder" and "Oni" or "Oni.exe".
#It is important that you use an "Oni.exe" that is compatible with Daodan. If you are using the FASM-Daodan, Oni will not start unless you have the correct EXE. If you are using the recommended version of C-Daodan, Oni will start, but most of the features of Daodan will not be present.
#Back up your Oni.exe and binkw32.dll files by renaming them (e.g. "Oni-original.exe").
#Place the newly-downloaded Oni.exe, binkw32.dll (and realbink.dll, if provided) in the folder with Oni.exe.


==Testing==
===Installation instructions===
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.0", the DLL is working.
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".


==C-Daodan==
2. Back up your Oni.exe by renaming it (e.g. "Oni-original.exe").
This is the recommended version of the Daodan DLL. This is also the only version that supports windowed mode.
 
3. Place the newly-downloaded Oni.exe, binkw32.dll, realbink.dll, and assorted files in the folder with Oni.exe.


[http://mods.oni2.net/node/233 Download C-Daodan (binkw32.dll)] <big>—></big> [http://mods.oni2.net/node/231 Use with this version of the game app] (you probably already have it)
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.0", the DLL is working.


If the game does not display correctly (for instance, a black window), open the daodan.ini in Notepad and set either "daodangl" or "windowhack" to true. Also try [http://www.google.com/search?q=windows+run+as+administrator launching Oni as Administrator], and using both the run_full and run_wind scripts to launch Oni. You can report problems on the forum in [http://oni.bungie.org/community/forum/viewtopic.php?id=1686 this thread] or in a new thread in the Modifications forum.
<br clear="all" />
===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.