Oni (PlayStation 2): Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (we're not calling it the BBB anymore)
m (corrected file names for relic intro and outro)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Midway through Oni's development, in 1999, Take-Two Interactive purchased a stake in Bungie and became the publisher for the upcoming game. In addition to their investment, T2 stipulated that a PlayStation 2 port would be made, to be released alongside Oni for Windows and Macintosh. That port was created by Rockstar Toronto (known at the time as Rockstar Canada), and because the game had been designed for a PC with a hard drive, changes had to be made in order to load the game more optimally from CD-ROM. Even after this work, the game's long load times on PS2 have been noted.
Midway through Oni's development, in 1999, Take-Two Interactive purchased a stake in Bungie and became the publisher for the upcoming game. In addition to their investment, T2 stipulated that a PlayStation 2 port would be released alongside Oni for Windows and Macintosh. That port was created by Rockstar Toronto (known at the time as Rockstar Canada), and because the game had originally been intended for a PC with a hard drive, changes had to be made in order to load the game more quickly from CD-ROM. Even after this work, the PS2 version has been noted for its long load times.


Today, Oni runs well in the emulator [https://pcsx2.net/ PCSX2]. When using this emulator, load times are greatly reduced by placing an ISO of the game disc on your hard drive. You can also easily apply patches (cheats, etc.) from within PCSX2 instead of having to buy a cheat device for your PS2, so this is the best way to run the game.
Today, Oni runs well in the emulator [https://pcsx2.net/ PCSX2]. When using this emulator, load times are reduced by placing an ISO of the game disc on your hard drive. You can also easily apply patches from within PCSX2 instead of having to buy a cheat device for your PS2, so this is the best way to run the game.


==Gameplay differences==
==Gameplay differences==
* Cheats are entered differently. Also, they do not require the game to be beaten first, which is valuable information since the console controls make this version harder. The PS2 cheat codes are [[Cheats#PlayStation_2|HERE]].
* Cheats are entered differently; see [[Cheats#PlayStation_2|HERE]]. Also, they do not require the game to be beaten first, which is extremely helpful since the console controls make this version harder.
* The cooldown exploit has been fixed.
* The cooldown exploit has been fixed.
* The AI for the androids in Training is glitchy or overly aggressive. They might try to attack you after beating Karen, and they sometimes forget the program they're supposed to be following and attack you. It remains to be seen if this is an overall glitch with AI in the PS2 version.
* The AI for the androids in Training is glitchy or overly aggressive. They might try to attack you after beating Karen, and the training bots sometimes forget the defense/offense program they're supposed to be following and wantonly attack you. It remains to be seen if this is an overall glitch with AI in the PS2 version.
* In the opening cutscene for Chapter 13, Konoko fires two or three times at the glass in the ceiling instead of once.
* In the opening cutscene for Chapter 13, Konoko fires two or three times at the glass in the ceiling instead of once. (This probably means you have fewer bullets in your clip when the level starts.)


==Visual differences==
==Visual differences==
[pictures coming later]
[[Image:Konoko from T2 PS2 intro.png|250px|thumb|right|The PS2-only movie where Konoko hits you in the face repeatedly, ending with a kick where her shoe plants the Rockstar logo on the screen (see her foot in [[:Image:Konoko Jump Kick.jpg|this art]]).]]
* The intro and outro movies are 30fps instead of 15fps, and intro in particular looks better on PS2. (These movies were turned into mod packages for PC Oni called "HQ Movies (Mac)" and "HQ Intro Movie (Windows)".)
[more pictures coming later]
* The intro on PC starts with the Bungie logo sequence and then plays the anime intro as part of one movie, but on PS2 there are two intro movies: the first contains the added Rockstar logo sequence (with a special Konoko-based presentation) and the original PC Bungie logo sequence, and this movie is unskippable (unless you apply the patch below). The second movie contains the original anime intro.
* The intro and outro movies are 30 fps (NTSC) or 25 fps (PAL) instead of 15 fps, and intro in particular looks better on PS2. (These movies were turned into mod packages for PC Oni called "HQ Movies (Mac)" and "HQ Intro Movie (Windows)".)
* The intro on PC starts with the Bungie logo sequence and then plays the anime intro as part of one movie, but on PS2 there are two intro movies: the first contains a ten-second [https://www.youtube.com/watch?v=itX1fGbkpbo Konoko-based presentation of the Rockstar logo] and the original PC Bungie logo sequence; this movie is unskippable. The second movie contains the original anime intro and is skippable with a button press. See "Patches" for a PCSX2 patch which disables movie playback.
* Different Main Menu.
* Different Main Menu.
* When loading a level, instead of a progress bar against a black background, PS2 Oni has a proper loading screen – the game cycles through three different backgrounds for these.
* When loading a level, instead of a progress bar against a black background, PS2 Oni has a proper loading screen – the game cycles through three different backgrounds for these.
* The splashscreens for each level use the same images as on PC, but the title overlay has a different style.
* The splashscreens for each level use the same images as on PC, but the title overlay has a different style.
* The text used for subtitles is larger. Character names in the fly-in portraits are also redone to be much larger.
* The text used for subtitles is larger. Character names in the fly-in portraits are also redone to be much larger.
* There is less texture variety due to limited memory. Various environmental objects, such as the crates at the very start of Chapter 1, are uniform instead of having differently colored variants.
* Apparently there is less variety in enemies as well, but this is yet to be documented in detail. See [https://www.reddit.com/r/oni/comments/lpgrx3/i_was_the_art_director_for_ps2_port/ this Reddit thread] for a firsthand account of the nature of these cuts.
* Lighting is handled differently; there seems to be a higher gamma to the graphical output.
* Lighting is handled differently; there seems to be a higher gamma to the graphical output.
* Karen in Training is using the dark-haired female cop model, probably a result of Rockstar's efforts to conserve resources due to limited memory.
* Karen in Training is using the dark-haired female cop model.
* Some of Shinatama's un-subtitled instructions in the PC version of Training are subtitled on PS2, but not all. Some of these PS2 subtitles are abbreviated transcriptions:
* Some of Shinatama's un-subtitled instructions in the PC version of Training are subtitled on PS2, but not all. Some of these PS2-only subtitles are abbreviated transcriptions, as seen when we compare SNDD and SUBT:
** SNDD: "00_01_76 Be careful, Konoko! Some attacks are so powerful that they can stagger you even if you block them. Some super moves are so strong they can't be blocked at all!"
:: Staggering moves (00_01_76):
** SUBT: "00_01_76 Some powerful attacks can stagger you. Supermoves cannot be blocked."
:* SNDD: "Be careful, Konoko! Some attacks are so powerful that they can stagger you even if you block them. Some super moves are so strong they can't be blocked at all!"
** SNDD: "00_01_89 I'll activate a training drone to walk up and down the firing range. Fire at it to disable it."
:* SUBT: "Some powerful attacks can stagger you. Supermoves cannot be blocked."
** SUBT: "00_01_89 Fire at the moving training drone to disable it."
:: Training drone (00_01_89):
*...and some wording has been re-distributed between SUBTs. Presumably these changes were due to limited screen space.
:* SNDD: "I'll activate a training drone to walk up and down the firing range. Fire at it to disable it."
** SNDDs:
:* SUBT: "Fire at the moving training drone to disable it."
::: "00_01_86 Shinatama: Perfect!"
:: Completion (00_01_82):
::: "00_01_88 Shinatama: Let's try firing at some moving targets. Walk over to the table on the right. See the weapon lying there? That's a plasma rifle. Pick it up."
:* SNDD: "Your comlink stores lots of information about weapons, items, and mission objectives. It also has a help feature, and even a diary built right in."
:* SUBTs:
:* SUBT: "Your comlink stores information about weapons, items and mission objectives. It also has a help feature and a diary."
::: "00_01_86 Shinatama: Perfect! Let's try firing on some moving targets."
*...and some wording has been re-distributed between SUBTs, presumably to even out the number of words appearing onscreen.
:::"00_01_88 Shinatama: Walk over to the table on the right. See the weapon lying there? That's a plasma rifle. Pick it up."
** SNDDs 00_01_86 and 00_01_88:
* Instead of using Trailer and Farewell as the backing music for the credits, PS2 Oni has an original house beat. This is probably because the PC credits are 171 seconds long, but in the NTSC version of PS2 Oni they take 156 seconds, and in PAL they take 204 seconds.  (Running video at 25fps vs. 30fps does not account for this difference, and the credits are identical; the PAL version just scrolls the credits more slowly for some reason.) In any case, to cover these new credits sequences, a new backing track was composed by non-Bungie staff.
::: "Perfect!"
* Outro's credits are somewhat different; see [[Quotes/Credits#PS2_outro_differences|HERE]] for details.
::: "Let's try firing at some moving targets. Walk over to the table on the right. See the weapon lying there? That's a plasma rifle. Pick it up."
:* SUBTs 00_01_86 and 00_01_88:
::: "Perfect! Let's try firing on some moving targets."
::: "Walk over to the table on the right. See the weapon lying there? That's a plasma rifle. Pick it up."
* In Chapter 1, the "-OMM- TTC 1.1" crate with the <code>thedayismine</code> code has had its message covered over with a metal plate, presumably a tongue-in-cheek way of saying that Dev Mode will not be available to the player.


==Binary differences==
==Credits differences==
The game files in PS2 Oni are structured similarly to PC Oni, but with some notable differences.
* Instead of using "Trailer" and "Farewell" for the credits, the PS2 credits have completely different music. This is probably because [https://www.youtube.com/watch?v=Od1ReWIxduo the PC credits sequence] is 171 seconds long (that is, the textual credits, not counting the animated outro), but [https://www.youtube.com/watch?v=Yhqg_MF6dM8 the NTSC version] of the PS2 credits is 156 seconds and [https://www.youtube.com/watch?v=YX0OGl2-WLA the PAL version] is 204 seconds. (The differing frame rate of PAL's 25 fps vs. NTSC's 30 fps cannot account for this 48-second time difference, and the credits themselves are identical; the PAL version simply scrolls the credits 30% slower for some reason.) To cover these credit sequences of differing length, a new backing track with a house beat was composed by Rockstar Canada staff. The NTSC version's music fades out arbitrarily as the credits end, whereas the track behind the longer PAL version continues on an extended (and eyebrow-raising) riff on female pain sounds from the game and ends with an actual coda.
* The disc contains duplicate copies of a strangely-small persist.dat, at the paths /PERSIST.DAT and /2. (Note that Oni (PS2) saves its progress to the memory card like every other game, so these files are vestigial.)
* The text of the PS2 credits is somewhat different; see [[Quotes/Credits#PS2 outro differences|HERE]] for details.
* Renamed files. It appears that PS2 file naming is subject to the 8+3 limit seen in DOS. In order to work around this for the longer names used in [[IGMD]], the files are simply named with consecutive numbers on disc, and the real names are given in INDEX.DIR files in the same directory.
 
* The folder /1/ is GameDataFolder. Inside of this, the usual .dat files are present, but the .raw and .sep files have been moved to the subdirectories 20/ and 21/. Additional .pal ("palette") files are also stored in a subdirectory, 19/. A new .raw file for the Main Menu loading screen, LOADING.RAW, is at root level of the disc.
==Directories==
* It appears that all sound data has been broken out into a new set of .dat/.raw/.sep files in /SOUNDS/.
The root directory of the PS2 CD-ROM is roughly equivalent to the [[Oni (folder)|Oni folder]] of a Windows or Mac installation (see subsections below for exceptions). This similarity isn't clear at first, as the names of the files and folders are represented by numbers. Most of Oni's original file and folder names would be too long for a PS2 disc's ISO 9660 Level 1 file system, which employs [[wp:8.3 filename|8+3 naming]]. Thus, the actual names for these files are given in plain-text directory listings named INDEX.DIR alongside the renamed files. The game executable reads these .DIR files at runtime to find the desired file/folder. Here is the directory tree with de-indexed names:
* The files /1/2 and /1/18 are the original .bik movies from PC Oni, taking up space on the CD-ROM for no reason. This is in addition to the PSS (PlayStation 2 video format) versions of intro and outro at root level, which take up 33% of the total space on the volume!
 
* In the IGMD folder (/1/1/), the same unused level scripts are found as in [[OBD:Localization/German|German Oni]].
{|border=1 cellspacing=0 style="font-size:75%"
|-
!Name on disk
!De-indexed name
!Notes
|-valign=top
|
*1/
**1/
***...
**19/
***<nowiki>#</nowiki> (#=1-15)
**20/
***<nowiki>#</nowiki> (#=1-15)
**21/
***<nowiki>#</nowiki> (#=1-15)
**2,18
**<nowiki>#</nowiki> (#=3-17)
|
*GameDataFolder/
**IGMD/
***...
**pal/
***level#_palette.pal (#=0-4,6,8-14,18-19)
**raw/
***level#_Final.raw (#=0-4,6,8-14,18-19)
**sep/
***level#_Final.sep (#=0-4,6,8-14,18-19)
**intro.bik, outro.bik
**level#_Final.dat (#=0-4,6,8-14,18-19)
|
*Main game data container (c.f. [[GameDataFolder]])
**Level logic scripts written in [[BSL]]
***(see [[IGMD]] for an expanded list)
*Palette folder
**Palette files referenced by a level's [[TXMP]]
*Raw data folder
**.raw files referenced from the respective .dat
*Separate data folder
**.sep files referenced from the respective .dat
*[[Intro]] and [[outro]] sequences in Bink video format (unused)
*[[OBD:Instance file format|Instance files]] (game data files)
|-valign=top
|colspan=2|
*ICONS/
**ONI1.ICO
*MODULES/
**IOPRP16.IMG
**LIBSD.IRX, MCMAN.IRX, MCSERV.IRX, PADMAN.IRX,<br>SDRDRV.IRX, SIO2MAN.IRX
**ONISS2.IRX
*SOUNDS/
**LEVEL#/ (#=0-4,6,8-14,18,19)
***SOUND.DAT, SOUND.RAW, SOUND.SEP
**BINK#.VAG (#=0,1,2)
*INTRO1.PSS, INTRO2.PSS, OUTRO.PSS
*LOADING.RAW
*PERSIST.DAT
|
*Icons folder (the 18.12.2000 dev build also has an empty "icons" folder)
**Oni icon (the 18.12.2000 dev build instead has SLIME[1-3].ICO)
*Standard folder for application modules (hardware drivers, etc.)
**An "image" module (the 18.12.2000 dev build also has IOPRP165.IMG)
**Six standard modules typical of PS2 games (the 18.12.2000 dev build has ten more modules,<br>plus one in an OLD folder)
**A custom module specific to the game (Oni's "SoundSystem2")
*A separate folder containing the sound data
**Per-level folders
***SOUND.DAT referenced from level#_Final.dat, .SEP and .RAW looked up from .DAT
**Three short beeps stored separately (used as menu sounds)
*Intro and outro video sequences (18.12.2000 dev build has INTRO.PSS and OUTRO.PSS)
*Game data for the loading screen interface (absent for the 18.12.2000 dev build)
*A savegame/preference file (unused; see "File notes" below)
|-valign=top
|
*2
*3
|
*persist.dat
*Preferences.txt
|
*A duplicate of PERSIST.DAT (also unused, see "File notes" below)
*A vestigial file listing locations for the game data (absent in 18.12.2000 dev build)
|-
|colspan=2|
*SLUS_200.64
*SYSTEM.CNF
|
*The game binary (a.k.a. executable)
*Standard boot information for a PS2 game
|}
 
===Raw and separate files===
Although the GameDataFolder generally matches the PC version, one notable exception is that raw and separate files are tucked away into '''raw''' and '''sep''' directories.
 
===Palette files===
There is also a '''pal''' directory holding a set of '''level#_palette.pal''' files (one per level); in PS2 Oni, all the textures (TXMP files) use compact 8-bit storage (i.e., each pixel is an index into a palette of 256 colors), as opposed to Windows and Mac TXMPs which typically use 16- or 24-bit color.
 
===Relic files===
*'''intro.bik''' and '''outro.bik''' are not used by the engine (they're superseded by '''INTRO2.PSS''' and '''OUTRO.PSS'''); they're just taking up 56 MB of storage space for nothing (the .PSS versions take up another 188 MB).
*The [[persist.dat|save-game]] files '''persist.dat''' and '''PERSIST.DAT''' are little-endian (i.e., created in Windows or on a PS2 dev unit) and are byte-identical to each other. Actual save data is stored in a standard PS2 format on the memory card (obviously the game cannot write to files on disc). They might be a development relic of the PS2 port since they are much smaller than a PC persist.dat (also, one is named in all-caps like the other files Rockstar added to the game directory).
 
==Binary data format==
The internal structure of '''level#_Final.dat''' and the corresponding '''.raw''' and '''.sep''' is compliant with the "VR31" iteration of instance files, although many resources were optimized for minimal storage space (textures use indexed colors, character animations has been split into a trimmed-down TRAM and an "extra" instance TREX that only exists for combat moves and such, etc.). These deviations in PS2 resource formats are covered by the [[OBD:PS2]] page.
 
Sounds are encoded using Sony's VAG format/codec, and (unlike for other Oni versions) their waveform data isn't stored in '''level#_Final.raw''' (see [[OBD:SNDD#PS2 implementation|SNDD]]). Instead the SNDD instances in '''level#_Final.dat''' contain links to '''SOUNDS/LEVEL#/SOUND.DAT''', which in turn references waveform data stored either in '''SOUNDS/LEVEL#/SOUND.SEP''' (raw VAG data without any headers) or '''SOUNDS/LEVEL#/SOUND.RAW''' (raw VAG data with minimal headers to allow the lookup of each sound). The three '''BINK#.VAG''' files are beep-like sounds picked from Oni's game data (SNDDbeep43, SNDDbeep24 and SNDDbeep23, respectively); they have a VAG header and are valid sounds for VAG-capable apps.
 
==Level scripts==
The PS2 IGMD includes the same pre-beta folders as the [[European Mac releases]]: scripting logic intended for now-missing chapters and test levels. Some "test" subfolders are present for '''EnvWarehouse''' and '''manplant''', with backups of the scripts for levels 1 and 2. When it comes to the Windows/Mac differences in the [[Oni (folder)/GameDataFolder/IGMD/tctf_ii|tctf_ii]] folder, the scripts match the Windows versions (although the folder is named "tctf_II" with capital 'i's in the INDEX.DIR). However, the PS2 scripts have differences of their own:
*Many "sleep" commands have been added or removed to adjust cutscene timing.
*Two dialogue lines in compound.bsl have been renamed, and in a number of places where dialogue is played, a short sleep command and a new dialogue line appear to be added afterward (see compound.bsl, lab_cutscene.bsl and warehouse_train2.bsl); could these be original lines split into two pieces?
*A BSL function called gs_nearclipplane_set was added so that it could be called from warehouse_cutscene.bsl.
*"input 1" isn't called at the beginning of Chapter 1 until after Shinatama introduces the HUD at the end of the intro, rather than before.
*A possible fix in manplant_level_logic.bsl that disables the trigger volume for SP2 when SP3 is loaded (can it be reached by backtracking?).
*A possible fix in roof.bsl that sets an objective when SP4 is loaded.
*The PS2 version of BSL implements at least two new script variables, '''psx2_ambient2''' and '''psx2_directional2''' (both of them floats). They appear to be white light intensities (i.e., shades of gray) used for the Gouraud shading of characters and other M3GM (powerups, weapons, furniture, animated objects). In Windows/Mac Oni there is no possibility to adjust ambient or directional light intensities through scripts: the main directional light has intensity 0.7, the auxiliary directional light (turned on at higher quality settings) has intensity 0.3, and the ambient intensity is either 0.65 or 0.55 (larger if one directional light, smaller if two directional lights).


==Patches==
==Patches==
Line 51: Line 171:
!TCRF wiki
!TCRF wiki
!
!
!pnach
!.pnach file
|-
|-
|0033A904<br>00000001
|0033A904<br>00000001
Line 58: Line 178:
|}
|}


The comment at the end of the .pnach line is optional, but you will definitely want to label your patches.
The comment at the end of the .pnach file's line is optional, but you will definitely want to label your patches.


An additional patch for skipping the intro movies is below, courtesy of [[User:Iritscen|Iritscen]]. Place this patch in a .pnach to disable the movie-playing function so that the game skips right to the loading screen for the Main Menu:
An additional patch for skipping the intro movies is below, courtesy of [[User:Iritscen|Iritscen]]. Place this patch in a .pnach file to disable the movie-playing function so that the game skips right to the loading screen for the Main Menu. Make sure not to have this active when finishing the game or you won't see the outro movie and credits.


  patch=1,EE,001C726C,word,00000000 # no movies
  patch=1,EE,001C726C,word,00000000 # no movies


[[Category:Oni history]]
[[Category:Oni history]]

Latest revision as of 03:54, 13 November 2024

Midway through Oni's development, in 1999, Take-Two Interactive purchased a stake in Bungie and became the publisher for the upcoming game. In addition to their investment, T2 stipulated that a PlayStation 2 port would be released alongside Oni for Windows and Macintosh. That port was created by Rockstar Toronto (known at the time as Rockstar Canada), and because the game had originally been intended for a PC with a hard drive, changes had to be made in order to load the game more quickly from CD-ROM. Even after this work, the PS2 version has been noted for its long load times.

Today, Oni runs well in the emulator PCSX2. When using this emulator, load times are reduced by placing an ISO of the game disc on your hard drive. You can also easily apply patches from within PCSX2 instead of having to buy a cheat device for your PS2, so this is the best way to run the game.

Gameplay differences

  • Cheats are entered differently; see HERE. Also, they do not require the game to be beaten first, which is extremely helpful since the console controls make this version harder.
  • The cooldown exploit has been fixed.
  • The AI for the androids in Training is glitchy or overly aggressive. They might try to attack you after beating Karen, and the training bots sometimes forget the defense/offense program they're supposed to be following and wantonly attack you. It remains to be seen if this is an overall glitch with AI in the PS2 version.
  • In the opening cutscene for Chapter 13, Konoko fires two or three times at the glass in the ceiling instead of once. (This probably means you have fewer bullets in your clip when the level starts.)

Visual differences

The PS2-only movie where Konoko hits you in the face repeatedly, ending with a kick where her shoe plants the Rockstar logo on the screen (see her foot in this art).

[more pictures coming later]

  • The intro and outro movies are 30 fps (NTSC) or 25 fps (PAL) instead of 15 fps, and intro in particular looks better on PS2. (These movies were turned into mod packages for PC Oni called "HQ Movies (Mac)" and "HQ Intro Movie (Windows)".)
  • The intro on PC starts with the Bungie logo sequence and then plays the anime intro as part of one movie, but on PS2 there are two intro movies: the first contains a ten-second Konoko-based presentation of the Rockstar logo and the original PC Bungie logo sequence; this movie is unskippable. The second movie contains the original anime intro and is skippable with a button press. See "Patches" for a PCSX2 patch which disables movie playback.
  • Different Main Menu.
  • When loading a level, instead of a progress bar against a black background, PS2 Oni has a proper loading screen – the game cycles through three different backgrounds for these.
  • The splashscreens for each level use the same images as on PC, but the title overlay has a different style.
  • The text used for subtitles is larger. Character names in the fly-in portraits are also redone to be much larger.
  • There is less texture variety due to limited memory. Various environmental objects, such as the crates at the very start of Chapter 1, are uniform instead of having differently colored variants.
  • Apparently there is less variety in enemies as well, but this is yet to be documented in detail. See this Reddit thread for a firsthand account of the nature of these cuts.
  • Lighting is handled differently; there seems to be a higher gamma to the graphical output.
  • Karen in Training is using the dark-haired female cop model.
  • Some of Shinatama's un-subtitled instructions in the PC version of Training are subtitled on PS2, but not all. Some of these PS2-only subtitles are abbreviated transcriptions, as seen when we compare SNDD and SUBT:
Staggering moves (00_01_76):
  • SNDD: "Be careful, Konoko! Some attacks are so powerful that they can stagger you even if you block them. Some super moves are so strong they can't be blocked at all!"
  • SUBT: "Some powerful attacks can stagger you. Supermoves cannot be blocked."
Training drone (00_01_89):
  • SNDD: "I'll activate a training drone to walk up and down the firing range. Fire at it to disable it."
  • SUBT: "Fire at the moving training drone to disable it."
Completion (00_01_82):
  • SNDD: "Your comlink stores lots of information about weapons, items, and mission objectives. It also has a help feature, and even a diary built right in."
  • SUBT: "Your comlink stores information about weapons, items and mission objectives. It also has a help feature and a diary."
  • ...and some wording has been re-distributed between SUBTs, presumably to even out the number of words appearing onscreen.
    • SNDDs 00_01_86 and 00_01_88:
"Perfect!"
"Let's try firing at some moving targets. Walk over to the table on the right. See the weapon lying there? That's a plasma rifle. Pick it up."
  • SUBTs 00_01_86 and 00_01_88:
"Perfect! Let's try firing on some moving targets."
"Walk over to the table on the right. See the weapon lying there? That's a plasma rifle. Pick it up."
  • In Chapter 1, the "-OMM- TTC 1.1" crate with the thedayismine code has had its message covered over with a metal plate, presumably a tongue-in-cheek way of saying that Dev Mode will not be available to the player.

Credits differences

  • Instead of using "Trailer" and "Farewell" for the credits, the PS2 credits have completely different music. This is probably because the PC credits sequence is 171 seconds long (that is, the textual credits, not counting the animated outro), but the NTSC version of the PS2 credits is 156 seconds and the PAL version is 204 seconds. (The differing frame rate of PAL's 25 fps vs. NTSC's 30 fps cannot account for this 48-second time difference, and the credits themselves are identical; the PAL version simply scrolls the credits 30% slower for some reason.) To cover these credit sequences of differing length, a new backing track with a house beat was composed by Rockstar Canada staff. The NTSC version's music fades out arbitrarily as the credits end, whereas the track behind the longer PAL version continues on an extended (and eyebrow-raising) riff on female pain sounds from the game and ends with an actual coda.
  • The text of the PS2 credits is somewhat different; see HERE for details.

Directories

The root directory of the PS2 CD-ROM is roughly equivalent to the Oni folder of a Windows or Mac installation (see subsections below for exceptions). This similarity isn't clear at first, as the names of the files and folders are represented by numbers. Most of Oni's original file and folder names would be too long for a PS2 disc's ISO 9660 Level 1 file system, which employs 8+3 naming. Thus, the actual names for these files are given in plain-text directory listings named INDEX.DIR alongside the renamed files. The game executable reads these .DIR files at runtime to find the desired file/folder. Here is the directory tree with de-indexed names:

Name on disk De-indexed name Notes
  • 1/
    • 1/
      • ...
    • 19/
      • # (#=1-15)
    • 20/
      • # (#=1-15)
    • 21/
      • # (#=1-15)
    • 2,18
    • # (#=3-17)
  • GameDataFolder/
    • IGMD/
      • ...
    • pal/
      • level#_palette.pal (#=0-4,6,8-14,18-19)
    • raw/
      • level#_Final.raw (#=0-4,6,8-14,18-19)
    • sep/
      • level#_Final.sep (#=0-4,6,8-14,18-19)
    • intro.bik, outro.bik
    • level#_Final.dat (#=0-4,6,8-14,18-19)
  • Main game data container (c.f. GameDataFolder)
    • Level logic scripts written in BSL
      • (see IGMD for an expanded list)
  • Palette folder
    • Palette files referenced by a level's TXMP
  • Raw data folder
    • .raw files referenced from the respective .dat
  • Separate data folder
    • .sep files referenced from the respective .dat
  • Intro and outro sequences in Bink video format (unused)
  • Instance files (game data files)
  • ICONS/
    • ONI1.ICO
  • MODULES/
    • IOPRP16.IMG
    • LIBSD.IRX, MCMAN.IRX, MCSERV.IRX, PADMAN.IRX,
      SDRDRV.IRX, SIO2MAN.IRX
    • ONISS2.IRX
  • SOUNDS/
    • LEVEL#/ (#=0-4,6,8-14,18,19)
      • SOUND.DAT, SOUND.RAW, SOUND.SEP
    • BINK#.VAG (#=0,1,2)
  • INTRO1.PSS, INTRO2.PSS, OUTRO.PSS
  • LOADING.RAW
  • PERSIST.DAT
  • Icons folder (the 18.12.2000 dev build also has an empty "icons" folder)
    • Oni icon (the 18.12.2000 dev build instead has SLIME[1-3].ICO)
  • Standard folder for application modules (hardware drivers, etc.)
    • An "image" module (the 18.12.2000 dev build also has IOPRP165.IMG)
    • Six standard modules typical of PS2 games (the 18.12.2000 dev build has ten more modules,
      plus one in an OLD folder)
    • A custom module specific to the game (Oni's "SoundSystem2")
  • A separate folder containing the sound data
    • Per-level folders
      • SOUND.DAT referenced from level#_Final.dat, .SEP and .RAW looked up from .DAT
    • Three short beeps stored separately (used as menu sounds)
  • Intro and outro video sequences (18.12.2000 dev build has INTRO.PSS and OUTRO.PSS)
  • Game data for the loading screen interface (absent for the 18.12.2000 dev build)
  • A savegame/preference file (unused; see "File notes" below)
  • 2
  • 3
  • persist.dat
  • Preferences.txt
  • A duplicate of PERSIST.DAT (also unused, see "File notes" below)
  • A vestigial file listing locations for the game data (absent in 18.12.2000 dev build)
  • SLUS_200.64
  • SYSTEM.CNF
  • The game binary (a.k.a. executable)
  • Standard boot information for a PS2 game

Raw and separate files

Although the GameDataFolder generally matches the PC version, one notable exception is that raw and separate files are tucked away into raw and sep directories.

Palette files

There is also a pal directory holding a set of level#_palette.pal files (one per level); in PS2 Oni, all the textures (TXMP files) use compact 8-bit storage (i.e., each pixel is an index into a palette of 256 colors), as opposed to Windows and Mac TXMPs which typically use 16- or 24-bit color.

Relic files

  • intro.bik and outro.bik are not used by the engine (they're superseded by INTRO2.PSS and OUTRO.PSS); they're just taking up 56 MB of storage space for nothing (the .PSS versions take up another 188 MB).
  • The save-game files persist.dat and PERSIST.DAT are little-endian (i.e., created in Windows or on a PS2 dev unit) and are byte-identical to each other. Actual save data is stored in a standard PS2 format on the memory card (obviously the game cannot write to files on disc). They might be a development relic of the PS2 port since they are much smaller than a PC persist.dat (also, one is named in all-caps like the other files Rockstar added to the game directory).

Binary data format

The internal structure of level#_Final.dat and the corresponding .raw and .sep is compliant with the "VR31" iteration of instance files, although many resources were optimized for minimal storage space (textures use indexed colors, character animations has been split into a trimmed-down TRAM and an "extra" instance TREX that only exists for combat moves and such, etc.). These deviations in PS2 resource formats are covered by the OBD:PS2 page.

Sounds are encoded using Sony's VAG format/codec, and (unlike for other Oni versions) their waveform data isn't stored in level#_Final.raw (see SNDD). Instead the SNDD instances in level#_Final.dat contain links to SOUNDS/LEVEL#/SOUND.DAT, which in turn references waveform data stored either in SOUNDS/LEVEL#/SOUND.SEP (raw VAG data without any headers) or SOUNDS/LEVEL#/SOUND.RAW (raw VAG data with minimal headers to allow the lookup of each sound). The three BINK#.VAG files are beep-like sounds picked from Oni's game data (SNDDbeep43, SNDDbeep24 and SNDDbeep23, respectively); they have a VAG header and are valid sounds for VAG-capable apps.

Level scripts

The PS2 IGMD includes the same pre-beta folders as the European Mac releases: scripting logic intended for now-missing chapters and test levels. Some "test" subfolders are present for EnvWarehouse and manplant, with backups of the scripts for levels 1 and 2. When it comes to the Windows/Mac differences in the tctf_ii folder, the scripts match the Windows versions (although the folder is named "tctf_II" with capital 'i's in the INDEX.DIR). However, the PS2 scripts have differences of their own:

  • Many "sleep" commands have been added or removed to adjust cutscene timing.
  • Two dialogue lines in compound.bsl have been renamed, and in a number of places where dialogue is played, a short sleep command and a new dialogue line appear to be added afterward (see compound.bsl, lab_cutscene.bsl and warehouse_train2.bsl); could these be original lines split into two pieces?
  • A BSL function called gs_nearclipplane_set was added so that it could be called from warehouse_cutscene.bsl.
  • "input 1" isn't called at the beginning of Chapter 1 until after Shinatama introduces the HUD at the end of the intro, rather than before.
  • A possible fix in manplant_level_logic.bsl that disables the trigger volume for SP2 when SP3 is loaded (can it be reached by backtracking?).
  • A possible fix in roof.bsl that sets an objective when SP4 is loaded.
  • The PS2 version of BSL implements at least two new script variables, psx2_ambient2 and psx2_directional2 (both of them floats). They appear to be white light intensities (i.e., shades of gray) used for the Gouraud shading of characters and other M3GM (powerups, weapons, furniture, animated objects). In Windows/Mac Oni there is no possibility to adjust ambient or directional light intensities through scripts: the main directional light has intensity 0.7, the auxiliary directional light (turned on at higher quality settings) has intensity 0.3, and the ambient intensity is either 0.65 or 0.55 (larger if one directional light, smaller if two directional lights).

Patches

Punk7890 of TCRF (The Cutting Room Floor) found that a number of Dev Mode features were still present in the PS2 port. Some need hex-patching in order to activate them, and some can be toggled using the controller once activated, showing that Rockstar found these features useful during their port work. The patches (for the U.S. release of the game) are found HERE.

In order to apply the patches on a PS2, you would use a cheat device like GameShark, which few people have. If you're running Oni in PCSX2, you'll have an easy time adapting these patches. Create a plain-text file called FD9CD8FC.pnach (that's the CRC of the U.S. release of the game), and make sure there's no ".txt" at the end of the name. Place it in the "cheats" directory for PCSX2, and inside the file, create a line of text for each patch you want to use, using the following guide to convert the patch on the TCRF wiki:

TCRF wiki .pnach file
0033A904
00000001
becomes patch=1,EE,0033A904,word,00000001 # FPS counter

The comment at the end of the .pnach file's line is optional, but you will definitely want to label your patches.

An additional patch for skipping the intro movies is below, courtesy of Iritscen. Place this patch in a .pnach file to disable the movie-playing function so that the game skips right to the loading screen for the Main Menu. Make sure not to have this active when finishing the game or you won't see the outro movie and credits.

patch=1,EE,001C726C,word,00000000 # no movies