Troubleshooting: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (→‎Mac-Specific: still cleaning up some links from earlier work, slowly but surely)
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Mac-Specific==
==Mac-specific==
'''Oni crashes on my G5 Mac.'''
See the [[AE:FERAL|Mac Intel build]] 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==
===Installer===
'''How do I change the resolution when Oni crashes at startup?'''
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].


Use the program  [http://www.lafty.com/osge.shtml Oni Save Game Editor] to change the resolution.
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.


'''Oni crashes on my Intel Mac.'''
===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:
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.
 
'''Known control issue'''
 
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 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==
[[Image:Blam!.png|center]]
===Blam!s===
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 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]].
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".


For any other problem, see below.
For any other problem, see below.


----
===Mouse pointing problems===
===Other 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
====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 :)


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


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


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


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

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.