Jump to content

Daodan DLL: Difference between revisions

29 bytes added ,  Yesterday at 16:29
updated manual install instructions to use new Daodan DLL download that doesn't require sifting through two AE packages
m (taking advantage of new redirect)
(updated manual install instructions to use new Daodan DLL download that doesn't require sifting through two AE packages)
Line 1: Line 1:
{{Hatnote|This article is about a Windows-only patch for the game engine; for other patches, see the [[:Category:Patches|Patches category]]. For the Daodan entity within the game's story, see [[Daodan]]. Also see [[OniX]], a rebuild of the Oni application for modern Windows systems.}}
{{Hatnote|This article is about a Windows-only patch for the game engine; for other patches, see the [[:Category:Patches|Patches category]]. For the Daodan entity within the game's story, see [[Daodan]]. 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 DLL fixes the famous "[[Blam!]]" error that occurs when Oni launches on modern PCs. 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]], [[User:Admin|Alloc]] and Half-combine.
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 in order to play the game's opening and ending videos. The Daodan DLL fixes the famous "[[Blam!]]" error that occurs when Oni launches on modern PCs. 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]], [[User:Admin|Alloc]] and Half-combine.


Note: '''You already have the Daodan DLL installed if you installed the [[Anniversary Edition]].''' However there is a newer beta release which is available from [https://rossy.oni2.net/daodan-4.2-beta1.zip here]. A fork of the DLL with many new features, created by Half-combine, is downloadable [https://gamebanana.com/mods/506246 from GameBanana]. You can read about the changes in these two versions of the Daodan DLL on the change log page.
Note: '''You already have the Daodan DLL installed if you installed the [[Anniversary Edition]].''' However there is a newer beta release which is available from [https://rossy.oni2.net/daodan-4.2-beta1.zip here]. A fork of the DLL with many new features, created by Half-combine, is downloadable [https://gamebanana.com/mods/506246 from GameBanana]. You can read about the changes in these two versions of the Daodan DLL on the change log page.
Line 8: Line 8:
===Download and manual installation===
===Download and manual installation===
:'''''(For non-[[AE]] users)'''''
:'''''(For non-[[AE]] users)'''''
1. You'll have to extract the Daodan DLL files yourself from the AE package [http://mods.oni2.net/node/233 here]. The files you need are in the plain\win_only\ directory.
1. Download the collection of all three Daodan DLL forks with [http://mods.oni2.net/system/files/DaodanDLL.zip this link].  


2. Extract the Oni.exe meant to go with the Daodan DLL from the AE package [http://mods.oni2.net/node/231 here]. The file you need is in the plain\win_only\ directory.
2. Find where your copy of Oni has been installed on your hard drive; the default location is "C:\Program Files\Oni\". This folder should contain GameDataFolder and Oni.exe (just called "Oni" if you have file extensions hidden). Back up this Oni.exe by renaming it (e.g. "Oni-original.exe").


3. Find where your copy of Oni has been installed on your hard drive; usually it's "C:\Program Files\Oni\". This folder should contain GameDataFolder and Oni.exe (just called "Oni" if you have file extensions hidden). Back up this Oni.exe by renaming it (e.g. "Oni-original.exe").
3. Place the newly-downloaded Oni.exe into the Oni\ folder, and then pick which fork you want to use and copy the files from that folder into Oni\ as well: binkw32.dll, realbink.dll, and assorted files. When prompted, overwrite the existing binkw32.dll file; if this fails, you'll need to grant yourself write privileges over the existing binkw32.dll in the Oni folder using the typical method for setting file/folder permissions in your OS<!--This part is written to be OS-agnostic because Linux users are linked to these instructions from [[Playing in Linux]]-->, then try again.


4. Place the newly-downloaded Oni.exe, binkw32.dll, realbink.dll, and assorted files into the Oni\ folder. When prompted, overwrite the existing binkw32.dll file; if this fails, you'll need to grant yourself write privileges over the existing binkw32.dll in the Oni folder using the typical method for setting file/folder permissions in your OS, then try again.
4. If clicking on Oni.exe opens the game successfully, you have probably done everything correctly. If you want to confirm this, while in-game bring up the [[Data Comlink]] (F1 by default) and type "tellmetheversion"; if you get a result like "Daodan v.''x.y''", the DLL is working.
 
5. If clicking on Oni.exe opens the game, you have probably done everything correctly. If you want to confirm this, while in-game bring up the Data Comlink (F1 by default) and type "tellmetheversion"; if you get a result like "Daodan v.''x.y''", the DLL is working.


===Troubleshooting===
===Troubleshooting===