Page 1 of 1

Playstation 2 Fix for RetroPie users on Ubuntu

Posted: Sun Dec 17, 2017 6:37 pm
by LeftyFourtwenty
Hey guys for all you Ubuntu users who use retropie you might have noticed ps2 was broken. Since you don't need retropie for ps2 I've written a small guide/ fix. This is my 1st post so be gentle ;)

Remove broken sdl2 from retropie "this wont effect the rest of your retropie set up to to the best of my knowledge"

Replace user with your own user

Code: Select all

cd /home/user/Retropie-Setup
next run this command

Code: Select all

sudo ./retropie_packages.sh sdl2 revert
Next we prevent retropie from installing sdl2 again.

Code: Select all

sudo nano /opt/retropie/configs/all/retropie.cfg

add the following line

Code: Select all

own_sdl2 = "0"
Now save the file

Code: Select all

ctrl + o 
and exit nano

Code: Select all

ctrl + x 
Ok next we need to install the pcsx2 emulator

Code: Select all

sudo dpkg --add-architecture i386
sudo add-apt-repository ppa:gregory-hainaut/pcsx2.official.ppa
sudo apt-get update
sudo apt-get install pcsx2 
To launch he emulator type

Code: Select all

PCSX2
Now you will need configure emulator video, controller and bios paths via gui. Or manually put bios files in
/home/user/.config/PCSX2/bios

Here's an example of attract emulator .cfg just edit rom paths and artwork to match your locations

Code: Select all

# Generated by Attract-Mode v2.2.0-3-dirty
#
executable           PCSX2
args                 --nogui "[romfilename]"
rompath              /home/lefty/RetroPie/roms/ps2/
romext               .bin;.iso;.BIN;.ISO;.mds;.MDS
system               Sony Playstation 2
info_source          thegamesdb.net
artwork    flyer           /home/lefty/RetroPie/roms/ps2/boxart
artwork    marquee         /home/lefty/RetroPie/roms/ps2/marquee
artwork    snap            /home/lefty/RetroPie/roms/ps2/snap
artwork    wheel           /home/lefty/RetroPie/roms/ps2/wheel
Any questions just ask and I'll do my best to help.
Lefty

Re: Playstation 2 Fix for RetroPie users on Ubuntu

Posted: Sat Aug 18, 2018 7:52 am
by gerryilpeloso
Hi I installed retropies on Ubuntu 64 bit, and it gives me errors in dependencies, requires 32-bit ones. Should I use this guide to solve? In case how do I add the pcsx to retropies. Thank you

Re: Playstation 2 Fix for RetroPie users on Ubuntu

Posted: Sat Aug 18, 2018 12:53 pm
by LeftyFourtwenty
Follow the guide dude :) let me know if you get stuck.

Re: Playstation 2 Fix for RetroPie users on Ubuntu

Posted: Sat Aug 18, 2018 3:05 pm
by gerryilpeloso
But disabling the sdl2 I will not have problems with the other emulators?

Re: Playstation 2 Fix for RetroPie users on Ubuntu

Posted: Sat Aug 18, 2018 3:39 pm
by LeftyFourtwenty
I didnt have any issues, as nothing els I use used sdl2. If you install retroarch independently ( i.e not using retropie) it doesnt install the sdl. Its a pie thing mainly i believe but don't quote me on that. ;) I removed retropie completely from my system now and just use retroarch or I install the emulator manual. For example if i need vice i install vice for unbutu, dolphin ect ect. But this should fix the error your getting trying to install ps2 :)

Re: Playstation 2 Fix for RetroPie users on Ubuntu

Posted: Sat Aug 18, 2018 3:58 pm
by LeftyFourtwenty
If you run into sdl issues after you can always revert the changes

Code: Select all

sudo nano /opt/retropie/configs/all/retropie.cfg
remove the following line

Code: Select all

own_sdl2 = "0"
update retropie as usual and it will revert the sdl. But everything worked fine in hyperpie removing the broken sdl package for me.