Troubleshooting: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(25 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Mac==
==Mac-specific==
See the [[AE:FERAL|Mac Intel build]] for Mac-specific issues.


'''Oni crashes on G5 Macs.'''
==Windows-specific==
===Installer===
The installer on the CD-ROM, OniSetup.exe, no longer runs in Windows 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].


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.
Most of the problems in Oni itself can be solved by using the [[Daodan DLL]] or by updating your drivers, but see below for more details.
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.


'''Oni crashes on IntelMacs'''
===Blam!s===
There are a lot of reasons why Windows 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:


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.
[[Image:Blam!.png|center]]


So far, no one has seen any difference in the graphics due to this unofficial hack.
There are several occasions on which Oni exits with such a message. The main issue was solved with the introduction of the Daodan DLL. However, if Oni still "blam"s at startup, [[Troubleshooting/Blam|this page]] contains a thorough list of things that cause Oni to "blam".
The modified version of Oni OSX can be [http://edt.oni2.net/files/OniOSXfix.zip downloaded here]
 
''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...'' 
 
'''Other issues'''
 
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.
 
According to Feral: "Mac OS X does not support Input Sprockets, which Oni needs. Run Oni in "Classic" mode to avoid this problem. Alternatively, download the [http://www.omnigroup.com/games/oni/ OmniGroup's Oni port] and try your luck with that."
 
The Mac release has a few issues, check out the following :
 
*[[Installation#Patches and updates|OmniGroup's native port of Oni to Mac OS X]]
*[[PC vs Mac|PC vs Macs]] (e.g. PC-only features missing from the Mac build)
 
 
----
 
==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.
For any other problem, see below.


===Mouse pointing problems===
Starting with Windows 8, sometimes the OS applies its HiDPI support to Oni, which causes the mouse to go somewhat berserk. Typically the result is that Konoko can only look at the ceiling


----
Windows 8: Right-click Oni.exe, choose Properties, go under the Compatibility tab, and check the "Disable display scaling on high DPI settings" box to fix this.<br />
 
Windows 10: Right-click Oni.exe, choose Properties, go under the Compatibility tab, click on the "Change high DPI settings" button, and in the resulting dialog box check the "Override high DPI scaling behavior" box. The "Scaling performed by" setting should be "Application".
==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 :)


===Bad texturing===
There are several degrees of severity (from crappy textures to ugly textures to OMFG). That's always a driver issue. Try and get a recent driver for your GFX card (upgrade to Catalyst if you have an ATI, etc.). But sometimes, Oni is incompatible with modern stuff. Try and get a really old driver, then :)


----
===Low frame rate===
===Major lag===
;Power management
====Power management====
This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example:
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====
;Driver issue
Same as "texturing", see above.


First let's make sure that your graphic card has Direct3D and AGP acceleration enabled.
Click on Start, Run, type "dxdiag", and press OK. You will see now various information about your DirectX and your computer hardware/software. Click on display, and check the Direct3D/AGP acceleration checkbox. If it is off, try enabling it, and if it is cannot be enabled, your graphics card may have not have this option, or Windows is using your card as [[wikipedia:Peripheral_Component_Interconnect|PCI]] instead of AGP. In this case, try <u>updating or re-installing all your motherboard drivers.</u>


----
[[Image:Direct3d accelaration on-1-.jpg|thumb|200px|center|Make sure that you have acceleration enabled.]]
===Widescreen===
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].


Now, if acceleration is enabled like in the picture above, try installing or updating your graphics drivers; don't use the ones that come with Windows. If you have an Nvidia card and if it is old (like GeForce 2 or Riva), I recommend you install an older driver. My recommendation is one from the 28.x and 60.x. range; these seemed to work better with my old card.


----
Nvidia users can download old drivers [http://www.nvidia.com/drivers/beta here]. ATI users, try [http://www.oldapps.com/ati.php here].
===Game plays funny===
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!!!


That's not a sick puzzle... just screwed-up (or absent) level logic.
See also "Bad texturing", above.


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]].
===Widescreen===
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].


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 :)
===Mouse lag===
The main solution to this seems to be forcing v-sync in your graphics card settings. See [[Mouse lag|HERE]] for more details on the problem and other possible solutions.


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.

Revision as of 14:12, 5 July 2018

Mac-specific

See the Mac Intel build for Mac-specific issues.

Windows-specific

Installer

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

Most of the problems in Oni itself can be solved by using the Daodan DLL or by updating your drivers, but see below for more details.

Blam!s

There are a lot of reasons why Windows 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:

Blam!.png

There are several occasions on which Oni exits with such a message. The main issue was solved with the introduction of the Daodan DLL. However, if Oni still "blam"s at startup, this page contains a thorough list of things that cause Oni to "blam".

For any other problem, see below.

Mouse pointing problems

Starting with Windows 8, sometimes the OS applies its HiDPI support to Oni, which causes the mouse to go somewhat berserk. Typically the result is that Konoko can only look at the ceiling

Windows 8: Right-click Oni.exe, choose Properties, go under the Compatibility tab, and check the "Disable display scaling on high DPI settings" box to fix this.
Windows 10: Right-click Oni.exe, choose Properties, go under the Compatibility tab, click on the "Change high DPI settings" button, and in the resulting dialog box check the "Override high DPI scaling behavior" box. The "Scaling performed by" setting should be "Application".

Bad texturing

There are several degrees of severity (from crappy textures to ugly textures to OMFG). That's always a driver issue. Try and get a recent driver for your GFX card (upgrade to Catalyst if you have an ATI, etc.). But sometimes, Oni is incompatible with modern stuff. Try and get a really old driver, then :)

Low frame rate

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 let the computer overheat
Driver issue

First let's make sure that your graphic card has Direct3D and AGP acceleration enabled. Click on Start, Run, type "dxdiag", and press OK. You will see now various information about your DirectX and your computer hardware/software. Click on display, and check the Direct3D/AGP acceleration checkbox. If it is off, try enabling it, and if it is cannot be enabled, your graphics card may have not have this option, or Windows is using your card as PCI instead of AGP. In this case, try updating or re-installing all your motherboard drivers.

File:Direct3d accelaration on-1-.jpg
Make sure that you have acceleration enabled.

Now, if acceleration is enabled like in the picture above, try installing or updating your graphics drivers; don't use the ones that come with Windows. If you have an Nvidia card and if it is old (like GeForce 2 or Riva), I recommend you install an older driver. My recommendation is one from the 28.x and 60.x. range; these seemed to work better with my old card.

Nvidia users can download old drivers here. ATI users, try here.

See also "Bad texturing", above.

Widescreen

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 command line argument. Oni then runs in a "window" in the upper left corner of your screen, with the resolution selected in Options.
If you want that window centered with a black background behind it, use OniWindowMover.

Mouse lag

The main solution to this seems to be forcing v-sync in your graphics card settings. See HERE for more details on the problem and other possible solutions.