Windows Oni vs. Mac Oni: Difference between revisions

From OniGalore
Jump to navigation Jump to search
Line 48: Line 48:
The contents of the [[OSL:IGMD|IGMD]] folders are essentially the same on Mac and PC, but in {{C13}} (aka [[OSL:IGMD#tctf_ii|tctf_ii]]), there are minor differences in the logic of the boss battle.
The contents of the [[OSL:IGMD|IGMD]] folders are essentially the same on Mac and PC, but in {{C13}} (aka [[OSL:IGMD#tctf_ii|tctf_ii]]), there are minor differences in the logic of the boss battle.
===File formats===
===File formats===
'''Differences between MAC and PC files:'''
'''Differences between Mac and PC files:'''


'''files'''
'''files'''
Line 54: Line 54:
PC: *.dat, *.raw
PC: *.dat, *.raw


MAC and PC demo: *.dat, *.sep, *.raw
Mac and PC demo: *.dat, *.sep, *.raw


'''dat file'''
'''dat file'''


PC: first 4 bytes are: 1F 27 DC 33
PC: first 4 bytes are 1F 27 DC 33


MAC and PC demo: first 4 bytes are: 61 30 C1 23
Mac and PC demo: first 4 bytes are 61 30 C1 23


*special: MAC [[OBD:SNDD|SNDD]] files are 32 bytes long, PC and PC demo [[OBD:SNDD|SNDD]] files are 96 bytes long
(Mac beta: first bytes are 81 11 8D 23)
 
*special: Mac [[OBD:SNDD|SNDD]] files are 32 bytes long, PC and PC demo [[OBD:SNDD|SNDD]] files are 96 bytes long


'''sep file'''
'''sep file'''
Line 68: Line 70:
PC: no sep files
PC: no sep files


MAC and PC demo: contains the offset data of the [[OBD:BINA|BINA]], [[OBD:OSBD|OSBD]] and [[OBD:TXMP|TXMP]] files
Mac and PC demo: contains the offset data of the [[OBD:BINA|BINA]], [[OBD:OSBD|OSBD]] and [[OBD:TXMP|TXMP]] files


*special: sep-file link in the TXMP file
*special: sep-file link in the TXMP file
Line 76: Line 78:
PC: contains the offset data of the [[OBD:AGDB|AGDB]], [[OBD:AKVA|AKVA]], [[OBD:BINA|BINA]], [[OBD:OSBD|OSBD]], [[OBD:SNDD|SNDD]], [[OBD:SUBT|SUBT]], [[OBD:TRAM|TRAM]] and [[OBD:TXMP|TXMP]] file
PC: contains the offset data of the [[OBD:AGDB|AGDB]], [[OBD:AKVA|AKVA]], [[OBD:BINA|BINA]], [[OBD:OSBD|OSBD]], [[OBD:SNDD|SNDD]], [[OBD:SUBT|SUBT]], [[OBD:TRAM|TRAM]] and [[OBD:TXMP|TXMP]] file


MAC and PC demo: contains the offset data of the [[OBD:AKVA|AKVA]], [[OBD:SNDD|SNDD]], [[OBD:SUBT|SUBT]] and [[OBD:TRAM|TRAM]] files
Mac and PC demo: contains the offset data of the [[OBD:AKVA|AKVA]], [[OBD:SNDD|SNDD]], [[OBD:SUBT|SUBT]] and [[OBD:TRAM|TRAM]] files


*special 1: MAC and PC demo haven't [[OBD:AGDB|AGDB]] files
*special 1: Mac and PC demo haven't [[OBD:AGDB|AGDB]] files


*special 2: MAC uses AIFF sounds, PC and PC demo uses WAV sounds
*special 2: Mac uses AIFF sounds, PC and PC demo uses WAV sounds

Revision as of 20:32, 6 April 2007

PC exclusives

Developer Mode

aka the thedayismine cheat. Partially left out by Bungie when compiling the PC version. Rediscovered by SFeli.

Bindable events

Everything that has to do with cutscene authoring (recording character movements), and probably a little bit more.

OSL functions/variables

The PC build is probably older, and so it has a lot of "dev-and-debug" functionalities that were not used by the original script logic. When the Mac and PC demo releases were built, some of those features were completely left out. HERE is the full list of commands and variables that are unavailable on Mac or PC demo (by order of appearance in script_commands.txt). While some of them may be obsolete, and thus may have little effect on PC, a lot of them are definitely not defunct, and their lack on Mac is a major limitation. For instance, one should note :

  • the absence of dev-console-related commands (the Dev Mode, however, is available on Mac and PC demo : just somewhat limited)
  • the absence of chr_location and chr_location_settocamera. The placement of characters is thus limited by the original set of "teleport" flags.
  • the absence of chr_focus and sc_focus. Thus none of the following is scriptable on Mac as of today :
    • shapeshifting bots and Tag mode in Oni Team Arena
    • squad gameplay
    • intermittently "switching" to characters that are NPCs in the original logic (used in a few mods e.g. Loser's Warehouse)
  • the absence of chr_health, wp_reset, and a few other commands/variables that make scripting more flexible.
  • other stuff I'm forgetting (there's quite a lot missing, really)

For further information, here are the complete lists of commands/variables as obtained with the dump_docs function call :

As for the effect of the commands and variables, the best documentation so far is on ssg's Oni Stuff. It covers the full list of commands/variables, i.e. that of the PC version. Porting it to Oni Galore, slowly but surely...



Mac exclusives

A semi-official patch

Made by OmniGroup, Oni 1.0 v1.36 (native OS X port) fixes a few issues with sounds, mouse, rendering, AI... On the whole, the Mac build of Oni may have fewer crash issues as a result. For more information about installing this one on Mac, see here

Startup GUI

If you press Shift while starting Oni (This only applies when running in OS9 or Classic, not OSX), a little GUI will pop up and let you do the following :

  • configure controls LH and RH
  • set command-line parameters (Args:)



Other differences

Level logic

The contents of the IGMD folders are essentially the same on Mac and PC, but in CHAPTER 13 . PHOENIX RISING (aka tctf_ii), there are minor differences in the logic of the boss battle.

File formats

Differences between Mac and PC files:

files

PC: *.dat, *.raw

Mac and PC demo: *.dat, *.sep, *.raw

dat file

PC: first 4 bytes are 1F 27 DC 33

Mac and PC demo: first 4 bytes are 61 30 C1 23

(Mac beta: first bytes are 81 11 8D 23)

  • special: Mac SNDD files are 32 bytes long, PC and PC demo SNDD files are 96 bytes long

sep file

PC: no sep files

Mac and PC demo: contains the offset data of the BINA, OSBD and TXMP files

  • special: sep-file link in the TXMP file

raw file

PC: contains the offset data of the AGDB, AKVA, BINA, OSBD, SNDD, SUBT, TRAM and TXMP file

Mac and PC demo: contains the offset data of the AKVA, SNDD, SUBT and TRAM files

  • special 1: Mac and PC demo haven't AGDB files
  • special 2: Mac uses AIFF sounds, PC and PC demo uses WAV sounds