Due to some forum glitch, this guide was temporary removed shortly after being posted in our forums. So if anyone seen this in the forum and wonder what the heck happen to this great tutorial. Fear no more the 2013 OPL Compile Guide by Bat Rastard is back and will not disappear again. We apologize for any inconvenience this may of caused and we are looking into the issue. For all the details checkout this detailed guide below by Bat Rastard.
The following will guide you through compiling the homebrew PS2 toolchain and OpenPS2Loader from a clean VM or install of Linux Mint 14 and other Ubuntu-based variants.
Linux Mint 14 ISOs can be snagged here:
http://www.linuxmint.com/download.php
As you can see from the above link, Linux Mint ISOs are separated by desktop environment -- Cinnamon, KDE, XFCE, and MATE (pronounced mah-tay) -- and architecture (x32 and x64). Since 64-bit support in the toolchain is bugged/broken at the time of this writing, 32-bit is the only way to go. This guide will focus on the 32-bit Cinnamon spin for the sake of consistency/familiarity. Cinnamon is a fork of the Gnome3 desktop, and thus you might already be familiar with "gedit" as your text editor (as opposed to "kate" for KDE, and "pluma" for MATE/XFCE). Also, the default file manager Nautilus was forked by the Mint developers and it's now called Nemo ...
With those caveats out of the way, let's get started ...
Highlight the following code with your mouse and chose "Copy" so its in your clipboard ...
export PS2DEV=/usr/local/ps2dev export GSKIT=$PS2DEV/gsKit export PS2SDK=$PS2DEV/ps2sdk export PATH=$PATH:$PS2DEV/bin export PATH=$PATH:$PS2DEV/ee/bin export PATH=$PATH:$PS2DEV/iop/bin export PATH=$PATH:$PS2DEV/dvp/bin export PATH=$PATH:$PS2SDK/bin
$ sudo gedit ~/.profile
After the text-editor opens your ./profile, use your arrow keys to move the blinking cursor to the bottom. Once you're on the last line, you may also have to press "END" to make sure the cursor is at the very end of any existing text. If that's the cast, press "ENTER/RETURN" once at this point to make the blank line manually, followed by a right click and "PASTE". Then click "SAVE" at the top and close the editor ...
Now, you have to source your ./profile ...
$ source ~/.profile
Next, download the "ps2sdk-scripts.tar.gz" file (see attachment below) file. Move it out of your "Downloads" folder and into your HOME folder, then extract it. Once that's taken care of, take a moment. By all means, if you're hungry or nature's calling, take care of it. Because we're about to open Terminal to execute the build script ...
$ sudo ./install-ps2sdk.sh
Another reason to babysit it is at around the 8 to 12 minute mark or so (depending on your computer), the script gets to the part of building PS2-Packer, and this is the part that tends to break or fail the most, giving you an error and terminating the script. The vast majority as to why this happens (in my experience at least) is because the script automatically adds the first step (i.e. editing/sourcing ./profile) as well as makes necessary symlinks (or attempts to fix any broken ones). Alas, this doesn't always prove successful. Hence why we did the first step manually and made sure the ./profile was sourced and verified. The babysitting also helps ensure all the "sudos" within the script itself make the most out of their shelf-life before demanding the password again. Since I've done this across Mint 11, 12, 13, and now 14, the steps we've taken so far is sort of an insurance policy: 20% of the time, PS2Packer will puke at this point; 80% of the time PS2Packer builds nicely for me, I'm greeted with the "Success" confirmation message.
If you see the "Success" confirmation message, I recommend sourcing your ./profile again before proceeding.
With the PS2DEV toolchain ready, let's move on to OpenPS2Loader ...
Open Terminal again (in case you closed it) and type the following ...
$ cd ps2sdk-scripts $ sudo ./install-opl.sh
$ cd open-ps2-loader $ make rebuild
While we're at it, let's double check something. Type the following in Terminal ...
$ cd $home $ ls -l
$ sudo chown -R <username>:<username> open-ps2-loader
Congrats! You can now build the "release" version of OPL at anytime!
But what about Beta builds? No problem!
Open terminal again, and then clone the "doctorxyz" repo ...
$ mkdir opl_beta $ cd opl_beta $ hg clone https://bitbucket.org/doctorxyz/open-ps2-loader
You can also clone doctorxyz's OPL+GSM integrated builds in the same fashion ...
$ mkdir opl_gsm $ cd opl_gsm $ hg clone https://bitbucket.org/doctorxyz/opl_gsm
That's should cover all the bases ...
In the next post, I'll walk you through manually compiling PS2Packer just in case the attached script bombs out on you.
Attachment Download: ps2sdk-scripts.tar.gz
Discussion Thread: Link
● Latest News ● Report News ● Search Forums ● Hall of Fame ●
● Facebook.com/PSXScene ● RSS ● Twitter.com/psx_scene ●







Recent Threads

Recent Comments
vBulletin Message