Daodan DLL

From OniGalore
Revision as of 04:29, 16 January 2013 by Iritscen (talk | contribs) (update and simplification since we only recommend one specific Daodan DLL now)
Jump to navigation Jump to search

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. Daodan fixes many issues, including the famous "Blam!" error that occurs on many Windows XP machines. It also adds new features such as support for extra screen resolutions (including many widescreen resolutions) and bonus cheat codes. Daodan is in constant development and there are many versions.

C-Daodan

The recommended version is the last stable version of C-Daodan. This is also the only version that supports windowed mode.

Download C-Daodan (binkw32.dll)

Features

  • Windows XP patch - Fixed Oni crashing at startup on modern computers.
  • Windowed mode - Oni runs inside a window; there is a menu option to enter fullscreen mode.
  • Custom screen resolutions - Includes many more default screen resolutions, the ability to add custom resolutions (see below) and a patch to stop the fly-in character portraits from being stretched when playing in widescreen.
  • Extra cheats - This version of Daodan adds four extra gameplay cheats, along with Developer Mode and a version readout:
    • thedayismine (or simply 'x')
Developer Access Enabled/Disabled
Runtime scripting (console) and many hotkeys
  • tellmetheversion
Daodan v#.#.# (...), built ####-##-## ##:##:## UTC
Version of the Daodan DLL being used
  • bigbadboss
Boss Shield Enabled/Disabled
Weapon damage to player is diminished
  • bulletproof
Force Field Enabled/Disabled
Permanent protection from weapons
  • kangaroo
Kangaroo Jump Enabled (reload level to disable)
Allows higher jumping and lesser falling damage
  • marypoppins
JetPack Mode On [beta] (reload GAME to disable)
Allows continuous flying and no falling damage
  • Cheats always enabled - Cheats are always enabled (they are usually only enabled after the player completes the game).
  • Extra command line options - For advanced users, for a list, type "Oni -help".
  • DirectInput is used on NT, XP and Vista - Better support for keyboard layouts.
  • Level plugins - Added modding support for the Oni community.
  • Projectile awareness patch - AIs have the ability to properly dodge projectiles.

FASM-Daodan (old)

There is also a much older release of Daodan, referred to as FASM-Daodan. This is the original version by SFeLi. Unlike the stable version of 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 and custom resolutions, however it still contains the basic patches such as the Windows XP patch and the custom cheats.

Download a ZIP containing the DLLs for each version.

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). This is currently the only version of Daodan with added language support.

Installation Instructions

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 replace your "Oni.exe" with one that is compatible with Daodan. If you are using the unstable C-Daodan or 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.

Testing

To test if you have done everything correctly, run "Oni.exe". If you are using the recommended C-Daodan, the results should be obvious: Oni will open in a window instead of full screen (if Oni opens in full screen, go to its options and change to a lower resolution to test the windowed mode). To make sure the Daodan is in effect, you can try hitting 'x' while on the pause (Diary) screen and see if Dev Mode is enabled.

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) in your Oni folder (C:\Program Files\Oni) containing a list of custom resolutions in this format (one resolution per line):

800x600
1024x600
1024x768

Save the file as "res.txt".

Uninstallation

To remove the Daodan mod, delete all the files you downloaded from this site and restore the files you backed up.