<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>ubuntudoctor</title>
  <subtitle>Ubuntu Linux Tutorials, Articles, Downloads, Clinics and Howto </subtitle>
  <link rel="alternate" type="text/html" href="http://www.ubuntudoctor.com/content/clinic/install-ePSXe-Playstation-Emulator-Version-2"/>
  <link rel="self" type="application/atom+xml" href="http://www.ubuntudoctor.com/node/264/atom/feed"/>
  <id>http://www.ubuntudoctor.com/node/264/atom/feed</id>
  <updated>2008-06-27T13:18:13+07:00</updated>
  <entry>
    <title>Install ePSXe Playstation Emulator (Version 2)</title>
    <link rel="alternate" type="text/html" href="http://www.ubuntudoctor.com/content/clinic/install-ePSXe-Playstation-Emulator-Version-2" />
    <id>http://www.ubuntudoctor.com/content/clinic/install-ePSXe-Playstation-Emulator-Version-2</id>
    <published>2008-06-27T13:18:13+07:00</published>
    <updated>2008-06-27T13:18:13+07:00</updated>
    <author>
      <name>k4tz</name>
    </author>
    <category term="Clinic" />
    <category term="BIOS" />
    <category term="Ubuntu" />
    <summary type="html"><![CDATA[<p>This is a guide to install the freeware Playstation 1 emulator <a href="http://www.epsxe.com/" target="_blank">ePSXe</a> in Ubuntu. It is an updated replacement for <a href="http://ubuntuforums.org/showthread.php?t=95835" target="_blank">this</a> guide, which is based on <a href="http://terror.snm-hgkz.ch/gaming/linux/epsxe_howto/" target="_blank">this</a> guide.</p>
<p> 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 <a href="http://www.pcsx.net/" target="_blank">PCSX</a> (<a href="http://ubuntuforums.org/showthread.php?t=159987" target="_blank">Guide</a>) or pSX (<a href="http://ubuntuforums.org/showthread.php?t=394097" target="_blank">Guide</a>) which is in the repository. </p>
    ]]></summary>
    <content type="html"><![CDATA[<p>This is a guide to install the freeware Playstation 1 emulator <a href="http://www.epsxe.com/" target="_blank">ePSXe</a> in Ubuntu. It is an updated replacement for <a href="http://ubuntuforums.org/showthread.php?t=95835" target="_blank">this</a> guide, which is based on <a href="http://terror.snm-hgkz.ch/gaming/linux/epsxe_howto/" target="_blank">this</a> guide.</p>
<p> 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 <a href="http://www.pcsx.net/" target="_blank">PCSX</a> (<a href="http://ubuntuforums.org/showthread.php?t=159987" target="_blank">Guide</a>) or pSX (<a href="http://ubuntuforums.org/showthread.php?t=394097" target="_blank">Guide</a>) which is in the repository.</p>
<p> 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.</p>
<p> 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.</p>
<p> Installation<br /> Common changes:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 498px; text-align: left;">sudo aptitude install unzip<br />cd ~<br />mkdir ePSXe_install<br />cd ePSXe_install<br />wget <a href="http://www.epsxe.com/files/epsxe160lin.zip" title="http://www.epsxe.com/files/epsxe160lin.zip">http://www.epsxe.com/files/epsxe160lin.zip</a><br /><br />wget <a href="http://www.pbernert.com/gpupetemesagl176.tar.gz" title="http://www.pbernert.com/gpupetemesagl176.tar.gz">http://www.pbernert.com/gpupetemesagl176.tar.gz</a><br />wget <a href="http://www.pbernert.com/gpupetexgl208.tar.gz" title="http://www.pbernert.com/gpupetexgl208.tar.gz">http://www.pbernert.com/gpupetexgl208.tar.gz</a><br />wget <a href="http://www.pbernert.com/gpupeopssoftx117.tar.gz" title="http://www.pbernert.com/gpupeopssoftx117.tar.gz">http://www.pbernert.com/gpupeopssoftx117.tar.gz</a><br />wget <a href="http://www.pbernert.com/gpupeopssoftsdl116.tar.gz" title="http://www.pbernert.com/gpupeopssoftsdl116.tar.gz">http://www.pbernert.com/gpupeopssoftsdl116.tar.gz</a><br /><br />wget <a href="http://www.myte.ca/files/spupeopsoss-alsa109.tar.gz" title="http://www.myte.ca/files/spupeopsoss-alsa109.tar.gz">http://www.myte.ca/files/spupeopsoss-alsa109.tar.gz</a><br />wget <a href="http://www.pbernert.com/spupetenull101.tar.gz" title="http://www.pbernert.com/spupetenull101.tar.gz">http://www.pbernert.com/spupetenull101.tar.gz</a><br />wget <a href="http://www.emuxhaven.net/emuxhaven/psx/plugin/spuEternal141_linux.tgz" title="http://www.emuxhaven.net/emuxhaven/psx/plugin/spuEternal141_linux.tgz">http://www.emuxhaven.net/emuxhaven/psx/plugin/spuEternal141_linux.tgz</a><br /><br />wget <a href="http://www.myte.ca/files/omnijoy-1.0.0-bin32.tar.gz" title="http://www.myte.ca/files/omnijoy-1.0.0-bin32.tar.gz">http://www.myte.ca/files/omnijoy-1.0.0-bin32.tar.gz</a><br />wget <a href="http://members.chello.at/erich.kitzmueller/ammoq/down/padJoy082.tgz" title="http://members.chello.at/erich.kitzmueller/ammoq/down/padJoy082.tgz">http://members.chello.at/erich.kitzmueller/ammoq/down/padJoy082.tgz</a><br /><br />export EPSXE='/usr/local/games/epsxe'<br />sudo mkdir $EPSXE<br />sudo unzip -d $EPSXE epsxe160lin.zip<br />sudo tar xfz gpupetemesagl176.tar.gz -C $EPSXE/plugins/<br />sudo tar xfz gpupetexgl208.tar.gz -C $EPSXE/plugins/<br />sudo tar xfz gpupeopssoftx117.tar.gz -C $EPSXE/plugins/<br />sudo tar xfz gpupeopssoftsdl116.tar.gz -C $EPSXE/plugins/<br /><br />sudo tar xfz spupeopsoss-alsa109.tar.gz -C $EPSXE/plugins/<br />sudo tar xfz spupetenull101.tar.gz -C $EPSXE/plugins/<br />sudo tar xfz spuEternal141_linux.tgz -C $EPSXE/plugins/<br /><br />sudo tar xfz omnijoy-1.0.0-bin32.tar.gz -C $EPSXE/plugins/<br />sudo tar xfz padJoy082.tgz -C $EPSXE/plugins/<br /><br />cd $EPSXE/plugins/<br />sudo mv padJoy/bin/* . <br />sudo rm -rf padJoy<br />sudo mv cfg* ../cfg/<br />sudo mv *.cfg ../cfg/<br />sudo chmod 666 ../cfg/*.cfg<br /><br />cd $EPSXE<br />sudo chmod 777 cfg sstates snap memcards<br />sudo touch memcards/epsxe000.mcr memcards/epsxe001.mcr .epsxerc<br />sudo chmod 666 memcards/*<br />sudo chmod 666 .epsxerc</pre></div>
<p>For Gutsy or Hardy: (note, "upx-ucl-beta" may be "upx-ucl" on Hardy)</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 98px; text-align: left;">sudo aptitude install upx-ucl-beta<br /><br />cd $EPSXE<br />sudo cp epsxe epsxe_bak<br />sudo upx -d epsxe</pre></div>
<p>If you are running a 32 version of Ubuntu before Hardy:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;">sudo aptitude install libgtk1.2-common libgtk1.2 libstdc++2.10-glibc2.2</pre></div>
<p>If you are running 32 bit Hardy:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 82px; text-align: left;">sudo aptitude install libgtk1.2-common libgtk1.2<br />cd ~/ePSXe_install<br />wget <a href="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb" title="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb">http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-...</a><br />sudo dpkg install libstdc++2.10-glibc2.2_2.95.4-24_i386.deb</pre></div>
<p>If you are running a 64bit version of Ubuntu, things are a bit more complex...<br /> First you need to add dfreers repository. Go <a href="http://packages.dfreer.org:8080/#secondary_main_column" target="_blank">here</a> and find your version of Ubuntu and follow the instructions. After you have done that:</p>
<p> For Feisty64: (These steps assume that you have not already installed the 32bit gtk/glib stuff. If you have, you can skip this.)</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 226px; text-align: left;">sudo aptitude install ia32-libs-gtk<br /><br />cd ~/ePSXe_install<br />mkdir tmp_libs<br />cd tmp_libs<br /><br />wget <a href="http://mirrors.kernel.org/ubuntu/pool/main/g/gtk+1.2/libgtk1.2_1.2.10-18_i386.deb" title="http://mirrors.kernel.org/ubuntu/pool/main/g/gtk+1.2/libgtk1.2_1.2.10-18_i386.deb">http://mirrors.kernel.org/ubuntu/pool/main/g/gtk+1.2/libgtk1.2_1.2.10-18...</a><br />wget <a href="http://mirrors.kernel.org/ubuntu/pool/main/g/glib1.2/libglib1.2_1.2.10-17build1_i386.deb" title="http://mirrors.kernel.org/ubuntu/pool/main/g/glib1.2/libglib1.2_1.2.10-17build1_i386.deb">http://mirrors.kernel.org/ubuntu/pool/main/g/glib1.2/libglib1.2_1.2.10-1...</a><br />wget <a href="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb" title="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb">http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-...</a><br />dpkg -x libgtk1.2_1.2.10-18_i386.deb .<br />dpkg -x libglib1.2_1.2.10-17build1_i386.deb .<br />dpkg -x libstdc++2.10-glibc2.2_2.95.4-24_i386.deb .<br />sudo cp usr/lib/* /usr/lib32/</pre></div>
<p>For Gutsy64:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 162px; text-align: left;">sudo aptitude install ia32-libs lib32glib1.2 lib32gtk1.2<br /><br />cd ~/ePSXe_install<br />mkdir tmp_libs<br />cd tmp_libs<br /><br />wget <a href="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb" title="http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-glibc2.2_2.95.4-24_i386.deb">http://mirrors.kernel.org/ubuntu/pool/universe/g/gcc-2.95/libstdc++2.10-...</a><br />dpkg -x libstdc++2.10-glibc2.2_2.95.4-24_i386.deb .<br />sudo cp usr/lib/* /usr/lib32/</pre></div>
<p>Common changes:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;">cd ~<br />rm -rf ePSXe_install</pre></div>
<p>Create a shell script that will start ePSXe:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;">sudo gedit /usr/local/bin/epsxe</pre></div>
<p>and paste this:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 130px; text-align: left;">#!/bin/bash<br /><br />export EPSXE='/usr/local/games/epsxe'<br />export LD_LIBRARY_PATH=$EPSXE<br />cd $EPSXE<br />./epsxe $*<br />chmod 666 $EPSXE/cfg/*.cfg $EPSXE/sstates/* $EPSXE/memcards/*.mcr $EPSXE/snap/* 2&gt;/dev/null</pre></div>
<p>Save/Close, and change permissions for the new file:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" dir="ltr" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;">sudo chmod 755 /usr/local/bin/epsxe</pre></div>
<p>You can now start by typing "epsxe" in the terminal (without "").</p>
<ul>
<li>In the menu, open "Config -&gt; 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/)</li>
<li>Open "Config -&gt; 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.)</li>
<li>In "Config -&gt; 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.)</li>
<li>In Config -&gt; 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.</li>
<li>In Config -&gt; Game Pad -&gt; Pad 1 menu, you can set up the controls with the keyboard. If you have a real controller, use the "Config -&gt; Ext. Game Pad" option, and pick either omnipad or padjoy, click configre, and set your buttons where you want them.</li>
</ul>
<p> <b>Useful Links</b><br /> <a href="http://ubuntuforums.org/showthread.php?t=95835" target="_blank">Original Thread</a><br /> <a href="http://www.myte.ca/files/epsxe.png" target="_blank">Icon</a><br /> <a href="http://forums.ngemu.com/generic-epsxe-queries/93374-epsxe-configuration-guide-linux.html" target="_blank">Another How-To</a><br /> <a href="http://www.pbernert.com/index.htm" target="_blank">Petes Home Page</a><br /> <a href="http://www.razyboard.com/system/user_Pete_Bernert.html" target="_blank">Petes Forum</a><br /> <a href="http://ubuntuforums.org/showthread.php?t=550304" target="_blank">NightCrawler03Xs How-To/Installer</a> (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.)</p>
<p> </p>
<p>Source: UbuntuForums.org</p>
    ]]></content>
  </entry>
</feed>
