Windows Oni vs. Mac Oni: Difference between revisions

→‎Level logic: improved explanation; mentioned that AE distributes the Mac versions
m (/cat)
(→‎Level logic: improved explanation; mentioned that AE distributes the Mac versions)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{UpdatedForOniX|1.0.0}}
{{Hatnote|For a comparison of Win/Mac Oni with PS2 Oni, see [[Oni (PlayStation 2)]].}}
There are no major gameplay or content differences between the Windows and Mac versions. However, there <u>are</u> major differences in file format and minor differences in scripting functionality that modders should be aware of.
There are no major gameplay or content differences between the Windows and Mac versions. However, there <u>are</u> major differences in file format and minor differences in scripting functionality that modders should be aware of.
{{TOCfloat|limit=2}}
{{TOCfloat|limit=2}}
==Game data files==
==Game data files==
The most visible difference between the files in Mac and Windows Oni is the presence of .sep files in the [[GameDataFolder]] of Mac Oni and the Windows Oni demo. This and other changes were made either for general optimization or to meet some limitation on the Mac side. Due to the fact that Mac Oni [[History of Mac Oni|was finished after]] Windows retail Oni but before the Windows demo was made, some changes made for Mac Oni carried over to the Windows demo. To illustrate what sort of level data files you'll find in the GameDataFolder:
The most visible difference in vanilla retail Oni is the presence of .sep files in the [[GameDataFolder]] of Mac Oni and the Windows Oni demo. This and other changes were made either for general optimization or to meet some limitation on the Mac side. Due to the fact that Mac Oni [[History of Mac Oni|was finished after]] Windows retail Oni but before the Windows demo was made, some changes made for Mac Oni carried over to the Windows demo. (This addition of .sep files was also carried into [[OniX]].) To illustrate what sort of level data files you'll find in the GameDataFolder:


{|class="wikitable" style="margin-left:auto; margin-right:auto;"
{|class="wikitable" style="margin-left:auto; margin-right:auto;"
!Windows retail
!Windows retail
!Mac demo, Mac retail<br />and Windows demo
!Mac demo, Mac retail<br />Windows demo, OniX
|-
|-
|<center>*.dat, *.raw</center>
|<center>*.dat, *.raw</center>
Line 15: Line 17:


==Level logic==
==Level logic==
The contents of the [[IGMD|IGMD]] folders are exactly the same on Windows and the Mac, except for tctf_ii ({{C13}}); these changes were made in the logic of the boss battle and cutscenes:
The contents of the [[IGMD]] folders are exactly the same on Windows and the Mac, except for tctf_ii ({{C13}}). When the Mac version of Oni was gold-mastered, these changes had been made in the logic of the boss battle:
*[http://wiki.oni2.net/Special:ComparePages?page1=BSL%3ATutorial%2Ftctf2.bsl&rev1=&page2=BSL%3ATutorial%2Ftctf2.bsl_%28Mac%29&rev2=&action=&diffonly=&unhide= Differences in tctf2.bsl]
*[[Special:Diff/21491/21492|Differences in tctf2.bsl]] (prevents Shinatama from assuming combat stance when lasers are triggered and turrets begin firing)
*[http://wiki.oni2.net/Special:ComparePages?page1=BSL%3ATutorial%2Ftctf_ii_cutscene.bsl&rev1=&page2=BSL%3ATutorial%2Ftctf_ii_cutscene.bsl_%28Mac%29&rev2=&action=&diffonly=&unhide= Differences in tctf_ii_cutscene.bsl]
*[[Special:Diff/21493/21494|Differences in tctf_ii_cutscene.bsl]] (prevents Griffin from being throwable through the force field)
 
These updated BSL files are supplied to both Windows and Mac users of the [[Anniversary Edition]] for consistency's sake.


==Windows exclusives==
==Windows exclusives==
There are no major features only available in Windows Oni, but one significant difference in the game content is:
===Data format===
*Sounds are generally 44KHz, but are limited to 22KHz in Mac Oni.
There are no major features of the game data that are only available in Windows Oni except an extended header for [[SNDD]] (sound data) which isn't actually taken advantage of.


===BSL===
===BSL===
*Windows Oni can turn the BSL boolean '''li_center_cursor''' on/off, whereas this behavior is hardcoded to be on all the time on Macs.
*Windows Oni can turn the BSL boolean '''li_center_cursor''' on/off, whereas this behavior is hardcoded to "true" on Macs.
*The BSL boolean '''ai2_debug_localmove_lines'''.
*The BSL boolean '''ai2_debug_localmove_lines'''.


===Daodan DLL===
===Daodan DLL===
It's probably safe to say that all players these days use the [[Daodan DLL]] when they play Windows Oni. The Daodan confers these exclusives:
It's probably safe to say that all players these days use the [[Daodan DLL]] with Windows Oni. The Daodan confers these exclusives:
*Support for multibyte languages such as Chinese.
*Support for multibyte languages such as Chinese.
*The name of a newly-acquired weapon is printed at your feet when you pick it up.
*The name of a newly-acquired weapon is printed at your feet when you pick it up.
*The BSL commands for math, game characters, and output listed [[Daodan_DLL#Added_BSL_functions|HERE]].
*New BSL commands for math, game characters, and output, listed [[Daodan_DLL#Added_BSL_functions|HERE]].
*Level files not ending in "_Final" will be loaded by Oni.
*Level files not ending in "_Final" will be loaded by Oni.
===OniX===
[[OniX]] is currently Windows-only, though it will come to Macs in the future. OniX does not currently have more features than the last build of Oni for Intel Macs (see below), but it runs on modern Windows machines, which sadly Mac users cannot say about the Intel Mac build since support for 32-bit apps was dropped from macOS in 2019. OniX also supports HDPI and high refresh rate displays.


==Mac exclusives==
==Mac exclusives==
===A newer, stabler build===
===A deluxe game app===
The current build of Oni for Intel Macs (see [[AE:FERAL|HERE]] for link) is based on code that has been touched up by Bungie, The Omni Group, and Feral Interactive since Oni was gold mastered for Windows in 2000 (see [[History of Mac Oni]] for details), so they have fixed a few issues over the years, including the following that have not been reproduced by the Daodan DLL:
The last build of [[FERAL|Oni for Intel Macs]] is based on code that has been touched up by Bungie, The Omni Group, and Feral Interactive in the years since Oni was gold mastered for Windows in 2000 (see [[History of Mac Oni]] for details). Thus many issues have been fixed, including the following that have not been reproduced by the Daodan DLL or OniX:
*Lens flares shining through objects.
*Lens flares shining through objects.
*Crashes from missing textures, missing level files, and excessive particle classes.
*Crashes from missing textures, missing level files, and excessive particle classes.


See [[AE:FERAL#Bug_fixes|HERE]] for a full list of fixes which is compared to the current state of Windows Oni as patched by the Daodan DLL.
See [[FERAL#Bug_fixes|HERE]] for a full list of fixes which is compared to the current state of Windows Oni as patched by the Daodan DLL.
 
The major caveat with this Intel Mac build is that, being 32-bit, it cannot run on a version of macOS past 10.14 Mojave.


===Bigger textures===
===Bigger textures===