Emuforums.com

Go Back   Emuforums.com > PSX Emulation > ePSXe Discussion > Generic ePSXe Queries
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
LinkBack Thread Tools Display Modes
Old October 25th, 2007   #1 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 7
problem with ePSXe in Linux

Hi to all! I have a big problem about my ePSXe in Linux (Ubuntu Gutsy Gibbon). The executable file just doesn't start. I've tried to launch it by terminal, but the output is:

andrea@andrea-desktop:~/Downloads/epsxe160lin$ sh epsxe
epsxe: 1: ELFLinux��44: not found
epsxe: 2: 1�X���T�P���RQ��: not found
epsxe: 4: Syntax error: "(" unexpected
andrea@andrea-desktop:~/Downloads/epsxe160lin$

Note that the strange simbols are in my terminal too.

please help me! And sorry for my bad english...
Shadow-5471 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old October 26th, 2007   #2 (permalink)
Moderator
 
ShendoXT's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 4,207
That problem is related to 2.6.22 kernel.
In order to run ePSXe on Gutsy Gibbon you will have to compile and install newer kernel.

Here is how to do that (I used the latest stable kernel 2.6.23.1):
Open Terminal and enter:
Code:
sudo passwd root
su

sudo apt-get update
sudo apt-get install kernel-package libncurses5-dev fakeroot wget bzip2

cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.1.tar.bz2

sudo tar xjf linux-2.6.23.1.tar.bz2
sudo ln -s linux-2.6.23.1 linux-2.6.23.1
cd /usr/src/linux-2.6.23.1

cp /boot/config-`uname -r` ./.config

make menuconfig
In kernel config menu go to "Load an Alternate Configuration File" and enter .config.
Go to Processor type and features, select Processor Family and choose the one you have.
When you are done just save and exit.

Now enter this:
Code:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

cd /usr/src
ls -l
Now go to /usr/src and run these packages:
linux-image-2.6.18.1-custom_2.6.23.1-custom-10.00.Custom_i386.deb
linux-headers-2.6.18.1-custom_2.6.23.1-custom-10.00.Custom_i386.deb

And that's it, reboot the machine now.
When the GRUB is loading press Esc and select a new kernel.
Attached Images
File Type: png epsxegutsyrn.png (149.9 KB, 35 views)
__________________
C2D E8400 3.00 Ghz | EP45-DS3 | HD4850 512MB | 4GB DDR2 800 | 640 + 250 GB HDD
SyncMaster 2233BW 22" | Razer DeathAdder | Logitech G15 | Windows 7 x64

Last edited by ShendoXT; November 13th, 2007 at 21:22..
ShendoXT is offline   Reply With Quote
Old October 26th, 2007   #3 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 7
Thx! I'm downloading the kernel, later I'll compile it. I let know you if I get any problem.
Shadow-5471 is offline   Reply With Quote
Old October 26th, 2007   #4 (permalink)
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 3,339
Epsxe will work on Gustsy amd64?
__________________
[Windows 7 RTM PRO X64][Gigabyte GA-G31M-S2L][Intel E5200@2.5Ghz][Corsair XMS2 DHX 4GB DDR2 800MHz][HIS HD4670 1GB GDDR3][19" LCD SyncMaster T190][Samsung SATA II HD322HJ 320GB][LG DVD-RAM GH22NS30]
E5x00 - Overclocking Thread
Mad is offline   Reply With Quote
Old October 26th, 2007   #5 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 7
Neither. I have done all, but epsxe doesnt want to start. The output is the same:

andrea@andrea-desktop:~/Downloads/epsxe160lin$ sh epsxe
epsxe: 1: ELFLinux��44: not found
epsxe: 2: 1�X���T�P���RQ��: not found
epsxe: 4: Syntax error: "(" unexpected
andrea@andrea-desktop:~/Downloads/epsxe160lin$

I'm getting crazy...

Install ePSXe Playstation Emulator - Page 18 - Ubuntu Forums

It's the soultion of the problem.

Last edited by Shadow-5471; October 27th, 2007 at 13:14.. Reason: Automerged Doublepost
Shadow-5471 is offline   Reply With Quote
Old October 27th, 2007   #6 (permalink)
Moderator
 
ShendoXT's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 4,207
Well I got it working by installing a new kernel, as you can see from my pic.

sh ePSXe does not work but "./epsxe" should.

Thanks for posting the other solution, btw.
__________________
C2D E8400 3.00 Ghz | EP45-DS3 | HD4850 512MB | 4GB DDR2 800 | 640 + 250 GB HDD
SyncMaster 2233BW 22" | Razer DeathAdder | Logitech G15 | Windows 7 x64

Last edited by ShendoXT; May 12th, 2009 at 18:13.. Reason: Fixed a small error
ShendoXT is offline   Reply With Quote
Old November 10th, 2007   #7 (permalink)
Registered User
 
Join Date: Jun 2007
Location: midwest USA
Posts: 3
as long as you just compiled your own kernel

why not slim down the configuration a little while your at it, just do make menuconfig in the directory you extracted the kernel to and unmark any option under device drivers you KNOW you don't have (don't go too crazy though or you might not be able to boot)
g2g591 is offline   Reply With Quote
Old November 13th, 2007   #8 (permalink)
Registered User
 
Join Date: Nov 2007
Location: Canada
Posts: 2
Just to save people some pain, here is the non-kernel way to fix ePSXe (if you have the 32bit libs installed).
It seems that ePSXe is a UPX compressed executable, which seems to have an issue with that kernel.

Code:
sudo aptitude install upx-ucl-beta
cd /path/to/epsxe
cp epsxe epsxe_bak
upx -d epsxe
Just figured I would post the relevant parts here, since this is a logical place to look.

Last edited by Felson; November 13th, 2007 at 21:00..
Felson is offline   Reply With Quote
Old November 13th, 2007   #9 (permalink)
Moderator
 
ShendoXT's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 4,207
Thanks for that, I linked your post in the ePSXe Linux config guide (near the end).
__________________
C2D E8400 3.00 Ghz | EP45-DS3 | HD4850 512MB | 4GB DDR2 800 | 640 + 250 GB HDD
SyncMaster 2233BW 22" | Razer DeathAdder | Logitech G15 | Windows 7 x64
ShendoXT is offline   Reply With Quote
Old November 15th, 2007   #10 (permalink)
Registered User
 
Join Date: Jun 2007
Location: midwest USA
Posts: 3
wow, looks like recompiling the kernel was the wrong way to go. It seems it is an issue with the package, not us.
g2g591 is offline   Reply With Quote
Old November 15th, 2007   #11 (permalink)
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 3,339
Yeah you just need to unpack the binary, it was packed using upx.
__________________
[Windows 7 RTM PRO X64][Gigabyte GA-G31M-S2L][Intel E5200@2.5Ghz][Corsair XMS2 DHX 4GB DDR2 800MHz][HIS HD4670 1GB GDDR3][19" LCD SyncMaster T190][Samsung SATA II HD322HJ 320GB][LG DVD-RAM GH22NS30]
E5x00 - Overclocking Thread
Mad is offline   Reply With Quote
Old November 15th, 2007   #12 (permalink)
Registered User
 
Join Date: Nov 2007
Location: Canada
Posts: 2
I don't think the problem is with UPX, so much as it is with the kernel not liking that version of UPX for some reason. I "think" it is a kernel bug. But, Buggy Kernel or not, I would rather stick with the one from the repositories then recompiling my own. That way when there are updates, I can be lazy and just let Ubuntu do it for me.
Felson is offline   Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 13:20.

© 2006 - 2008 Emu Forums | About Emu Forums | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5