ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/ps2launchargs/Instructions.rtf
Revision: 1100
Committed: Mon Feb 5 15:42:39 2018 UTC (7 years, 8 months ago) by iritscen
Content type: application/rtf
File size: 3250 byte(s)
Log Message:
Adding ps2launchargs, a package for passing launch arguments to a PS2 binary in PCSX2.

File Contents

# Content
1 {\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200
2 {\fonttbl\f0\fswiss\fcharset0 Helvetica;}
3 {\colortbl;\red255\green255\blue255;}
4 {\*\expandedcolortbl;;}
5 \margl1440\margr1440\vieww12600\viewh10380\viewkind0
6 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0
7
8 \f0\b\fs28 \cf0 How to Pass Launch Arguments to the Dev Build of Oni 2 (Angel Studios)
9 \b0 \
10 by Iritscen\
11 \
12 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
13 \cf0 Requirements:\
14 - the contents of this package\
15 - PCSX2\
16 - the Oni 2 ISO\
17 - (recommended) a USB gamepad\
18 \
19 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.\
20 \
21 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). The source code behind this effort is coming soon. In the meantime, follow these steps to start sending launch arguments to Oni 2:\
22 \
23 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.\
24 \
25 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).\
26 \
27 3. Open PCSX2 (this was tested with v1.4.0).\
28 A. Enable filesystem access by choosing System>Enable Host Filesystem.\
29 B. Under the CDVD menu, choose the Oni 2 ISO as the disc to be mounted.\
30 C. Choose System>Run Elf\'85 and choose BOOT.ELF (in this package's folder).\
31 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.\
32 \
33 4. There are two ways to ensure that launch arguments are being passed properly:\
34 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.\
35 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.\
36 \
37 Have fun!}