ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/ps2launchargs/Instructions.rtf
Revision: 1102
Committed: Sun Feb 18 15:18:35 2018 UTC (7 years, 7 months ago) by iritscen
Content type: application/rtf
File size: 3088 byte(s)
Log Message:
A few tweaks to ps2launchargs:
- Added LAUNCHELF.CNF, which allows me to specify a color for highlighted menu items in uLE that a colorblind person can see more easily.
- Customized version string of uLE as it appears in upper-right of UI.
- The LaunchArgs.txt in the source folder no longer uses incorrect argument syntax, and now simply matches the one in the main folder.
- Updated Instructions.rtf in minor ways.

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 the Mac build of PCSX2 (as of v0.97), nor in virtualized Windows on a Mac (at least, not in Fusion vmWare as of v10.1.1). 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. 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 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!}