WineHQ
Category: Main Games Action Games Oni 1.0

Oni

Oni is an intense action thriller blending hand to hand and weapons combat with anime style characters and storyline in a 3D environment.

Application Details:

Version: 1.0
License: Retail
URL: http://www.bungie.net/Games/On...
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 1.7.33

Maintainers: About Maintainership

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

The game

What does not

The original retail version of Oni uses an old copy protection program that is not working under wine.

Oni is not supported on modern systems, the most notable bug is a buffer overflow that happens when too many OpenGL extensions are supported by the video card (basically any modern video card).

Workarounds

What was not tested

\

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Since Oni is not working on modern systems, a certain number of unofficial patches exists. You likely need one of them to run Oni. If your version of Oni is not copy-protected, you can run it without patches, if you disable as many OpenGL extensions as possibile in the wine registry, see http://wiki.winehq.org/UsefulRegistryKeys .

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentSlackware64 14.1Mar 09 20151.7.33Yes Yes GoldStefano Guidoni 
ShowUbuntu 12.04 "Precise" i386 (+ variants like Kubuntu)Mar 13 20131.5.25Yes Yes Goldan anonymous user 
ShowDebian GNU/Linux 6.x "Squeeze"Apr 22 20121.5.1Yes Yes Silveran anonymous user 
ShowMac OS X 10.5 "Leopard"May 04 20111.3.19Yes Yes Platinuman anonymous user 
ShowSlackware64 13.1Jan 03 20111.2.2Yes Yes GoldStefano Guidoni 

Known Bugs

Bug # Description Status Resolution Other apps affected
4103 Oni crash with Segfailt after playing the intro CLOSED INVALID View
7268 Oni not opening after install CLOSED FIXED View
7385 Microsoft Golf 3.0 crashes on startup CLOSED FIXED View
11151 Oni: crash at the beginning with "stack overflow" CLOSED DUPLICATE View
11913 Oni "fails to initialize OpenGL contexts" CLOSED INVALID View
12391 Oni german umlauts problem CLOSED INVALID View

Show open bugs

HowTo / Notes

WARNING

There are multiple known issues with running Oni on some systems (mostly with recent NVIDIA cards) and it is not officially supported on modern hardware. Major problems:

  • Oni tries to allocate the available OpenGL extensions in a fixed size array, that is too small for many modern implementations of OpenGL. An unofficial and unsupported patch by Ian Patterson exists and you can download it from here. There are many other patches available on the net.
  • Some releases of Oni use an old and defunct copy protection (codelok). In that case you may need for a nocd (unofficial and unsupported) patch, because very likely Oni won't work. Remember that English language patch doesn't support special characters (like accented letters or umlaut) and that the Russian one supports all characters (cyrillic, umlauts, accents).
  • If you experience sluggish controls and you are using an nvidia card, select the "Sync to VBlank" option in your nvidia control panel.

More infos can be found on oni.bungie.org  and on wiki.oni2.net especially here and here.

 

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

f1 bug
by OniFan on Tuesday February 2nd 2010, 15:32
Hello,

Oni runs fine in my Ubuntu 9.04 with lastest 1.1.37 version of wine.

However stills a bug:

When we press f1, the help menu is displayed, however if we try to close it, it simple doesn't close. Not by ESC key, not by pressing again F1, not even clicking in close button.

There's a tricky fix for this...

If we still pressing ESC key for some moments it will close (or at least disappear) after some flashings of the f1 screen.

There's any chance of fixing this?

Thank you.
RE: f1 bug
by Stefano Guidoni on Wednesday February 3rd 2010, 7:52
It works for me, are you sure that you set windows version to win2000 or winxp?
RE: f1 bug
by OniFan on Wednesday February 3rd 2010, 8:09
Yes, it occurs in both windows 2000 and XP modes. There is also other guy, that is using Wine for mac and having the same problem.
RE: f1 bug
by Ed on Wednesday February 3rd 2010, 13:48
I am using Crossover Games 8.1.4 on the Mac. I'm not sure which version of Wine it is using. The bottle was set for WinXP.

I am also having issues with the F1 bug. The menu will not exit when pressing the Close button or the F1 key. Only by holding down the ESC or RETURN or ENTER key for several seconds, then I'm able to exit the menu.

I would appreciate if you could look into this matter.
RE: f1 bug
by James Dominy on Thursday October 27th 2011, 15:39
I can confirm this bug, and the 'workaround'. wine version 1.3.27, English version of oni with the binkplay.exe and binkw32.dll and the Oni.exe patches.

I did notice that if I turn my audio settings from hardware to emulation in winecfg, firstly I lose sound in Oni, but it still plays. Secondly, the f1 bug goes away...

Maybe this has something to do with the stuttery sound using alsa and hardware..
RE: f1 bug
by James Dominy on Thursday October 27th 2011, 17:14
Correction to the above post. I can confirm the f1 bug, and it also affects me whenever I access a data terminal in game.I pres CTRL to access the terminal, I get to read any messages and see any cut-scenes or door lights changing but when I would normally be allowed to move again, the f1 dialog pops up and I must hold down ESC for a long time (20+ seconds) to get rid of the dialog. Enemies are able to act while I am dealing with the f1 dialog

Turning sound from hardware to emulation doesn't fix the bug, but does make it intermittent.
Won't Work
by JSnider on Saturday July 5th 2008, 21:03
Keeps crashing no matter what. It plays the intro. Lets you start the training. Then crashes. Alternatively if you skip the training it crashes. It just crashes on Ubuntu.


fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1600x1200x16 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1920x1080x16 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1600x1200x32 @0! (XRandR)
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1920x1080x32 @0! (XRandR)
fixme:win:EnumDisplayDevicesW ((null),0,0x32f6f4,0x00000000), stub!
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
fixme:adpcm:ADPCM_StreamSize misses the block header overhead
err:ntdll:RtlpWaitForCriticalSection section 0x7e8d34a0 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 001c, blocked by 0009, retrying (60 sec)
RE: Won't Work
by 414NXabaras on Sunday July 6th 2008, 3:26
Try launching the game inside a fixed size (1024x768) window:
wine explorer /desktop=Oni,1024x768 'C:\\path\\to\\Oni.exe'
and try also overriding the msadp32.acm library to native (you need one form a Windows installation).
RE: Won't Work
by 414NXabaras on Sunday July 6th 2008, 6:19
Looking at this message:
X11DRV_CritSection" wait timed out in thread 001c, blocked by 0009, retrying (60 sec)
maybe you need to turn off your firewall: I had a similar problem blocking network traffic on localhost.
fixing oni's sound
by FeepingCreature on Friday February 29th 2008, 9:50
You can work around the sound issues by overriding msadp32.acm with a native version (should also be in win32codecs).

However, I am experiencing very sluggish mouse controls, to the point of unusability. The problem doesn't happen in menues.

Any ideas?

--feep
RE: fixing oni's sound
by Stefano Guidoni on Thursday March 6th 2008, 19:24
Overriding msadp32.acm, Oni works perfectly. Even mouse control is perfect; I use wine 0.9.56, with only msadp32.acm native, try Oni in a fresh wine directory.
RE: sluggish mouse
by hunchback1337 on Sunday August 30th 2009, 3:57
had same problem,found solution here:
oni.bungie.org/community/forum/viewtopic.php?pid=12939#p12939

the mouse becomes unusable when the game runs too fast,turn on antialiasing,vsync or both to slow it down.
Gray screen
by Vincent on Saturday November 3rd 2007, 5:24
I am using Ubuntu 7.10 (Gutsy Gibbon) and Wine 0.9.46. I am still a newbie so I don't know how to change the Wine configuration.

Oni succesfully installs. When I launch Oni (with/without the WinXP patch) I get to see the intro movie with correct sound. But when the movie is finnished or skipped my screen turns completely gray and the main menu sound keeps looping correctly. Everything else freezes. When I restart X by doing Ctrl+Alt+Backspace X restarts but the main menu sound keeps looping.
Buggy sound
by Alex on Thursday September 20th 2007, 16:08
Hey, thanks for the tips you've provided for running Oni. Indeed the WinXP patch has fixed the freezing issue.

Anyway, are there any ways to get the sound working properly? I would like to hear punching the bad guys.

OSS driver gives mi no sound in Oni whatsover ... only ALSA works.
works with wine-0.9.31
by dan on Saturday February 24th 2007, 8:42
32-bit Ubuntu Edgy on Athlon64 X2
kernel version 2.6.17-11-generic (SMP)
NVIDIA GeForce 7950GT with proprietary driver version 1.0-9631
wine version 0.9.31

winecfg settings:
OS: win98
DirectSound driver: OSS
DirectSound Hardware Acceleration: Emulation

I had to replace Oni.exe with the patched version from here - oni.bungie.org/help/winxp.html - in order to avoid the OpenGL fixed extension buffer crash.

Sounds still get cut off at the end, and keystrokes aren't as responsive as I'd like (running, which requires quickly pressing, releasing then holding down 'w', is really hard to do).
RE: works with wine-0.9.31
by phoenix on Sunday June 17th 2007, 8:22
It works for me on Ubuntu Feisty 7.04 but after exit game it freeze on desktop and crash, I have to reset computer. Help me please!
Error running the game
by S. Black on Sunday January 22nd 2006, 20:41
Oni installs fine.

Whenever I try starting the game up, I'm able to get through the intro videos without a hitch only to have the game resize the desktop to whatever resolution it wants, and then the game dies with:

err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR)

This is strange, as I have accessible the video modes Oni should want to use, and I can change its configuration files so that on startup it looks for the same video mode as the one that is running when I start Wine, and the problem persists. Can anyone give any suggestions? I've run into this problem elsewhere before, so I'm going to cast a wider net than just posting here.
RE: Error running the game
by S. Black on Wednesday February 8th 2006, 19:38
Okay, so I realize that err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found! (XRandR) doesn't necessarily mean anything important. My mistake.

At this point, however (Wine 0.9.7), Oni still plays through the intro video properly but then locks up with:

err:seh:setup_exception stack overflow 20 bytes in thread 0009 eip 7ffbda63 esp 7fb00fec stack 0x7fb01000-0x7fc10000

The exact hex values vary, of course.

Applying a patch from boards.ign.com/board/b6086/77030856/p1/?2 (patch needing to be applied from within Wine) *does* work, however. This link is working for me as of 8 February, 2006, so good luck to you.
RE: Error running the game
by Linas Žvirblis on Thursday February 9th 2006, 14:42
Thank you for this link. I updated the warning to include the link to the patch.

The error itself is believed to be caused by new NVIDIA cards, 64 bit CPUs, or some specific combination of the two. I own neither, so I cannot test it. If you could post you hardware specs, that might be helpful. Please also look at [ bugs.winehq.org/show_bug.cgi?id=4103 ].
RE: Error running the game
by S. Black on Wednesday April 5th 2006, 16:41
I'm on a 32-bit CPU (Pentium 4 Willamette), but I have a GeForce 6600GT. My monitor is in the "standard" (not widescreen) aspect ratio.
Works nearly flawlessly!!
by Hordak on Saturday July 16th 2005, 20:40
- Using the May 2005 release of Wine
- Have my Nvidia drivers installed
- In my config file, "HardwareAcceleration" = "Emulation" is uncommented

That's it. Run Oni! I haven't played the entire game, just tested the training mission.

Hiji
Blam, Oni crashed
by Matt Pfingsten on Thursday March 17th 2005, 7:48
For the longest time I could play this game with only minor irrations in Wine and flawlessly in the CVS version of Cedega. After reloading (new hard drive) when I start it in either app I get the following error after the opening movie "Blam, Oni crashed."

Winver is set to Win2000 for this game, as I have been told that you can get it to work if you do that.
Back