Daodan DLL: Difference between revisions

13 bytes removed ,  Tuesday at 22:32
m
wording
m (explained wpfadetime a little better)
m (wording)
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, enable [[Developer Mode]], 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.
The '''Daodan DLL''' is a patch for Oni for Windows that hooks into the game engine to fix bugs, enable [[Developer Mode]], 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|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 the download link below. A fork of the DLL with many new features, created by Half-combine, is also included. You can read about the changes in these two versions of the Daodan DLL on the change log page.
'''You already have the Daodan DLL if you installed the [[Anniversary Edition]]. However there is a newer beta release which is available from the download link below. The "FPSDaodan" fork with many new features, created by Half-combine, is also included.''' You can read about the changes in these two versions of the Daodan DLL on the change log page.


:''Subpages:'' [[/Change log|Change log]]
:''Subpages:'' [[/Change log|Change log]]
Line 15: Line 15:
1. Download the collection of all three Daodan DLL forks from the above link.
1. Download the collection of all three Daodan DLL forks from the above link.


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").
2. Find where your copy of Oni has been installed on your hard drive; the default location is "C:\Program Files (x86)\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.
3. Place the newly-downloaded Oni.exe into the Oni\ folder, 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. 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.
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.
Line 75: Line 75:
|-
|-
|''nameofcheat''_on/_off
|''nameofcheat''_on/_off
|Replaces name of the built-in cheat code as it appears on the Data Comlink screen when code is entered. E.g., "behemoth_on=Gojira Desu!".
|Replaces name of the built-in cheat code as it appears on the Data Comlink screen when code is entered. E.g., "behemoth_on=Gojira!".
|}
|}