1 |
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400
|
2 |
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
|
3 |
{\colortbl;\red255\green255\blue255;}
|
4 |
{\*\expandedcolortbl;;}
|
5 |
\margl1440\margr1440\vieww12600\viewh10820\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 Build Custom uLaunchELF\
|
9 |
(with launch argument support)
|
10 |
\b0 \
|
11 |
by Iritscen\
|
12 |
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0
|
13 |
\cf0 \
|
14 |
1. Unzip gshi_ps2sdk.7z, which is a prebuilt binary version of ps2sdk, the reverse-engineered open-source PS2 SDK. Be warned, this zip contains many thousands of files because it includes a preinstallation of msys and the needed tools for building projects with ps2sdk. Follow the instructions in the expanded .7z for installation of ps2sdk.\
|
15 |
\
|
16 |
Note: This version of ps2sdk has been patched in order to be capable of building uLaunchELF (uLE), but the patches were probably intended for a different version of uLE. I had to customize a specific version of uLE (v4.40h) that was compatible with PCSX2, which will cause a problem in step 2.\
|
17 |
\
|
18 |
2. On the msys command prompt, switch to the uLaunchELF/ directory to build my slightly-customized version of the open-source boot loader. (The changes I made to the uLE source files are marked with "Iritscen:" comments.)\
|
19 |
A. Execute "make". The build process will fail halfway through, probably due to the issue explained in the note above. You should receive a build error originating from the uLaunchELF/hdl_info/ directory.\
|
20 |
B. Open hdl_info/Makefile for editing. As my comment in the file indicates, you need to remove the "-c" option from IOP_CFLAGS. Save the file.\
|
21 |
C. Execute "make" again from the uLaunchELF/ directory. The build should complete, producing a BOOT.ELF in this directory.\
|
22 |
\
|
23 |
Note: To build uLE in the future, you will need to restore the hdl_info Makefile's "-c" option and then go through steps 2A\'96C again.\
|
24 |
\
|
25 |
3. Use this BOOT.ELF binary along with the other files supplied in the directory above source/ to supply launch arguments to your PS2 game in PCSX2 using the steps in Instructions.rtf.} |