Oni engine patches (Mac Intel): Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (→‎BSL: wording)
m (using hatnote template)
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
:''For a list of changes to the Windows version of Oni, see [[Daodan DLL|here]]. For a list of changes to the PPC Mac version of Oni, see [[Oni engine patches (Mac, PPC)|here]]. For the history of the Mac build of Oni, see [[History of Mac Oni|here]].''
{{Hatnote|For the history of the Mac builds of Oni, see [[History of Mac Oni|here]]. For information on the patches to Windows Oni and other Mac versions of Oni, see the [[:Category:Patches|Patches category]].}}
{{fmbox
  | text = This is the game app for 32-bit Intel Macs. It does not run on versions of macOS after 10.14 because support for 32-bit applications was dropped in 10.15.
  }}


Starting in 2011, Feral Interactive began [http://oni.bungie.org/community/forum/viewtopic.php?pid=31710#p31710 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]].
Starting in 2011, 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-based Macs, so an Intel-native build was needed for modern Intel-based Macs. However, the builds from Feral also include a number of improvements, including some that fans first made to the Omni Group PPC build using hex editing (see [[OMNI]]), some changes that were requested by fans, and some patches that were first made to Windows Oni (see [[Daodan DLL]]).


==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 (the HQ movies 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 higher-quality intro/outro movies are in a separate optional mod package, but in the direct download below they are bundled inside Oni.app and will be moved into the [[GDF]] when Oni is first launched, hence the size of the application.
*[http://bit.ly/1ExaFYM Oni 1.2] (for Mac OS X 10.7+) -- Released Oct. 2014
 
*[http://bit.ly/1yUWhS4 Oni 1.1.1] (for Mac OS X 10.6 only) -- Released May 2014
Download and unzip the file linked to below, then follow the instructions in the read-me for getting the app to run, and then place the Oni application into your retail installation of Oni.
*[http://mods.oni2.net/node/320 Oni 1.2.1] (for Mac OS X 10.7 through macOS 10.14) -- Released Dec. 2015
 
(An archived release of [http://mods.oni2.net/node/319 Oni 1.1.1] is available for Mac OS X 10.6.)


==Known issues==
==Known issues==
*Input is sometimes momentarily dropped (a mouse click is ignored, a depressed button is let up for a moment, etc.).
*The app is unsigned, so you must follow the instructions in the read-me to get Oni to run properly.
*Input is sometimes momentarily dropped (a mouse click is ignored, or a button being held down is let up for a moment).
*Sound effects occasionally drop.
*Foreign characters found in some localizations of the game's text will not display.
*Movie-playing doesn't work below OS X 10.9.
*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==
==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.
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 28: Line 38:
|-
|-
|Command-Q now quits Oni from the Main Menu
|Command-Q now quits Oni from the Main Menu
|Mac-only shortcut
|Mac-specific key shortcut
|-
|-
|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|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 39: Line 52:
|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 scroll in Load Game dialog and to set player's movement speed (requires -scrollrun launch argument)
|Not available in Windows
|Not available in Windows
|}
|}


===BSL===
===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.
Mac Oni should now have parity with Windows Oni's [[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.


{| class="wikitable"
{| class="wikitable"
|-
|-
|"am_show_texturename", when set to 1, names the texture at which you are pointing a loaded weapon
|"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
|Not available in Windows
|-
|-
Line 59: Line 69:
|"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 66: Line 79:
|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
|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)
|"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
|Was broken for all versions of Oni; fixed for Windows by Daodan DLL
|Fixed for Windows by Daodan DLL
|}
|}


Line 79: Line 98:
{| class="wikitable"
{| class="wikitable"
|-
|-
|AI gunfire dodging fixed
|AI dodging of weapon projectiles fixed
|Fixed for Windows by Daodan DLL
|Fixed for Windows by Daodan DLL
|-
|-
|AIs no longer tend to forget about player when line of sight to player is lost
|AIs no longer tend to forget about player when line of sight to player is lost
|Not fixed in Windows
|Fixed for Windows by Daodan DLL
|-
|-
|Developer Mode console now visible in higher resolutions
|Developer Mode console now visible in higher resolutions
Line 97: Line 116:
|Not fixed in Windows
|Not fixed in Windows
|-
|-
|Particle class limit made consistent (was 1024 in one place and 2048 in another),<br />preventing mods from crashing Oni with too many particles classes
|Particle class limit made consistent (was 1024 in one place and 2048 in another),<br />preventing mods from crashing Oni with too many particle classes
|Not fixed in Windows
|Not fixed in Windows
|-
|-
Line 110: Line 129:
|-
|-
|Widescreen resolutions no longer stretch character portraits and sprite textures
|Widescreen resolutions no longer stretch character portraits and sprite textures
|Portrait stretching fixed for Windows by Daodan DLL
|Only portrait stretching fixed for Windows by Daodan DLL
|}
|}


===Launch arguments===
===Launch arguments===
There are no equivalents for any of these features in Windows Oni and the Daodan DLL.
Besides Oni's [[Customizing#Command-line_arguments|standard launch arguments]], the following arguments have been added. 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.
 
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.


{| class="wikitable"
{| class="wikitable"
Line 122: Line 139:
| -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
|Prints messages to Console that can help diagnose display/windowing issues
|-
|-
| -display[1-9]
| -display[1-9]
|Monitor to use for Oni can be chosen
|Chooses monitor on which to display Oni
|-
|-
| -fsaa2x, -fsaa4x, -fsaamax
| -fsaa2x, -fsaa4x, -fsaamax
Line 130: Line 150:
|-
|-
| -nosparkle
| -nosparkle
|Disables Sparkle auto-update framework.
|Disables Sparkle auto-update framework
|-
|-
| -novideos
| -novideos
|Disables playing of intro and outro movies.
|Disables playing of intro and outro movies
|-
|-
| -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
|Turns on vertical synchronization (tends to be automatically turned on in recent versions of OS X)
|Turns on vertical synchronization (tends to be automatically turned on in recent versions of macOS)
|-
|-
| -wintop, -winbottom, -winleft, -winright
| -wintop, -winbottom, -winleft, -winright
|Windowed mode window can be placed against sides of screen
|In windowed mode (-noswitch), places window against chosen side of screen
|-
|-
| -wsafety
| -wsafety
|Weapon safety allows you to punch or kick by clicking even while holding loaded weapon
|Binding a key to "weapon_safety" allows you to punch or kick by clicking the mouse while holding loaded weapon
|}
|}


Line 177: Line 200:


==Changes from The Omni Group build==
==Changes from The Omni Group build==
*Native Intel build, allowing Oni to run on modern Macs
The Omni Group's builds of Oni for PPC Macs from 2001 to 2003 introduced certain behaviors and bugs which were not present in Bungie's original PPC Mac build of Oni from 2001. Changes that the Feral build has made to Omni's version of the game, not Bungie's, are as follows:
*Full-screen mode should now preserve Oni's gamma setting
*Full-screen mode should now use 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
*In-game music and looping sounds such as automatic weapons fire no longer continue playing while game is paused on Main Menu.
*Saving of GDF location in global preferences has been removed to allow multiple Oni installations
<!--*Saving of GameDataFolder location in global preferences has been removed to allow multiple Oni installations on hard drive.-->
*Better windowed mode behavior
*Greatly improved windowed mode behavior.
*Expanded display resolution choices
*Expanded menu of display resolution choices.
*Developer Mode console allows upper-case letters to be typed
*Developer Mode console allows upper-case letters to be typed.


[[Category:Patches]]
[[Category:Patches]]

Latest revision as of 19:36, 2 July 2022

For the history of the Mac builds of Oni, see here. For information on the patches to Windows Oni and other Mac versions of Oni, see the Patches category.

Starting in 2011, 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-based Macs, so an Intel-native build was needed for modern Intel-based Macs. However, the builds from Feral also include a number of improvements, including some that fans first made to the Omni Group PPC build using hex editing (see OMNI), some changes that were requested by fans, and some patches that were first made to Windows Oni (see 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. When the latest Oni build is installed through the AE, the higher-quality intro/outro movies are in a separate optional mod package, but in the direct download below they are bundled inside Oni.app and will be moved into the GDF when Oni is first launched, hence the size of the application.

Download and unzip the file linked to below, then follow the instructions in the read-me for getting the app to run, and then place the Oni application into your retail installation of Oni.

  • Oni 1.2.1 (for Mac OS X 10.7 through macOS 10.14) -- Released Dec. 2015

(An archived release of Oni 1.1.1 is available for Mac OS X 10.6.)

Known issues

  • The app is unsigned, so you must follow the instructions in the read-me to get Oni to run properly.
  • Input is sometimes momentarily dropped (a mouse click is ignored, or a button being held down is let up for a moment).
  • Sound effects occasionally drop.
  • Foreign characters found in some localizations of the game's text will not display.
  • 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-specific key 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 scroll in Load Game dialog and to set player's movement speed (requires -scrollrun launch argument) Not available in Windows

BSL

Mac Oni should now have parity with Windows Oni's 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 projectiles 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 particle 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 Only portrait stretching fixed for Windows by Daodan DLL

Launch arguments

Besides Oni's standard launch arguments, the following arguments have been added. 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 Prints messages to Console that can help diagnose display/windowing issues
-display[1-9] Chooses monitor on which to display Oni
-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 macOS)
-wintop, -winbottom, -winleft, -winright In windowed mode (-noswitch), places window against chosen side 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

The Omni Group's builds of Oni for PPC Macs from 2001 to 2003 introduced certain behaviors and bugs which were not present in Bungie's original PPC Mac build of Oni from 2001. Changes that the Feral build has made to Omni's version of the game, not Bungie's, are as follows:

  • Full-screen mode should now use Oni's gamma setting.
  • In-game music and looping sounds such as automatic weapons fire no longer continue playing while game is paused on Main Menu.
  • Greatly improved windowed mode behavior.
  • Expanded menu of display resolution choices.
  • Developer Mode console allows upper-case letters to be typed.