Jump to content

Troubleshooting: Difference between revisions

updated image link and added detail on DPI scaling override
(updated image link and added detail on DPI scaling override)
Line 5: Line 5:
==Windows-specific==
==Windows-specific==
Most of the problems in Oni itself can be solved by installing a community patch:
Most of the problems in Oni itself can be solved by installing a community patch:
*The [[Daodan DLL]] (see that page for manual installation instructions),
* The [[Daodan DLL]] (see that page for manual installation instructions),
*the [[Anniversary Edition]] (installs and updates the Daodan DLL automatically), or you could
* the [[Anniversary Edition]] (installs and updates the Daodan DLL automatically), or you could
*use [[OniX]], the new game application for Windows.
* use [[OniX]], the new game application for Windows.


But some problems remain unfixed, so the information below may be useful.
But some problems remain unfixed, so the information below may be useful.
Line 51: Line 51:


====Rendering offset from center====
====Rendering offset from center====
When running the game at wide resolutions (e.g. 3440x1440) it may render offset from center of the screen.
When running the game at wide resolutions (e.g. 3440x1440) it may render offset from the center of the screen:
 
[[Image:Off-center render.png|400px|center]]
[[Image:Screenshot 2025-01-04 192212.png|400px|center]]
There are three known solutions:
There are three known solutions:
* Set Windows display scaling to 100%,
:A. Set Windows' display scaling to 100%.
* Set High DPI scaling override on Oni.exe to Application or try Program DPI on it,
:B. Turn on the High DPI scaling override for Oni:
* Get Daodan 4.2 Beta from [https://rossy.oni2.net/daodan-4.2-beta1.zip here],
:* Right-click on Oni.exe and choose "Properties",
** Backup binkw32.dll in your <code>\Oni\AE</code> folder,
:* go to the "Compatibility" tab,
** Place <code>\build\binkw32.dll</code> from the archive into your \Oni\AE folder.
:* click the "Change high DPI settings" button,
:* check the "Override high DPI scaling behavior" box and set the scaling to "Application", or
:* try the Program DPI section above that in the window.
:C. Install the Daodan DLL 4.2 Beta:
:* Download it from [https://rossy.oni2.net/daodan-4.2-beta1.zip here],
:* back up the existing binkw32.dll in your <code>Oni\AE\</code> folder, and
:* place <code>\build\binkw32.dll</code> from the ZIP into your <code>Oni\AE\</code> folder.


[[Category:Oni Support]]
[[Category:Oni Support]]