Troubleshooting: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(→‎Mac-Specific: reworded using add'l information I recently gleaned from reading some old pages)
m (link fix)
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Mac-Specific==
{{UpdatedForOniX|1.0.0}}
'''Oni crashes on my G5 Mac.'''
==Mac-specific==
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.


In one reported case, the reason for the crash was that Oni was set to a 640x480 resolution.  Changing it to a higher resolution solved the problem. If Oni is trying to use an unsupported video setting, make sure your Display preferences do not list unsupported resolutions or refresh rates. DisplayConfigX can be used to disable the unsupported resolutions on your system. Finally, Oni can be run in windowed mode, which means that no resolution switching will occur. See [[Customizing#noswitch|-noswitch]].
==Windows-specific==
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?'''
*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.


Use the program  [http://www.lafty.com/osge.shtml Oni Save Game Editor] to change the resolution.
But some problems remain unfixed, so the information below may be useful.


'''Oni crashes on my Intel Mac.'''
===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].


This crash is identical to the one experienced by modern PCs. 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.
So far, no one has seen any difference in the graphics due to this unofficial hack.
The modified version of Oni for OS X can be [http://edt.oni2.net/files/OniOSXfix.zip downloaded here]
'''Oni plays poorly on my Mac under Leopard. The controls cut out occasionally.'''
Running a Carbon app in the background has been observed to fix this problem. The app doesn't need to do anything; you can just leave it open and then open Oni. If you don't know what a Carbon app is or if you have one, just download this one, it worked for [[User:Iritscen|one Mac user]]: [http://www.macupdate.com/info.php/id/9830 0SEx].
'''The sound has small glitches.'''
This is mostly unavoidable; however, if you try the above solution (running a Carbon app in the background), and it reduces the number or size of the glitches, please let us know; there is some evidence that a Mac with the above problem will also experience large sound glitches until the "Carbon fix" is applied.
'''The mouse control won't let me turn in a full circle.'''
The mouse tracking does in fact hit a boundary or the edge of the screen if you are playing with the original Bungie release of the Oni app in Mac OS X. Mac OS X does not support the Input Sprockets functionality that the app is trying to use. Download the OmniGroup port, linked to below, for use with OS X.
The Mac release has a few limitations compared to the PC release; check out the following for more info:
*[[Oni engine patches (Mac)]] (patches made by the community)
*[[Installation#Patches and updates]] (for OmniGroup's port of Oni to Mac OS X]]
*[[PC vs Mac|PC vs Macs]] (list of PC-only features missing from the Mac build)
==PC-Specific==
===Blam!s===
===Blam!s===
There are a lot of reasons why the PC (Win32) version of Oni can go completely crazy.
Have you seen this message?
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 several occasions on which Oni exits with such a message. However, if Oni "blam"s at startup and doesn't let you play the game, see [[Troubleshooting/Blam|this page]].
[[Image:Blam!.png|center]]


For any other problem, see below.
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|Blam page]] contains a thorough list of things that cause Oni to "blam".
===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 incompatible with modern stuff.
Try and get a really old driver, then :)


===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 :)


===Major lag===
===Low frame rate===
====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 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.


<!--===Game plays funny===
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).
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.-->
<!--commented out above because it sounds like someone was screwing with their Oni data. This isn't an appropriate place to address a unique problem like that. They can make a thread on the forum.-->

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.