--- ps2launchargs/source/How to build.rtf 2018/02/07 05:08:54 1101 +++ ps2launchargs/source/How to build.rtf 2018/07/07 01:37:21 1108 @@ -1,8 +1,8 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf200 +{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf400 {\fonttbl\f0\fswiss\fcharset0 Helvetica;} {\colortbl;\red255\green255\blue255;} {\*\expandedcolortbl;;} -\margl1440\margr1440\vieww12600\viewh10200\viewkind0 +\margl1440\margr1440\vieww12600\viewh10820\viewkind0 \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\qc\partightenfactor0 \f0\b\fs28 \cf0 How to Build Custom uLaunchELF\ @@ -11,13 +11,15 @@ by Iritscen\ \pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\pardirnatural\partightenfactor0 \cf0 \ -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.\ +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.\ \ -2. In the msys command prompt, switch to the uLaunchELF/ directory.\ - A. Execute "make".\ - 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.\ - 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.\ - C. Back out to the uLaunchELF/ directory and execute "make" again. The build should complete, producing a BOOT.ELF in this directory.\ - 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.\ +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.\ \ -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.} \ No newline at end of file +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.)\ + 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.\ + 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.\ + C. Execute "make" again from the uLaunchELF/ directory. The build should complete, producing a BOOT.ELF in this directory.\ +\ +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.\ +\ +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.} \ No newline at end of file