Oni engine patches (Mac Intel)

From OniGalore
Revision as of 23:29, 29 March 2015 by Iritscen (talk | contribs) (→‎Known issues: oops, I dropped "dropped")
Jump to navigation Jump to search
For a list of changes to the Windows version of Oni, see here. For a list of changes to the PPC Mac version of Oni, see here. For the history of the Mac build of Oni, see here.

Starting in 2011, Feral Interactive began releasing test builds of Oni built for Intel Macs. They included a number of changes that were either ported to the code from hex edits made by fans to the Omni Group PPC build (documented at the link above), were requested by fans, or were made to Windows Oni by the Daodan DLL.

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 (the HQ movies are bundled inside Oni 1.2 and will be installed by the game application when it is first launched):

  • Oni 1.2 (for Mac OS X 10.7+) -- Released Oct. 2014
  • 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, a depressed button is let up for a moment, etc.).
  • Movie-playing doesn't work below OS X 10.9.

Changes from Bungie build

Below we list the changes, as of Oni 1.2, that have been made to Oni since the original Mac application was released 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
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, 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. 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
bsl_config.txt can be created next to Oni with newline-separated commands for Oni to run on level load 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
"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
"show_sound_all", "show_sound_rectangles", and "show_sound_spheres" now work Always worked in Windows
"show_triggervolumes", when set to 1, (or Ctrl-Shift-X) displays the bounding boxes of trigger volumes Added in Windows by Daodan DLL
"wp_fadetime" now works Was broken for all versions of Oni; fixed for Windows by Daodan DLL

Bug fixes

AI gunfire dodging fixed Fixed for Windows by Daodan DLL
AIs no longer tend to forget about player when line of sight to player is lost Not fixed in Windows
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.

The file launch_args.txt can be placed next to Oni containing arguments to pass to Oni at launch. 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)
-display[1-9] Monitor to use for 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)
-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 Weapon safety allows you to punch or kick by clicking even 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

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