Troubleshooting: Difference between revisions

(deleted advice on changing your GPU driver as I think it's long obsolete; added new advice on low model detail, high resolution issues)
 
(50 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{UpdatedForOniX|1.0.0}}
==Mac==
==Mac==
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.


'''Oni crashes on G5 Macs.'''
==Linux==
See {{SectionLink|Playing in Linux|Troubleshooting}} for Linux-specific issues.


In one case, the reason for the crash was that Oni was set to a 640x480 resolution.  Changing it to a higher resolution solved the problem.
==Windows==
Most of the problems in Oni itself can be solved by installing a community patch:
How do I change the resolution when Oni crashes at startup? Use the program  [http://www.lafty.com/osge.shtml Oni Save Game Editor] to change the resolution.
* The [[Daodan DLL]] (see that page for manual installation instructions),
* the [[Anniversary Edition]] (installs and updates the Daodan DLL automatically), or you could
* use [[OniX]], the new game application for Windows.


'''Oni crashes on IntelMacs'''
But some problems remain unfixed, so the information below may be useful.


It appears that the crash is due to a text overflow in a fixed-sized buffer. This occurs when Oni is listing all the GL extensions of a video card before writing it in the startup.txt file. A hack was made to make make Oni think that the video card does not support the GL extensions.
===Installer===
The installer on the CD-ROM, OniSetup.exe, may no longer run as of Windows 10. You can extract the game data from the installer's data file (ONISETUP.002) using [https://www.legroom.net/software/uniextract Universal Extractor].


So far, no one has seen any difference in the graphics due to this unofficial hack.
===Blam!s===
The modified version of Oni OSX can be [http://edt.oni2.net/files/OniOSXfix.zip downloaded here]
Have you seen this message?


''There was an interesting comment on the Apple discussions board dated Sep 11, 2006 that a Universal Binary (compatible with IntelMacs) of Oni will be out soon...'' 
[[Image:Blam!.png|center]]


'''Other issues'''
There are several reasons why Oni might exit with such a message. The most common cause is solved by the Daodan DLL and OniX, but if neither of those fixes it…


In Mac OS X the character cannot fully turn or rotate around. Its like the mouse tracking has hit a boundary or the edge of the screen.  
The [[/Blam|Blam page]] contains a thorough list of things that cause Oni to "blam".


According to Feral: "Mac OS X does not support Input Sprockets, which Oni needs. Run Oni in "Classic" mode to avoid this problem. Alternativly, download the [http://www.omnigroup.com/games/oni/ OmniGroup's Oni port] and try your luck with that."
===Mouse/keyboard problems===
See [[Mouse control issues]].


The Mac release has a few issues, check out the following :
===Low-quality texturing/models===
Make sure the Quality slider on the Options screen is set to maximum.


*[[Installation#Patches and updates|OmniGroup's native port of Oni to Mac OS X]]
===Low frame rate===
*[[PC vs Mac|PC vs Macs]] (e.g. PC-only features missing from the Mac build)
;Only happens when certain particles are onscreen
There is no fix for this. Try not to have those particles onscreen =^-^=


 
;Power management issue
----
This can be a problem on laptops. Under certain conditions the performance of the computer will decrease dramatically, for example:
 
==PC==
There are a lot of reasons why the PC (Win32) version of Oni can go completely crazy.
The single most common symptom is that Oni's window will go blank, and in the middle of your screen you'll have
{|align=center
|http://geyser.oni2.net/blam/Blam.png
|}
(There are other crash messages, but I'll detail them later : if you do something and get ''another'' crash message than that one, just don't do it.)
 
There are several occasions on which Oni exits with such a message, with a more or less good reason to do so.
However, when it "blam"s at startup and doesn't let you play the game, that's a bit annoying.
Unfortunately, that's exactly what happens with an out-of-the box installation of Oni on modern PC rigs (Windows XP + recent GFX cards).
Why does that "Blam" happen? (and why does ''any'' "blam" happen?) And, more important, what do we do about it?
 
[[Troubleshooting/Blam|HERE YOU GO]]
 
For any other problem, see below.
 
 
----
 
==Other problems==
===Texturing===
There are several degrees of severity (from crappy textures to ugly textures to OMFG).
That's always a driver issue.
====Old drivers====
Try and get a recent driver for your GFX card
(upgrade to Catalyst if you have an ATI, etc)
====New drivers====
Sometimes, Oni is uncompatible with modern stuff.
Try and get a really old driver, then :)
 
 
----
===Major lag===
====Power management====
This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example :
*if you run on battery power
*if you run on battery power
*if you let the computer overheat
*if you let the computer overheat
====Driver issue====
Same as "texturing", see above.


===Widescreen and high resolution issues===
To get Oni to support widescreen/high resolutions, install the Anniversary Edition or just the Daodan DLL and the resolutions supported by your system should appear on Oni's Options screen.


----
====Things look tiny====
===Widescreen===
The Main Menu in Oni and all splashscreens are 640x480. The in-game HUD (the two circles) are also fixed in size. Since these are never stretched to fit the screen, they will look increasingly small as your resolution gets higher. However [https://gamebanana.com/mods/506246 this experimental fork] of the Daodan DLL does allow the HUD to be scaled. Splashscreens will become 1024x768 if you install the AE mod "HD Screens".
Not really a problem, but it can be a bit annoying when your ONI window gets auto-stretched to fit a 16:10 screen.
;Solution : Run ONI with the '''-noswitch''' [[Customizing#Command-line arguments |command line argument]]. Oni then runs in a "window" in the upper left corner of your screen, with the resolution selected in [[Customizing#Options menu|Options]].
:If you want that window centered with a black background behind it, use [http://www.chrilly.net/oniwindowmover.zip OniWindowMover].


If you are using the Anniversary Edition and the Installer's UI is tiny and cramped, see {{SectionLink|Anniversary Edition/Installer|GUI scaling}} for the fix.


----
====Rendering offset from center====
===Game plays funny===
When running the game at wide resolutions (e.g. 3440x1440) it may render offset from the center of the screen:
For example, you may run Oni for the first time, and then there's this room with a data console on this side and one on the other (nothing happens when you activate them), a window and a door on the other side... and an invisible wall in the middle of the room that doesn't let you through to where the door is, and that you can do ''nothing'' about. What the... LET ME OUT!!!
{| style="margin-left:auto; margin-right:auto; border-style:solid; border-width:1px; "
 
|[[Image:Off-center render.png|400px]]
That's not a sick puzzle... just screwed-up (or absent) level logic.
|}
 
There are three known solutions:
I don't know where you got your copy of Oni, but your [[Installation#Installation_folder|installation folder]] (say, "Oni") should contain another one called [[GameDataFolder]], and in this one, there should be another one called [[OSL:IGMD|IGMD]].
:A. Set Windows' display scaling to 100%.
 
:B. Turn on the High DPI scaling override for Oni:
That's where the level logic is defined, level per level. If the contents of this folder is missing or corrupt, nothing interesting will ever happen :)
:* Right-click on Oni.exe and choose "Properties",
:* go to the "Compatibility" tab,
:* 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.


So you may want to :
[[Category:Oni Support]]
*check for that folder in your installation... and give [[User:Geyser|me]] a copy. I'm just curious about what happened to it.
*download [http://geyser.oni2.net/OSL/IGMD/IGMD_PC.zip that one] (PC) or [http://geyser.oni2.net/OSL/IGMD/IGMD_Mac.zip that one] (Mac) and unzip it into [[GameDataFolder]].
It should work.

Latest revision as of 22:13, 13 March 2025

Mac

See the Intel Mac build's page for Mac-specific issues.

Linux

See Playing in Linux § Troubleshooting for Linux-specific issues.

Windows

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 Anniversary Edition (installs and updates the Daodan DLL automatically), or you could
  • use OniX, the new game application for Windows.

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

Installer

The installer on the CD-ROM, OniSetup.exe, may no longer run as of Windows 10. You can extract the game data from the installer's data file (ONISETUP.002) using Universal Extractor.

Blam!s

Have you seen this message?

There are several reasons why Oni might exit with such a message. The most common cause is solved by the Daodan DLL and OniX, but if neither of those fixes it…

The Blam page contains a thorough list of things that cause Oni to "blam".

Mouse/keyboard problems

See Mouse control issues.

Low-quality texturing/models

Make sure the Quality slider on the Options screen is set to maximum.

Low frame rate

Only happens when certain particles are onscreen

There is no fix for this. Try not to have those particles onscreen =^-^=

Power management issue

This can be a problem on laptops. Under certain conditions the performance of the computer will decrease dramatically, for example:

  • if you run on battery power
  • if you let the computer overheat

Widescreen and high resolution issues

To get Oni to support widescreen/high resolutions, install the Anniversary Edition or just the Daodan DLL and the resolutions supported by your system should appear on Oni's Options screen.

Things look tiny

The Main Menu in Oni and all splashscreens are 640x480. The in-game HUD (the two circles) are also fixed in size. Since these are never stretched to fit the screen, they will look increasingly small as your resolution gets higher. However this experimental fork of the Daodan DLL does allow the HUD to be scaled. Splashscreens will become 1024x768 if you install the AE mod "HD Screens".

If you are using the Anniversary Edition and the Installer's UI is tiny and cramped, see Anniversary Edition/Installer § GUI scaling for the fix.

Rendering offset from center

When running the game at wide resolutions (e.g. 3440x1440) it may render offset from the center of the screen:

 

There are three known solutions:

A. Set Windows' display scaling to 100%.
B. Turn on the High DPI scaling override for Oni:
  • Right-click on Oni.exe and choose "Properties",
  • go to the "Compatibility" tab,
  • 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 here,
  • back up the existing binkw32.dll in your Oni\AE\ folder, and
  • place \build\binkw32.dll from the ZIP into your Oni\AE\ folder.