{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} \margl1440\margr1440\vieww12600\viewh10380\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0 \f0\b\fs28 \cf0 How to Pass Launch Arguments to the Dev Build of Oni 2 (Angel Studios) \b0 \ by Iritscen\ \ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \cf0 Requirements:\ - the contents of this package\ - PCSX2\ - the Oni 2 ISO\ - (recommended) a USB gamepad\ \ As of Jan. 2018, there is no existing way to pass launch arguments to a game on your PlayStation 2, nor in the PCSX2 emulator, nor in the homebrew boot loader uLaunchELF ("uLE" for short). So I have created a custom build of an older version of uLE (v4.40h, the last known version compatible with PCSX2) which accepts launch arguments from a text file. This is the BOOT.ELF file in this package.\ \ The following process must be performed in Windows, as uLE 4.40h does not run in PCSX2 for macOS nor in virtualized Windows (at least, Fusion vmWare does not run uLE inside of PCSX2 as of v10.1.1). Follow these steps to start sending launch arguments to Oni 2:\ \ 1. On the command line, move to the directory that contains ps2client.exe (in this package's folder) and call "ps2client.exe -h 192.168.0.10 listen". ps2client will begin offering to share with PCSX2 the directories listed in elflist.txt. This file must be kept next to ps2client.exe, and it is currently set to "C:" (meaning "share all of the C: drive"). Note that all hard drive access is read-only by default and that uLE is only interested in the LaunchArgs.txt file.\ \ 2. Ensure that LaunchArgs.txt contains what you want to be passed to Oni 2. Each new line is a separate argument. This file must be kept next to BOOT.ELF. Known launch arguments are documented on the wiki (the shortcut "Oni2AS" will eventually lead you to the right place).\ \ 3. Open PCSX2 (this was tested with v1.4.0).\ A. Enable filesystem access by choosing System>Enable Host Filesystem.\ B. Under the CDVD menu, choose the Oni 2 ISO as the disc to be mounted.\ C. Choose System>Run Elf\'85 and choose BOOT.ELF (in this package's folder).\ D. The opening screen of uLE will warn you about a missing LAUNCHELF.CNF; you can ignore this. Navigate in the file browser to cdfs:, then choose SCPS123.45 with the circle button. The game will be launched with the arguments you chose in step 2.\ \ 4. There are two ways to ensure that launch arguments are being passed properly:\ A. They have an effect in-game. The simplest working argument that you can test with is "-noui", which will cause Oni 2 to start with the first mission instead of the main menu.\ B. The PCSX2 Console (see Misc menu if it is not already open) will show uLE reading LaunchArgs.txt and printing the contents received, then uLE's separate loader binary will be called, and then the loader will show the arguments being received on its side and passed to the game.\ \ Have fun!}