Difference between revisions of "EPSXe playstation emulator"

From ArchWiki
Jump to: navigation, search
m (changed bin32-* to lib32-* under trouble shooting in order to match the proper name in the repository)
m
(19 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Emulators (English)]]
+
This is a guide to install the freeware Playstation emulator ePSXe.
[[Category:HOWTOs (English)]]
+
 
+
=About=
+
This is a guide to install the freeware Playstation emulator ePSXe. It is based on [http://terror.snm-hgkz.ch/gaming/linux/epsxe_howto/ this] guide, which is a bit outdated.
+
  
 
{{Warning|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.}}
 
{{Warning|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=
+
==Installation==
'''ePSXe is now in [[AUR]] [http://aur.archlinux.org/packages.php?ID=10745 here]. Manual installation as described below is no longer needed. Please skip ahead to [[Epsxe_playstation_emulator#Configuration|Configuration]].'''
+
Many plugins can also be found on AUR [http://aur.archlinux.org/packages.php?K=epsxe-plugin here].
+
 
+
==Installation from AUR==
+
 
+
'''Using yaourt'''
+
 
+
  yaourt -S epsxe epsxe-launcher-python epsxe-plugin-gpu-mesagl epsxe-plugin-gpu-xgl2 epsxe-plugin-padjoy epsxe-plugin-spu-alsa
+
 
+
'''Manual'''
+
 
+
Build and install the above packages.
+
 
+
Example:
+
  cd /path/to/your/build/dir
+
  wget http://aur.archlinux.org/packages/epsxe/epsxe.tar.gz 
+
  tar -zxvf epsxe.tar.gz
+
  cd epsxe
+
  makepkg
+
  
I recommend '''really''' to install the launcher package - it takes much work from you. :)
+
Install [https://aur.archlinux.org/packages.php?ID=10745 epsxe] from the [[AUR]].
  
'''Running'''
+
Many [https://aur.archlinux.org/packages.php?K=epsxe-plugin plugins] can also be found on AUR.
  
 
Start epsxe with the lauchner (located in /usr/bin/), it creates .epsxe in your home and links to epsxe.
 
Start epsxe with the lauchner (located in /usr/bin/), it creates .epsxe in your home and links to epsxe.
  
==Manual Install (deprecated)==
+
==Configuration==
First, open a console and install the packages that you will need:
+
pacman -Sy unzip gtk
+
 
+
Get the ePSXe base package:
+
wget http://www.epsxe.com/files/epsxe160lin.zip
+
 
+
Extract the ePSXe package and set up permissions:
+
mkdir /usr/share/epsxe
+
export EPSXE='/usr/share/epsxe'
+
unzip -d $EPSXE ~/epsxe160lin.zip
+
cd $EPSXE
+
chmod 777 cfg sstates snap memcards
+
touch memcards/epsxe000.mcr memcards/epsxe001.mcr .epsxerc
+
chmod 666 memcards/*
+
chmod 666 .epsxerc
+
 
+
If you own a Playstation system, get the PSX Bios _somewhere.around.the.internet_ put it in your home folder and:
+
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 (not known how new though). If it doesn't work there is an older plugin that uses MesaGL. Look [http://www.pbernert.com/html/gpu.htm here].
+
 
+
Install hardware acceleration plugin:
+
cd ~
+
wget http://www.pbernert.com/gpupetexgl208.tar.gz
+
tar xfz ~/gpupetexgl208.tar.gz -C $EPSXE/plugins/
+
mv $EPSXE/plugins/cfgPeteXGL2 $EPSXE/cfg/
+
mv $EPSXE/plugins/gpuPeteXGL2.cfg $EPSXE/cfg/
+
chmod 666 $EPSXE/cfg/gpuPeteXGL2.cfg
+
 
+
Install software render plugin:
+
cd ~
+
wget http://www.pbernert.com/gpupeopssoftx117.tar.gz
+
tar xfz ~/gpupeopssoftx117.tar.gz -C $EPSXE/plugins/
+
mv $EPSXE/plugins/cfgPeopsSoft $EPSXE/cfg/
+
mv $EPSXE/plugins/gpuPeopsSoftX.cfg $EPSXE/cfg/
+
chmod 666 $EPSXE/cfg/gpuPeopsSoftX.cfg
+
 
+
Install audio plugin (uses the OSS sound daemon):
+
cd ~
+
wget http://www.pbernert.com/spupeopsoss109.tar.gz
+
tar xvfz ~/spupeopsoss109.tar.gz -C $EPSXE/plugins/
+
mv $EPSXE/plugins/cfgPeopsOSS $EPSXE/cfg/
+
 
+
Create a shell script that will start ePSXe:
+
nano /usr/bin/epsxe
+
 
+
and paste this:
+
#!/bin/bash
+
export EPSXE='/usr/share/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:
+
chmod 755 /usr/bin/epsxe
+
 
+
You can now start by typing 'epsxe' in the terminal.
+
 
+
=Configuration=
+
 
*In the menu, open "Config -> BIOS", and set it to /usr/share/epsxe/bios/SCPH1001.BIN
 
*In the menu, open "Config -> BIOS", and set it to /usr/share/epsxe/bios/SCPH1001.BIN
  
Line 114: Line 30:
 
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.
 
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.
  
=Problems and Workarounds=
+
==Problems and Workarounds==
 
'''Plugins are not listed'''
 
'''Plugins are not listed'''
  
Line 125: Line 41:
  
 
Sometimes the symlinks in ~./epsxe will not let you run the epsxe executable even if the permission are correct and the link is working. You may simply copy the epsxe executable from /opt/epsxe to ~/.epsxe this can also be done for any other files or folders whose symlinks are not working correctly.
 
Sometimes the symlinks in ~./epsxe will not let you run the epsxe executable even if the permission are correct and the link is working. You may simply copy the epsxe executable from /opt/epsxe to ~/.epsxe this can also be done for any other files or folders whose symlinks are not working correctly.
 
'''Possible errors on a 64bit System'''
 
"epsxe: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64"
 
 
Mostly "wrong ELF class" means it tries to load 64 bit libs with a 32bit binary, install the lib32-* packages according to the error.
 
  
 
'''Settings will not be saved'''
 
'''Settings will not be saved'''
Line 135: Line 46:
 
It's a similar problem like not listed plugins. I recommend to install the epsxe-launcher-python package, it creates the directories for epsxe in your home too.
 
It's a similar problem like not listed plugins. I recommend to install the epsxe-launcher-python package, it creates the directories for epsxe in your home too.
  
=Links=
+
'''Sound device not found'''
 +
 
 +
If you using alsa and the sound plugin doesn't have sound, run :
 +
# modprobe snd-pcm-oss
 +
 
 +
==Links==
 
*ePSXe - http://www.epsxe.com/
 
*ePSXe - http://www.epsxe.com/
 
*Pete's PSX plugins - http://www.pbernert.com/index.htm
 
*Pete's PSX plugins - http://www.pbernert.com/index.htm
*ePSXe on AUR - http://aur.archlinux.org/packages.php?ID=10745
+
*ePSXe on AUR - https://aur.archlinux.org/packages.php?ID=10745
 +
 
 +
[[Category:Gaming]]
 +
[[Category:Emulators]]

Revision as of 17:09, 26 September 2012

This is a guide to install the freeware Playstation emulator ePSXe.

Warning: 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

Install epsxe from the AUR.

Many plugins can also be found on AUR.

Start epsxe with the lauchner (located in /usr/bin/), it creates .epsxe in your home and links to epsxe.

Configuration

  • In the menu, open "Config -> BIOS", and set it to /usr/share/epsxe/bios/SCPH1001.BIN
  • Open "Config -> Video", and select either "Pete's XGL2 Driver 2.7" 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.
  • In "Config -> Sound" select "P.E.Op.S. OSS Audio Driver", Configure, OK. Verify with the Test button.
  • In Config -> CDROM, set the path to your CD/DVD-ROM. In most cases it should be /dev/cdrom but in some /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.

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 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.

Problems and Workarounds

Plugins are not listed

Sometimes epsxe will not recognize your plugins even though they may be correctly installed. They should be installed to /opt/epsxe/cfg and /opt/epsxe/plugins a solution to this is to run epsxe once (if you have not already) and the file "epsxerc" will be generated in ~/.epsxe open it and it will list plugins. They may say "DISABLED" or list a plugin that dose not exist (such as libgpu.so or libspu.so) simply change the string to the plugin you have in your /opt/epsxe/plugins folder. Run epsxe and it should be working.

NOTE: If your are running epsxe from a 32bit chroot you will need install nvidia-utils (pacman -S nvidia-utils) to the chroot enviorment to use the xgl2 plugin.

File not found

Sometimes the symlinks in ~./epsxe will not let you run the epsxe executable even if the permission are correct and the link is working. You may simply copy the epsxe executable from /opt/epsxe to ~/.epsxe this can also be done for any other files or folders whose symlinks are not working correctly.

Settings will not be saved

It's a similar problem like not listed plugins. I recommend to install the epsxe-launcher-python package, it creates the directories for epsxe in your home too.

Sound device not found

If you using alsa and the sound plugin doesn't have sound, run :

# modprobe snd-pcm-oss

Links