Troubleshooting: Difference between revisions

From OniGalore
mNo edit summary
(deleted advice on changing your GPU driver as I think it's long obsolete; added new advice on low model detail, high resolution issues)
 
(56 intermediate revisions by 6 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==
See the [[FERAL|Intel Mac build]]'s page for Mac-specific issues.


And to [http://script10000.oni2.net/patches.html Script10K's page].
==Linux==
See {{SectionLink|Playing in Linux|Troubleshooting}} for Linux-specific issues.


===Patches for Win XP===
==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.


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


===Nvidia cards...===
===Installer===
They have a special issue with OpenGL (solution submitted by LouisRouet) :
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].
*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===
===Blam!s===
====Recorded movie buffer====
Have you seen this message?
*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.


[[Image:Blam!.png|center]]


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


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


----
===Mouse/keyboard problems===
==Major lag==
See [[Mouse control issues]].
Often an ATI issue
More, later...


===Low-quality texturing/models===
Make sure the Quality slider on the Options screen is set to maximum.


----
===Low frame rate===
==Widescreens (16:10)==
;Only happens when certain particles are onscreen
Not really a problem, but it can be a bit annoying when your ONI window gets auto-stretched to fit a 16:10 screen.
There is no fix for this. Try not to have those particles onscreen =^-^=
;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].


;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===
==Game plays funny==
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.
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.
====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 [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".


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


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 :)
====Rendering offset from center====
When running the game at wide resolutions (e.g. 3440x1440) it may render offset from the center of the screen:
{| style="margin-left:auto; margin-right:auto; border-style:solid; border-width:1px; "
|[[Image:Off-center render.png|400px]]
|}
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 [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.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 [i]a fortiori[/i] 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 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?

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

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:

Off-center render.png

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.