Install ePSXe Playstation Emulator (Version 2)
This is a guide to install the freeware Playstation 1 emulator ePSXe in Ubuntu. It is an updated replacement for this guide, which is based on this guide.
ePSXe is made for x86 only. If you use powerpc it probably won't work. You might want to try another emulator instead, for example PCSX (Guide) or pSX (Guide) which is in the repository.
Legal note: The installation and use of this emulator requires a Sony Playstation BIOS file. You may not use such a file to play games in a PSX emulator if you do not own a Sony Playstation, Sony PSOne or Sony Playstation 2 console. Owning the BIOS image without owning the actual console is a violation of copyright law. You have been warned. Do NOT ask in this thread, or message me, where to find the BIOS file or game images. Any such messages will be ignored and possibly reported.
Note: This guide is provided as is. I have not personally tested Feisty or other earlier versions of Ubuntu, so your mileage may vary. Although there are no issues caused by this guide that I know of, use at your own risk.
Installation
Common changes:
Code:
sudo aptitude install unzip
cd ~
mkdir ePSXe_install
cd ePSXe_install
wget http://www.epsxe.com/files/epsxe160lin.zip
wget http://www.pbernert.com/gpupetemesagl176.tar.gz
wget http://www.pbernert.com/gpupetexgl208.tar.gz
wget http://www.pbernert.com/gpupeopssoftx117.tar.gz
wget http://www.pbernert.com/gpupeopssoftsdl116.tar.gz
wget http://www.myte.ca/files/spupeopsoss-alsa109.tar.gz
wget http://www.pbernert.com/spupetenull101.tar.gz
wget http://www.myte.ca/files/omnijoy-1.0.0-bin32.tar.gz
wget http://members.chello.at/erich.kitzmueller/ammoq/down/padJoy082.tgz
wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
sudo dpkg -i getlibs-all.deb
export EPSXE='/usr/local/games/epsxe'
sudo mkdir $EPSXE
sudo unzip -d $EPSXE epsxe160lin.zip
sudo tar xfz gpupetemesagl176.tar.gz -C $EPSXE/plugins/
sudo tar xfz gpupetexgl208.tar.gz -C $EPSXE/plugins/
sudo tar xfz gpupeopssoftx117.tar.gz -C $EPSXE/plugins/
sudo tar xfz gpupeopssoftsdl116.tar.gz -C $EPSXE/plugins/
sudo tar xfz spupeopsoss-alsa109.tar.gz -C $EPSXE/plugins/
sudo tar xfz spupetenull101.tar.gz -C $EPSXE/plugins/
sudo tar xfz omnijoy-1.0.0-bin32.tar.gz -C $EPSXE/plugins/
sudo tar xfz padJoy082.tgz -C $EPSXE/plugins/
cd $EPSXE/plugins/
sudo mv padJoy/bin/* .
sudo rm -rf padJoy
sudo mv cfg* ../cfg/
sudo mv *.cfg ../cfg/
sudo chmod 666 ../cfg/*.cfg
cd $EPSXE
sudo chmod 777 cfg sstates snap memcards
sudo touch memcards/epsxe000.mcr memcards/epsxe001.mcr .epsxerc
sudo chmod 666 memcards/*
sudo chmod 666 .epsxerc
(note, "upx-ucl-beta" may be "upx-ucl" on Hardy)
Code:
sudo aptitude install upx-ucl-beta
cd $EPSXE
sudo cp epsxe epsxe_bak
sudo upx -d epsxe
sudo getlibs $EPSXE/epsxe
cd ~
rm -rf ePSXe_install
Create a shell script that will start ePSXe:
Code:
sudo gedit /usr/local/bin/epsxe
and paste this:
Code:
#!/bin/bash
export EPSXE='/usr/local/games/epsxe'
export LD_LIBRARY_PATH=$EPSXE
cd $EPSXE
./epsxe $*
chmod 666 $EPSXE/cfg/*.cfg $EPSXE/sstates/* $EPSXE/memcards/*.mcr $EPSXE/snap/* 2>/dev/null
Save/Close, and change permissions for the new file:
Code:
sudo chmod 755 /usr/local/bin/epsxe
You can now start by typing "epsxe" in the terminal (without "").
- In the menu, open "Config -> BIOS", and set it to /usr/local/games/epsxe/bios/SCPH1001.BIN, click OK. (You must find and obtain ths file yourself. Once you have a copy of it, put it in /usr/local/games/epsxe/bios/)
- Open "Config -> Video", and select either "Pete's MesaGL Driver 1.76", "Pete's XGL2 Driver 2.8" or "P.E.Op.S. Softx Driver 1.17". Click configure, then OK to write a config file. Verify that it is working by clicking the Test button, then OK. (Which one you use depends on your computer.)
- In "Config -> Sound" select "P.E.Op.S. OSS Audio Driver", "P.E.Op.S. ALSA Audio Driver" or "Eternal SPU Plugin", Configure, then OK. Verify that it is working by clicking the Test button, then OK. (The "NULL" driver are for those few games that just don't seem to work with sound. Or if you have a slow computer, and figure you don't care for the sound.)
- In Config -> CDROM, set the path to your CD/DVD-ROM. In most cases it should be /dev/cdrom but in my case /dev/hdc. You can check your path by typing "mount |grep cd" in a console.
- In Config -> Game Pad -> Pad 1 menu, you can set up the controls with the keyboard. If you have a real controller, use the "Config -> Ext. Game Pad" option, and pick either omnipad or padjoy, click configre, and set your buttons where you want them.
Useful Links
Original Thread
Icon
Another How-To
Petes Home Page
Petes Forum
NightCrawler03Xs How-To/Installer (Handy little installer that does most of the work for you. Read the script, and it was safe as of the reading. You will still need to do the "upx -d" fix if you are using Gutsy.)
getlibs A really cool script that may removed about 45 lines from this how-to.
Re: Install ePSXe Playstation Emulator (Version 2)
Nice Felson! I'll give this a try on a pure gutsy AMD64 install, and if I get around to it I'll do feisty as well.
Re: Install ePSXe Playstation Emulator (Version 2)
Re: Install ePSXe Playstation Emulator (Version 2)
Alrighty!
First of all, thank you very much for writing this :)
Now, I have followed this to the tee, when I try to execute epsxe (in any fashion)
I get nothing:
No epsxe
No error message
No feedback whatsoever in term
No epsxe in ps aux
Gutsty, binary nvidia drivers, single x screen on two monitors using twin view.
A little confused on where to go from here to try and find something to fiddle with :)
On a side note, I do have pSX running. Just, missing all the great features from petes graphics plugins!
Any pointers on debugging this thing would be greatly appreciated.
Again, thanks for you time :)
Re: Install ePSXe Playstation Emulator (Version 2)
@dennisharrison
Did you do the
Code:
sudo aptitude install upx-ucl-beta
cd /path/to/epsxe/
cp epsxe epsxe_bak
upx -d epsxe
?
Because what you described sounds exactly like the problem that fixes.
Re: Install ePSXe Playstation Emulator (Version 2)
Quote:
Originally Posted by
Felson
@dennisharrison
Did you do the
Code:
sudo aptitude install upx-ucl-beta
cd /path/to/epsxe/
cp epsxe epsxe_bak
upx -d epsxe
?
Because what you described sounds exactly like the problem that fixes.
Worked like a charm :)
Thank you very much!
Re: Install ePSXe Playstation Emulator (Version 2)
What OS are you running? you said Gutsy, but is it 32 bit or 64? Just wanting to make sure the problem isn't in both. If it is, then I need to correct my how-to
Re: Install ePSXe Playstation Emulator (Version 2)
Quote:
Originally Posted by
Felson
What OS are you running? you said Gutsy, but is it 32 bit or 64? Just wanting to make sure the problem isn't in both. If it is, then I need to correct my how-to
This was on 32bit Gutsy. Sorry, should have mentioned that.
Re: Install ePSXe Playstation Emulator (Version 2)
Alternative to Felsons guide, you can use my installer. Click here for the thread I posted it on:
http://ubuntuforums.org/showthread.p...ighlight=epsxe
Direct link to file:
http://www.freewebtown.com/franky06/installepsxe.tar.gz
Code:
tar -xf installepsxe.tar.gz
rm installepsxe.tar.gz
sh installepsxe
sudo apt-get install upx-ucl-beta
upx -d ~/epsxe/epsxe
This will NOT download the bios, you'll have to do that yourself, as Felson also stated.
I even made this script so that it creates an alias for running epsxe.
Once you've used the installer, exit your terminal then open it again (to register the changes made to ~/.bashrc), then all you need to do is type "epsxe" to run it.
It even downloads all the correct plugins and put everything in the right place for you, all you have to do then is configure them (guide)
With my installer, there's also no need to fuss about with permissions because everything is installed to /home/user/epsxe
This installer works on many distributions of GNU/Linux. Though keep in mind that I myself do not support 64-bit GNU/Linux systems in this script. However, the script itself merely downloads everything and puts it in the right places, so if you follow Felsons guide on installing all of the correct libraries for using ePSXe on 64-bit system, you should be fine with my installer.
Re: Install ePSXe Playstation Emulator (Version 2)
Thanks. Fixed the how-to. Seems that it didn't matter if it was 32 or 64 bit.