1 |
< |
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 |
1 |
> |
{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400 |
2 |
|
{\fonttbl\f0\fswiss\fcharset0 Helvetica;} |
3 |
|
{\colortbl;\red255\green255\blue255;} |
4 |
|
{\*\expandedcolortbl;;} |
5 |
< |
\margl1440\margr1440\vieww12600\viewh10200\viewkind0 |
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\ |
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. Be warned, this zip contains many thousands of files because it also contains a preinstallation of msys and the needed tools for building projects with ps2sdk. Follow the instructions in the expanded .7z for installation of ps2sdk.\ |
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 |
< |
2. In the msys command prompt, switch to the uLaunchELF/ directory.\ |
17 |
< |
A. Execute "make".\ |
18 |
< |
Note: The build process will fail halfway through; although the supplied ps2sdk has been patched to allow builds of uLE, the patches were probably intended for a different version of uLE. I had to customize an old version of uLE (v4.40h) that was still compatible with PCSX2 (the changes I made to a few files are noted with "Iritscen:" comments). So because this version is slightly out of sync with the patches, you will receive a build error originating from the uLaunchELF/hdl_info/ directory.\ |
19 |
< |
B. Switch into the hdl_info/ directory and open Makefile for editing. As my comment in the file indicates, you need to remove the "-c" option from IOP_CFLAGS. Save the file and close it.\ |
20 |
< |
C. Back out to the uLaunchELF/ directory and execute "make" again. The build should complete, producing a BOOT.ELF in this directory.\ |
21 |
< |
Note: To build uLE again in the future, you will need to restore the Makefile's "-c" option and go through the process of failed build->removal of "-c"->completion of build.\ |
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 |
< |
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.} |
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.} |