Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old November 27th, 2005   #1
johannes
A Carafe of Ubuntu
 
Join Date: Jun 2005
Location: Sweden
Beans: 113
Install ePSXe Playstation Emulator

This guide is outdated and will not be updated anymore.
Try using one of these instead:
http://ubuntuforums.org/showthread.php?t=612021
http://ubuntuforums.org/showthread.php?t=550304]

This is a guide to install the freeware Playstation 1 emulator ePSXe in Ubuntu. It is based on this guide, which I found a bit outdated.

ePSXe is made for x86 (common pc) only. If you use powerpc it probably won't work. You might want to try another emulator instead, for example PCSX. An installation guide can be found in this link. Apparently it is possible to run it using an amd64 system, but to do that you need to install some 32 bit libraries, see this post.

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.

Installation

First, open a terminal and install the packages that you will need:
Code:
sudo apt-get install unzip libgtk1.2-common libgtk1.2
Get the ePSXe base package:
Code:
wget http://www.epsxe.com/files/epsxe160lin.zip
Make the installation folder by typing:
Code:
sudo mkdir /usr/local/games/epsxe
Since typing this whole path we just added is tedious and clutters up this text, we will store it in a shell variable using the export command. That way, we can call it up by typing $varname, which we'll have to do a few more times...
Code:
export EPSXE='/usr/local/games/epsxe'
Extract the ePSXe package and set up permissions:
Code:
sudo unzip -d $EPSXE ~/epsxe160lin.zip
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
If you own a Playstation system, get the PSX Bios _somewhere.around.the.internet_:
Code:
sudo mv ~/SCPH1001.BIN $EPSXE/bios/
You can run the emulator with either software render or hardware acceleration plugin. The latter requires a NVIDIA, ATI, or similar card with working OpenGL drivers. You can install both and use the one that works best for you. The hardware acceleration plugin in this how-to apperantly requires a quite new card (I don't know how new though). If it doesn't work there is an older plugin that uses MesaGL. Look here. The installation is quite similar, but I don't care to include it in this guide.

Install hardware acceleration plugin:
Code:
cd ~
wget http://www.pbernert.com/gpupetexgl208.tar.gz
sudo tar xfz ~/gpupetexgl208.tar.gz -C $EPSXE/plugins/
sudo mv $EPSXE/plugins/cfgPeteXGL2 $EPSXE/cfg/
sudo mv $EPSXE/plugins/gpuPeteXGL2.cfg $EPSXE/cfg/
sudo chmod 666 $EPSXE/cfg/gpuPeteXGL2.cfg
Install software render plugin:
Code:
cd ~
wget http://www.pbernert.com/gpupeopssoftx117.tar.gz
sudo tar xfz ~/gpupeopssoftx117.tar.gz -C $EPSXE/plugins/
sudo mv $EPSXE/plugins/cfgPeopsSoft $EPSXE/cfg/
sudo mv $EPSXE/plugins/gpuPeopsSoftX.cfg $EPSXE/cfg/
sudo chmod 666 $EPSXE/cfg/gpuPeopsSoftX.cfg
Install audio plugin (uses the OSS sound daemon):
Code:
cd ~
wget http://www.pbernert.com/spupeopsoss109.tar.gz
sudo tar xvfz ~/spupeopsoss109.tar.gz -C $EPSXE/plugins/
sudo mv $EPSXE/plugins/cfgPeopsOSS $EPSXE/cfg/
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 it 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 "").

Configuration
  • In the menu, open "Config -> BIOS", and set it to /usr/local/games/epsxe/bios/SCPH1001.BIN, click OK.

  • Open "Config -> Video", and select either "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.

  • In "Config -> Sound" select "P.E.Op.S. OSS Audio Driver", Configure, then OK. Verify that it is working by clicking the Test button, then OK.

  • 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. If you want to use a real PSX Joypad to play with, you have to search for a advices elsewhere, since I don't have one that I can use with my computer or any experience using them in Linux. There is a guide in the original howto, referred to in the beginning of this text, but as said, I haven't tried it.

Now you should be all set. If you want to use an original PSX CD-ROM, insert it and select "File -> Run CDROM" It might take a while for the game to load, so be patient. You can also load backup ISO:s from your hard disk with "File -> Run ISO. When you are running your game you can press Esc any time to exit, save/load game states, or change discs. To get back, select Run -> Continue.

Troubleshooting
  • Problems with segmentation faults using PeteXGL2 plugin, See this reply.
    e.g:
Code:
* Init gpu[0][libgpuPeteXGL2.so.2.0.8]
/usr/local/bin/epsxe: line 6: 25248 Segmentation fault ./epsxe
  • Problems with Chrono Cross and possibly others might be solved by using an older version of Epsxe. See here.

If you have other problems with plugins that you can't solve by reading the discussions/replies in this thread, check out Pete’s Domain and try using some of the other plugins not covered by this guide.

Have fun, and if you run into problems, post here and hopefully you will get help...

The mandatory howto screenshot. The game is Final Fantasy 7:


Last edited by johannes; November 29th, 2007 at 05:10 PM.. Reason: outdated
johannes is offline   Reply With Quote
Old November 28th, 2005   #2
bored2k
Skinny Extra Sweet Ubuntu
 
bored2k's Avatar
 
Join Date: Feb 2005
My beans are hidden!
Re: Install ePSXe Playstation Emulator

Note: No posting download links for any of the PSX Bios files.
__________________
Sylvia: Look at what you've done to him!
Christof: I have given Truman the chance to lead a normal life. The world, the place you live in, is the sick place.
bored2k is offline   Reply With Quote
Old November 28th, 2005   #3
johannes
A Carafe of Ubuntu
 
Join Date: Jun 2005
Location: Sweden
Beans: 113
Re: Install ePSXe Playstation Emulator

Okay. Yeah, that might be a good idea.
johannes is offline   Reply With Quote
Old December 3rd, 2005   #4
Havoc
A Carafe of Ubuntu
 
Havoc's Avatar
 
Join Date: Mar 2005
Location: Greece!
Beans: 124
Ubuntu 9.10 Karmic Koala
Re: Install ePSXe Playstation Emulator

Yup, this howto works great.Just waht I was looking for!

You can find more linux plugins Here.
Be carefull though, some crash epsxe, because they depend on libraries that either do not exist, or are outdated.So, either prefer the open-source ones, and compile them on you system, or just stick to the ones mentioned here.
I just have to say that Pete's MesaGL plugin worked great for me, along with Omnijoy, which I compiled (No big deal).The only one that did not work was Eternal SPU.

Keep it up!
__________________
"Ubuntu" is an ancient African word, meaning: "I can't configure Debian."
Havoc is offline   Reply With Quote
Old December 21st, 2005   #5
yaztromo
Gee! These Aren't Roasted!
 
Join Date: Nov 2005
Location: South Yorkshire, UK
Beans: 208
Xubuntu 9.10 Karmic Koala
Re: Install ePSXe Playstation Emulator

Brilliant guide thank you.

On my system the xgl2 driver causes a "couldn't get fbconfig" error. I changed to the mesa plugin mentioned above and is working okay for me.
yaztromo is offline   Reply With Quote
Old December 21st, 2005   #6
poofyhairguy
SADFL's Commando
 
poofyhairguy's Avatar
 
Join Date: Nov 2004
Location: Texas
Beans: 2,351
Send a message via AIM to poofyhairguy
Re: Install ePSXe Playstation Emulator

Wow! I can't wait to try this! For the life of me I could not get it to work in Breezy before, but I could with Hoary.

Thanks a lot! Perfect timing (I was learned how to chroot Hoary to fix this problem previously).
__________________
Quote:
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.
- Mark Shuttleworth
poofyhairguy is offline   Reply With Quote
Old January 11th, 2006   #7
Twizz
5 Cups of Ubuntu
 
Join Date: Dec 2005
Beans: 40
Re: Install ePSXe Playstation Emulator

Hi, is there a way for me to get my own Bios File from my PS2? I have the SCPH-30001(Camped out for it on release day) I also have a PSOne. My PS2 is hooked up with a Network Adaptor trew my router. I'm really wanteing to Play Xenogears again hehe.
Twizz is offline   Reply With Quote
Old January 28th, 2006   #8
TFleck
5 Cups of Ubuntu
 
Join Date: Dec 2005
Location: Porto Alegre - Brazil
Beans: 20
Re: Install ePSXe Playstation Emulator

Oh my! Its working perfectly! thank you!
Here is my screen:
TFleck is offline   Reply With Quote
Old March 9th, 2006   #9
n1tro
5 Cups of Ubuntu
 
Join Date: Aug 2005
Beans: 22
Re: Install ePSXe Playstation Emulator

Great tutorial. Got mine working in a few minutes! Here's a screenshot for encouragement. Playing Tenchu Steath Assasins off a cd and it loads fast!

n1tro is offline   Reply With Quote
Old May 2nd, 2006   #10
Clazziquai
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 3
Re: Install ePSXe Playstation Emulator

A bit of a problem...
kuja@shugotenshi:~$ epsxe
* Running ePSXe emulator version 1.6.0.
* Memory handlers init.
* ePSXe: PSX BIOS loaded [/usr/local/games/epsxe/bios/Scph1001.bin].
* Init internal cdrom ... ok
CD read toc header failed (25)
* First/Last track: 7 2
* Track 1: CD get track start failed (25)
(AUDIO) - Start 0: (00,00,00)
* Track 2: CD get track start failed (25)
(AUDIO) - Start 1: (00,00,00)
CD(0,2,16) read ioctl failed (25)
CD(13,1,23) read ioctl failed (25)
CD(13,1,24) read ioctl failed (25)
* NTSC cdrom detected.
* Init gpu[0][libgpuPeteXGL2.so.2.0.8]
/usr/local/bin/epsxe: line 6: 25248 Segmentation fault ./epsxe
My card is an NVIDIA TNT2.

I hope someone knows what's up, thanks.
Clazziquai is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:14 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry