Troubleshooting: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (link fix)
 
(47 intermediate revisions by 5 users not shown)
Line 1: Line 1:
==Blam! Oni crashed==
{{UpdatedForOniX|1.0.0}}
Damn! The best I can do for now is a link to a [http://mukade.bungie.org/cgi-bin/mukade/ikonboard.cgi?s=661fdaa3257276bc287e47d0eddaa916;act=ST;f=2;t=91 very useful thread] on Oni Central Forum
==Mac-specific==
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.


And to [http://script10000.oni2.net/patches.html Script10K's page].
==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.


===Patches for Win XP===
But some problems remain unfixed, so the information below may be useful.
...


===Other patches===
===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].


===Nvidia cards...===
===Blam!s===
They have a special issue with OpenGL (solution submitted by LouisRouet) :
Have you seen this message?
*The problem tends to be that these Nvidia cards run too many OpenGL extensions for the old OpenGL games.
*You need to create a new profile in your 'application profiles' specifically for Oni<br>(go display control panel > settings > advanced > [graphics card name] tab > performance and quality settings).
*Then select the Medal of Honor active profile, where it says modify profile you can save a new copy ... as say "Oni"
*Then you will note that one of the options for this profile is that the extension limit is on - THIS is the important one (ensure that it is ON).
*Apply this profile. Then click the modify profile button again and select modify..
*Deselect all the MOH apps and then browse to find your Oni app and select it (remember that it has to be ticked) and press OK.
*Now apply this profile, and hopefully Oni now works


===Buffer overflow===
[[Image:Blam!.png|center]]
====Recorded movie buffer====
*See [[Customizing/Binding#What you should be careful about | here]] for details.
====Debug log buffers====
*Don't use the '''-debugfiles''' [[Customizing#Command-line arguments |command line argument]] : that dumps extra debug files which may cause an overflow
*You can't disable the default debug logs ('''debugger.txt''' and '''startup.txt''') : '''startup.txt''' is the one causing the standard "Blam!" at startup.
*Ian Patterson's "unofficial patch" provides decent security for all those.


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".
==No textures==
Driver issue...


===Mouse/keyboard problems===
See [[Mouse control issues]].


----
===Low-quality texturing/models===
==Major lag==
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 :)
Often an ATI issue
More, later...


===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.
==Widescreens (16:10)==
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>
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].


[[Image:Direct3d acceleration.jpg|thumb|200px|center|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.
==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.
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).


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]].
See also "Bad texturing", above.


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 :)
===Widescreen===
To get Oni to support widescreen resolutions, install the Anniversary Edition or just the Daodan DLL.


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.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. If you're on a Mac :
*try it with the "IGMD S" folder name as archivated (I assume that was the actual name of the folder on the Mac of the guy who sent it to me).
*then, if it works (or ''a fortiori'' if it doesn't), try renaming it to "IGMD". I would be surprised if Oni's loader accepted spaces as valid characters.

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.