View Single Post
Old September 13th, 2007   #1 (permalink)
Franky06
Registered User
 
Franky06's Avatar
 
Join Date: Nov 2006
Location: United Kingdom
Posts: 16
ePSXe install script (GNU/Linux)

* This installer should work for all GNU/Linux distributions *
* It should be noted that you should run this installer as user, not root, as it will download and install everything to a sub-directory of your /home/user directory *

For all you GNU/Linux users out there that want to use ePSXe, but can't set it up due to either laziness or incompetence, I have written an easy to use installer (a simple shell script) for you.

This installer will download and setup the following things:
- ePSXe 1.52
- Pete's XGL2 video plug in for newer graphics cards.
- Pete's Mesa video plug in for older graphics cards.
- Pete's O.S.S SPU plug in.

Things that this installer will NOT download and set up
- The PSX bios file(s). It is illegal to share it since it's Sony's intellectual property. You'll have to dump one from a PSX that you ACTUALLY OWN. You can just download one by searching for it on Google, but I/we won't help you here for the following reason:
1) I/we could get sued, since it's illegal to download the bios when you don't own one.
2) Because of reason #1, it would probably be against this boards rules.

Click here to download the installer

When you have downloaded it, open your command prompt (konsole, rvxt, whatever program you use for terminal emualtion), cd to the folder it's in, so if it was in /home/hesho/installepsxe, you'd type "cd /home/hesho/installepsxe".
Then untar it (tar -xf installepsxe.tar.gz), then type "sh installepsxe" (without the quotes).

The installer will then download all the required files, extract them, and move everything to where it should be.

After that, you'll have everything you need to use ePSXe on your GNU/Linux system.
(the installer will tell you how to run it when you want to)
The only thing you WILL NOT have is the bios, you'll just have to do this yourself.
When wanting to run ePSXe, just type (without the quotes) "~/epsxe/epsxe" or "epsxe" at your command prompt.

It should ne noted that for running it by typing "epsxe", you will have to close your terminal emulator and open it again first. The reason for this, is that the installer will not make a shell script for actually running epsxe, but rather, make an alias by issuing the following:
cd ~
echo alias epsxe="'~/epsxe/epsxe'" >> .bashrc
Your terminal emulator will read ~/.bashrc when opened, and register any commands it finds, so since it hasn't registered the alias yet, you'll need to let it do so before being able to use said alias.

It should also be noted that you still won't be able to play right away. Even after you've got the bios(en), you'll still need to configure all of your plugin settings to get it running correctly on your system. I could also guide you through this myself, but there is a very good guide for it already, on NGemu Forums. Click here

Things you'll need:
- A PC that meets/exceeds ePSXe system requirements
- An internet connection (this installer will download what you need, I'm not distributing the ePSXe binary + plug ins because my web host is a ****ty free one and thus would run out of bandwidth if I did so)
- IMPORTANT! > 3D Video Acceleration (both plug ins that get downloaded use OpenGL extensions)
* The stuff mentioned below you probably already have *
- wget
- tar
- gtk libraries
- and OSS sound sound library
- and other stuff that I can't remember off the top of my head
- and obviously, a running+working graphical server such as Xorg or Xfree86, with a GUI such as Xfce, IceWM, KDE, JWM, etc.
Enjoy!

Extra Note
A lot of Gutsy (Ubuntu 7.10) users are complaining about ePSXe not loading.
This is because the ePSXe binary is upx-compressed, which is the cause of the problem.
So we simply decompress it to get the "real" binary.
Here's how:
Code:
sudo apt-get install upx-ucl-beta
upx -d ~/epsxe/epsxe
Assuming that you used my installer or your ePSXe executable is located in ~/epsxe, this should do the trick.

Also
You'll almost definitely have GTK libraries installed, but you probably don't have libgtk version 1.2 installed. ePSXe relies on this older version.
So do this:
Code:
sudo apt-get install libgtk1.2
(note - this command works for ubuntu. You can run libgtk1.2 on any distro, but the way you install it might be different that that expressed in this command)
Else it will report "error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory".
You could also create a symbolic link to a newer version of libgtk you have, to what would be the library for version 1.2, to trick ePSXe into thinking that you have the older version, but your mileage may vary. I don't personally recommend it.


Relevant Links:
ePSXe Homepage
Game Emulation How-To Links (Courtesy "Felson" of ubuntuforums)
Install ePSXe playstation emulator (Courtesy "Felson" of ubuntuforums)
Another How-To (Courtesy "Shendo" of this very forum)
__________________
This is not a sig, it is an illusion!

Last edited by Franky06; December 7th, 2007 at 14:21. Reason: I found some typos in my post ~now corrected
Franky06 is offline