Oni 2 (Angel Studios)/Running: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (→‎Launch arguments: clarifying that layouts are levels)
(linking to coming Levels subpage; adding illustrative images; referencing patch tool that doesn't exist yet)
Line 1: Line 1:
==Running the game==
==Running the game==
[[Image:Oni 2 - Shadow glitch.jpg|left|thumb|x220px|You will see issues like this with shadows unless you run PCSX2's renderer in Software mode.]]
[[Image:Oni 2 - Initial Attack.JPG|right|thumb|x220px|Characters will often be "blacked out" due to an issue with the lighting code. This is normal.]]
The ISO can be found on epforums.org (registration required) and is playable on a modded PS2 or in an emulator. The only mature PS2 emulator is PCSX2. Although PCSX2 is available for both Windows and macOS, the Mac version has poor performance and exhibits graphical glitches with this particular game. (Lighting problems occur even when playing on a PS2, so it's likely that graphics code was being worked on when this game build was produced.) Thus, if you are on a Mac, you will ideally want to use Boot Camp to run the game in PCSX2 for Windows. PCSX2 has also been reported to work on Macs running Windows within Parallels Desktop and VMware Fusion; it does not seem to run in Oracle VM VirtualBox, which has problems with 3D acceleration as of v5.1.
The ISO can be found on epforums.org (registration required) and is playable on a modded PS2 or in an emulator. The only mature PS2 emulator is PCSX2. Although PCSX2 is available for both Windows and macOS, the Mac version has poor performance and exhibits graphical glitches with this particular game. (Lighting problems occur even when playing on a PS2, so it's likely that graphics code was being worked on when this game build was produced.) Thus, if you are on a Mac, you will ideally want to use Boot Camp to run the game in PCSX2 for Windows. PCSX2 has also been reported to work on Macs running Windows within Parallels Desktop and VMware Fusion; it does not seem to run in Oracle VM VirtualBox, which has problems with 3D acceleration as of v5.1.


To prevent glitched shadows when playing Oni 2 in PCSX2, you need to switch the GSdx plugin to Software mode and turn on the "Edge anti-aliasing" setting; this will severely cut performance compared to rendering in Hardware mode.
To prevent glitched shadows when playing Oni 2 in PCSX2, you need to switch the GSdx plugin to Software mode and turn on the "Edge anti-aliasing" setting; this will severely cut performance compared to rendering in Hardware mode.
 
{{Clearall}}
==Playing the levels==
==Playing the levels==
Once Oni 2 is running, there is only one level available by choosing New Game. Additional levels, however, can be chosen from the Load Game menu. These are documented on [[../#Story and levels|the main page]]. Levels can take a couple minutes to load, and some do not have loading screens, instead displaying a gray screen until they're done loading. The only levels that could be considered traditionally "game-like" are levels 1 (The Blast Chambers), 6 (Initial Attack), and 8 (The Rooftops). These were the primary levels used to prototype the game. The other levels were used by the developers to test features or scripting, but some are rather substantial, like level 14 (AI Abilities Test).
Once Oni 2 is running, there is only one level available by choosing New Game. Fourteen additional levels, however, can be chosen from the Load Game menu. Levels can take a couple minutes to load, and some do not have loading screens, instead displaying a gray screen until they're done loading. Beyond this, an additional 80 layouts can be made available by patching the game disc ISO (instructions [[OBD:Oni2AS|HERE]], patch tool coming soon). "Layout" is the engine's term for what we would call a level or a room; some layouts are quite small, and others are large and complex. There is a total of 95 layouts in the game (this includes the 1 + 14 levels available normally). However, many of these (24, by one count) are nonfunctional. All the layouts are documented in their current functional or nonfunctional state on the [[../Levels|Levels]] page.


==Launch arguments==
==Launch arguments==
Oni 2 accepts various launch arguments. To pass arguments to the game, you must use the package [http://websvn.chrilly.net/listing.php?repname=Oni2&path=%2Fps2launchargs%2F HERE]. The syntax for arguments which require a parameter, such as "-layout", is "-argument=parameter". The descriptions given below are taken verbatim from the game, and the effects are based on our testing.
Oni 2 accepts various launch arguments. To pass arguments to the game, you must use the package [http://websvn.chrilly.net/listing.php?repname=Oni2&path=%2Fps2launchargs%2F HERE]. Note that the patch tool provided in the previous section will allow you to play any level without using launch arguments.
 
The syntax for arguments which require a parameter, such as "-layout", is "-argument=parameter". The descriptions given below are taken verbatim from the game, and the effects are based on our testing.


{| class="wikitable"
{| class="wikitable"
Line 85: Line 89:
| -layout
| -layout
|Specify which level to load.
|Specify which level to load.
|Game starts by loading the layout that you name (layouts are actually what we would call levels). Names of layouts are found in the uncompressed RB.DAT archive, which is downloadable from the [[OBD:Oni2AS]] page.
|Game starts by loading the layout (level) that you name. Names of layouts are found in the uncompressed RB.DAT archive, which is downloadable from the [[OBD:Oni2AS]] page. To unlock a group of layouts at once, adding them to the Load Game menu so that you don't need to use the -layout argument, see the patch tool (coming soon) in the "Playing the levels" section.
|-
|-
| -testloadsave
| -testloadsave

Revision as of 03:16, 13 February 2018

Running the game

You will see issues like this with shadows unless you run PCSX2's renderer in Software mode.
File:Oni 2 - Initial Attack.JPG
Characters will often be "blacked out" due to an issue with the lighting code. This is normal.

The ISO can be found on epforums.org (registration required) and is playable on a modded PS2 or in an emulator. The only mature PS2 emulator is PCSX2. Although PCSX2 is available for both Windows and macOS, the Mac version has poor performance and exhibits graphical glitches with this particular game. (Lighting problems occur even when playing on a PS2, so it's likely that graphics code was being worked on when this game build was produced.) Thus, if you are on a Mac, you will ideally want to use Boot Camp to run the game in PCSX2 for Windows. PCSX2 has also been reported to work on Macs running Windows within Parallels Desktop and VMware Fusion; it does not seem to run in Oracle VM VirtualBox, which has problems with 3D acceleration as of v5.1.

To prevent glitched shadows when playing Oni 2 in PCSX2, you need to switch the GSdx plugin to Software mode and turn on the "Edge anti-aliasing" setting; this will severely cut performance compared to rendering in Hardware mode.

Playing the levels

Once Oni 2 is running, there is only one level available by choosing New Game. Fourteen additional levels, however, can be chosen from the Load Game menu. Levels can take a couple minutes to load, and some do not have loading screens, instead displaying a gray screen until they're done loading. Beyond this, an additional 80 layouts can be made available by patching the game disc ISO (instructions HERE, patch tool coming soon). "Layout" is the engine's term for what we would call a level or a room; some layouts are quite small, and others are large and complex. There is a total of 95 layouts in the game (this includes the 1 + 14 levels available normally). However, many of these (24, by one count) are nonfunctional. All the layouts are documented in their current functional or nonfunctional state on the Levels page.

Launch arguments

Oni 2 accepts various launch arguments. To pass arguments to the game, you must use the package HERE. Note that the patch tool provided in the previous section will allow you to play any level without using launch arguments.

The syntax for arguments which require a parameter, such as "-layout", is "-argument=parameter". The descriptions given below are taken verbatim from the game, and the effects are based on our testing.

Argument Description Effect
-help -- Lists all the following arguments.
-ui use the frontend No effect.
-noui Bypass the frontend and go to game. Game starts by loading first level.
-devui use the dev frontend No effect.
-fullui use the full frontend Same UI for main menu, but game crashes when choosing "Load Game".
-nogame Never go into the game shell. Useful for testing frontend.
-mission The "mission" to load.
-level The level to load
-players The number of human players in game.
-vsplit Want vertical split for 2 player mode instead of default horizontal split.
-sharevp All players share the same viewport.
-diff Difficulty to use.
-musicvol Music volume to use for playback.
-sfxvol Sound FX volume to use for playback.
-voicevol Voiceover volume to use for playback.
-nocutscenes Disables in-game cinematics. No effect?
-noattacking Prevents AI from attacking player.
-layout Specify which level to load. Game starts by loading the layout (level) that you name. Names of layouts are found in the uncompressed RB.DAT archive, which is downloadable from the OBD:Oni2AS page. To unlock a group of layouts at once, adding them to the Load Game menu so that you don't need to use the -layout argument, see the patch tool (coming soon) in the "Playing the levels" section.
-testloadsave Use test save file to run game.
-oldcam Start with the old camera system in the game.
-noactorreload Don't reload actor XML files when doing the "quick" restart.
-defaultcampack Use the default camera package instead of the campack in the layout directory.
-nocamcollision No camera collision.
-norumble No pad rumbling.
-noparticles No particle effects.
-unbreakable Player is unbreakable
-polar Use polar camera by default.
-nohud Don't draw the HUD.
-recompile Recompile all used scripts.
-noai Disables NPC movement/actions.
-notemplates Don't preload the actor templates.
-nopausemenu Do not show the pause menu when you press start, just freeze the frame. Pressing "Start" button removes HUD, brightens image, and pauses the game.
-playerNN (Where NN is 0->Max players) Sets the specified player's name.
-modelNN (Where NN is 0->Max players) Sets the specified player's model to use.
-controlcfgNN (Where NN is 0->Max players) Sets the specified player's control configuration.
-controlmapNN (Where NN is 0->Max players) Sets the specified player's control mapping (i.e. Player 1 is using controller in port 3).