Troubleshooting: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (link fix)
 
(42 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Mac==
{{UpdatedForOniX|1.0.0}}
==Mac-specific==
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.


'''Oni crashes on G5 Macs.'''
==Windows-specific==
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.


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.
But some problems remain unfixed, so the information below may be useful.
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'''
===Installer===
The installer on the CD-ROM, OniSetup.exe, may no longer run in 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].


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.
===Blam!s===
Have you seen this message?


So far, no one has seen any difference in the graphics due to this unofficial hack.
[[Image:Blam!.png|center]]
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...'' 
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…


'''Other issues'''
The [[/Blam|Blam page]] contains a thorough list of things that cause Oni to "blam".


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.  
===Mouse/keyboard problems===
See [[Mouse control issues]].


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."
===Low-quality texturing/models===
There are several things that can be go wrong, from fuzzy textures to very-low-detail character models. 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 :)


The Mac release has a few issues, check out the following :
===Low frame rate===
 
;Power management
*[[Installation#Patches and updates|OmniGroup's native port of Oni to Mac OS X]]
This can be a problem on notebooks. Under certain conditions, the performance of the computer will decrease dramatically, for example:
*[[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.
 
 
----
 
==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====
;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 acceleration.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 [https://www.nvidia.com/download/index.aspx?lang=en-us here]. ATI users, try [https://www.amd.com/en/support here] (look for the "Previous Drivers" link after finding your card).
===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===
 
To get Oni to support widescreen resolutions, install the Anniversary Edition or just the Daodan DLL.
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 :)


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 20:57, 29 April 2023

Mac-specific

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

Windows-specific

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 in 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?

Blam!.png

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

There are several things that can be go wrong, from fuzzy textures to very-low-detail character models. 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.

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 (look for the "Previous Drivers" link after finding your card).

See also "Bad texturing", above.

Widescreen

To get Oni to support widescreen resolutions, install the Anniversary Edition or just the Daodan DLL.