Oni engine patches (Mac Intel): Difference between revisions

From OniGalore
Jump to navigation Jump to search
(→‎Bug fixes: also forgot to update this when Daodan DLL v3.9 came out)
(updating for 1.2.1; removing bug about scroll wheel since this feature is opt-in now, and less touchy anyway; correcting dodging wording)
Line 4: Line 4:


==Download==
==Download==
If you have installed the [[Anniversary Edition]], then you will already have the latest build of Oni, but here are direct download links that do not require the AE. When Oni 1.2 is installed through the AE, the HQ movies are in a separate optional mod package, but in the direct download below, they are bundled inside Oni 1.2 and will be installed by the game application when it is first launched.
If you have installed the [[Anniversary Edition]], then you will already have the latest build of Oni, but here are direct download links that do not require the AE. When the latest Oni build is installed through the AE, the HQ movies are in a separate optional mod package, but in the direct download below, they are bundled inside Oni and will be installed by the game application when it is first launched.
*[http://mods.oni2.net/node/320 Oni 1.2] (for Mac OS X 10.7+) -- Released Oct. 2014
*[http://mods.oni2.net/node/320 Oni 1.2.1] (for Mac OS X 10.7+) -- Released Dec. 2015
*[http://mods.oni2.net/node/319 Oni 1.1.1] (for Mac OS X 10.6 only) -- Released May 2014
*[http://mods.oni2.net/node/319 Oni 1.1.1] (for Mac OS X 10.6 only) -- Released May 2014


Line 11: Line 11:
*Input is sometimes momentarily dropped (a mouse click is ignored, or a button being held down is let up for a moment).
*Input is sometimes momentarily dropped (a mouse click is ignored, or a button being held down is let up for a moment).
*Movie-playing doesn't work below OS X 10.9.
*Movie-playing doesn't work below OS X 10.9.
*If Konoko intermittently starts dashing or walking instead of running, this means you moved the scroll wheel (or dragged your finger over the Magic Mouse, or dragged two fingers on your trackpad...), which as of Oni 1.2 is a run speed control for Konoko.
*After quitting Oni, sometimes the mouse cursor is frozen in the middle of the screen until you click once.
*After quitting Oni, sometimes the mouse cursor is frozen in the middle of the screen until you click once.


==Changes from Bungie build==
==Changes from Bungie build==
Below we list the changes, as of Oni 1.2, that have been made to the game application since the original release of Oni in 2001, and whether these changes have also been made in Windows.
Below we list the changes as of Oni 1.2.1 that have been made to the game application since the original release of Oni in 2001, and whether these changes have also been made in Windows.


===Behavior===
===Behavior===
Line 34: Line 33:
|Developer Mode can be activated by entering "thedayismine" or simply "x" on the Pause screen
|Developer Mode can be activated by entering "thedayismine" or simply "x" on the Pause screen
|Enabled in Windows through Daodan DLL
|Enabled in Windows through Daodan DLL
|-
|Developer Mode hotkeys Ctrl-Shift-I, -O, -R, -S, and -T now work
|Not available in Windows
|-
|-
|Options screen can be accessed from Main Menu while game is in progress
|Options screen can be accessed from Main Menu while game is in progress
Line 41: Line 43:
|Not performed in Windows
|Not performed in Windows
|-
|-
|Scroll wheel can be used to set player's movement speed, and scrolls in Load Game dialog
|Scroll wheel can be used to set player's movement speed (requires -scrollrun launch argument), and scrolls in Load Game dialog
|Not available in Windows
|Not available in Windows
|}
|}
Line 58: Line 60:
|"chr_show_weaponid", when set to 1, displays the name of the weapon you just equipped
|"chr_show_weaponid", when set to 1, displays the name of the weapon you just equipped
|Not available in Windows
|Not available in Windows
|-
|"env_highlight_gq" now works
|Always worked in Windows
|-
|-
|"global" folder in IGMD/ can now contain BSL scripts that augment the BSL scripting for the active level
|"global" folder in IGMD/ can now contain BSL scripts that augment the BSL scripting for the active level
Line 65: Line 70:
|Not available in Windows
|Not available in Windows
|-
|-
|"show_sound_all", "show_sound_rectangles", and "show_sound_spheres" now work
|"p3_show_env_collision" now works
|Always worked in Windows
|-
|"show_sound_all", "show_sound_rectangles", "show_sound_spheres", and "sound_show_occlusions" now work
|Do not work in Windows
|Do not work in Windows
|-
|-
|"show_triggervolumes", when set to 1, displays the bounding boxes of trigger volumes (or press Ctrl-Shift-X)
|"show_triggervolumes", when set to 1, displays the bounding boxes of trigger volumes (or press Ctrl-Shift-X)
|Added in Windows by Daodan DLL
|Added in Windows by Daodan DLL
|-
|"sound_show_debug", when set to 1, now also shows the spheres around objects that generate noises
|HUD works in Windows, but spheres are not drawn
|-
|-
|"wp_fadetime" now works
|"wp_fadetime" now works
Line 78: Line 89:
{| class="wikitable"
{| class="wikitable"
|-
|-
|AI gunfire dodging fixed
|AI dodging of weapon firing spreads fixed
|Fixed for Windows by Daodan DLL
|Fixed for Windows by Daodan DLL
|-
|-
Line 119: Line 130:
| -af2x, -af4x, -afmax, -tri
| -af2x, -af4x, -afmax, -tri
|Anisotropic filtering (-tri turns AF off, which is the default setting)
|Anisotropic filtering (-tri turns AF off, which is the default setting)
|-
| -debugdisplay
|Print messages to Console that can help diagnose display/windowing issues
|-
|-
| -display[1-9]
| -display[1-9]
|Monitor to use for Oni can be chosen
|Monitor on which to display Oni can be chosen
|-
|-
| -fsaa2x, -fsaa4x, -fsaamax
| -fsaa2x, -fsaa4x, -fsaamax
Line 134: Line 148:
| -parkour
| -parkour
|AI will jump over obstacles to reach player (experimental)
|AI will jump over obstacles to reach player (experimental)
|-
| -scrollrun
|Mouse scroll wheel can be used to lock movement speed to walking, running, or dashing
|-
|-
| -vsync
| -vsync

Revision as of 22:11, 31 December 2015

For the history of the Mac build of Oni, see here. For a list of changes to the PowerPC Mac build from The Omni Group, see here. For a list of changes to the Windows version, see here.

Starting in 2009, Feral Interactive began releasing new builds of the Oni application for Intel Macs. The main purpose of these builds was simply maintenance. All previous versions of the game application were built for PowerPC Macs (see first link above), so Intel Macs eventually would no longer be able to run Oni at all. However, the builds from Feral also include a number of improvements, including some fan-made patches that were made to the Omni Group PPC build using hex editing (see second link above), some changes that were requested by fans, and some patches that were first made to Windows Oni (see third link above).

Download

If you have installed the Anniversary Edition, then you will already have the latest build of Oni, but here are direct download links that do not require the AE. When the latest Oni build is installed through the AE, the HQ movies are in a separate optional mod package, but in the direct download below, they are bundled inside Oni and will be installed by the game application when it is first launched.

  • Oni 1.2.1 (for Mac OS X 10.7+) -- Released Dec. 2015
  • Oni 1.1.1 (for Mac OS X 10.6 only) -- Released May 2014

Known issues

  • Input is sometimes momentarily dropped (a mouse click is ignored, or a button being held down is let up for a moment).
  • Movie-playing doesn't work below OS X 10.9.
  • After quitting Oni, sometimes the mouse cursor is frozen in the middle of the screen until you click once.

Changes from Bungie build

Below we list the changes as of Oni 1.2.1 that have been made to the game application since the original release of Oni in 2001, and whether these changes have also been made in Windows.

Behavior

Cheats added to Oni: bigbadboss, bulletproof, kangaroo, marypoppins, shinobi
("shinobi" works differently than in Windows, and makes the game easier by
deafening the AI and reducing their vision range)
Added in Windows by Daodan DLL
Cheats can be bound to keys in key_config.txt Enabled in Windows through Daodan DLL
Cheats can be entered on the Pause screen even when Oni has not been beaten yet Enabled in Windows through Daodan DLL
Command-Q now quits Oni from the Main Menu Mac-only shortcut
Developer Mode can be activated by entering "thedayismine" or simply "x" on the Pause screen Enabled in Windows through Daodan DLL
Developer Mode hotkeys Ctrl-Shift-I, -O, -R, -S, and -T now work Not available in Windows
Options screen can be accessed from Main Menu while game is in progress Allowed in Windows through Daodan DLL
Resolution setting that is unattainable on current monitor or in windowed mode will be dynamically corrected Not performed in Windows
Scroll wheel can be used to set player's movement speed (requires -scrollrun launch argument), and scrolls in Load Game dialog Not available in Windows

BSL

Mac Oni should now have parity with Windows BSL; any command available in Windows Oni should work on Macs too. You may place a file called bsl_config.txt next to Oni, containing newline-separated scripting commands, and Oni will run them upon loading a level. Additional changes to BSL are listed below.

"am_show_texturename", when set to 1, names the texture at which you are pointing a loaded weapon Not available in Windows
"chr_location" now accepts either the AI index number or the AI's name Windows Oni only takes an index number
"chr_show_weaponid", when set to 1, displays the name of the weapon you just equipped Not available in Windows
"env_highlight_gq" now works Always worked in Windows
"global" folder in IGMD/ can now contain BSL scripts that augment the BSL scripting for the active level Always worked in Windows
"mouse_acceleration" can be set to a floating-point number between 0.1 and 1.0 to set the mouse speed Not available in Windows
"p3_show_env_collision" now works Always worked in Windows
"show_sound_all", "show_sound_rectangles", "show_sound_spheres", and "sound_show_occlusions" now work Do not work in Windows
"show_triggervolumes", when set to 1, displays the bounding boxes of trigger volumes (or press Ctrl-Shift-X) Added in Windows by Daodan DLL
"sound_show_debug", when set to 1, now also shows the spheres around objects that generate noises HUD works in Windows, but spheres are not drawn
"wp_fadetime" now works Fixed for Windows by Daodan DLL

Bug fixes

AI dodging of weapon firing spreads fixed Fixed for Windows by Daodan DLL
AIs no longer tend to forget about player when line of sight to player is lost Fixed for Windows by Daodan DLL
Developer Mode console now visible in higher resolutions Fixed for Windows by Daodan DLL
Lens flares no longer shine through objects Not fixed in Windows
Level file sets that have a .dat but are missing a .raw or .sep will no longer crash Oni Not fixed in Windows
"moonshadow" no longer causes graphical glitch in right HUD Not fixed in Windows
Particle class limit made consistent (was 1024 in one place and 2048 in another),
preventing mods from crashing Oni with too many particles classes
Not fixed in Windows
Splashscreens larger than Oni's current resolution will no longer be drawn as solid black Fixed for Windows by Daodan DLL
Textures that are referenced but missing will no longer crash Oni Not fixed in Windows
Weapon cooldown exploit fixed Fixed for Windows by Daodan DLL
Widescreen resolutions no longer stretch character portraits and sprite textures Portrait stretching fixed for Windows by Daodan DLL

Launch arguments

There are no equivalents for any of these features in Windows Oni and the Daodan DLL. A file named launch_args.txt can be placed next to Oni, containing arguments from the list below, and these will be supplied to Oni at launch time. Launch arguments can also be supplied by holding Command while launching Oni to bring up the GUI launch panel.

-af2x, -af4x, -afmax, -tri Anisotropic filtering (-tri turns AF off, which is the default setting)
-debugdisplay Print messages to Console that can help diagnose display/windowing issues
-display[1-9] Monitor on which to display Oni can be chosen
-fsaa2x, -fsaa4x, -fsaamax Full-screen anti-aliasing
-nosparkle Disables Sparkle auto-update framework
-novideos Disables playing of intro and outro movies
-parkour AI will jump over obstacles to reach player (experimental)
-scrollrun Mouse scroll wheel can be used to lock movement speed to walking, running, or dashing
-vsync Turns on vertical synchronization (tends to be automatically turned on in recent versions of OS X)
-wintop, -winbottom, -winleft, -winright Windowed mode window can be placed against sides of screen
-wsafety Binding a key to "weapon_safety" allows you to punch or kick by clicking the mouse while holding loaded weapon

Limits

Active character limit raised from 60 to 256 This now matches the limit in Windows Oni
Collision limit raised from 255 to 1024 Not raised in Windows
Level files maximum raised from 16 to 64 This now matches the limit in Windows Oni
Object sorting limit raised from 4K to 10K Not raised in Windows
Pathfinding grid cache size multiplied by 8x to avoid crashes in large third-party levels Performed in Windows by Daodan DLL
Texture type RGBA8888 added Performed in Windows by Daodan DLL
Texture maximum size increased from 256px to 1024px Daodan DLL raises the limit to 512px in Windows
Weapon diary page limit raised from 15 to 30 to allow weapon mods to add diary pages Not raised in Windows

Changes from The Omni Group build

These are the changes made since The Omni Group's last build of Oni for PPC Macs in 2003.

  • Native Intel build, allowing Oni to run on modern Macs
  • Full-screen mode should now use Oni's gamma setting
  • In-game music and repeating sounds such as automatic gunfire no longer continue playing while game is paused on Main Menu
  • Saving of GameDataFolder location in global preferences has been removed to allow multiple Oni installations on hard drive
  • Better windowed mode behavior
  • Expanded display resolution choices
  • Developer Mode console allows upper-case letters to be typed