Emuforums.com

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

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old October 25th, 2007   #1 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 3
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
Old October 26th, 2007   #2 (permalink)
Moderator
 
Shendo's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 3,862
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, 28 views)
__________________

Last edited by Shendo; November 13th, 2007 at 20:22.
Shendo is online now   Reply With Quote
Old October 26th, 2007   #3 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 3
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: 2,911
Epsxe will work on Gustsy amd64?
__________________
[WinXP SP3] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v] [Samsung SATA II HD080HJ 80GB] [Samsung SATA II HD250HJ 250GB] [Kingston 2x1GB DDR2 6400@800MHz CL6] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61]
Mad is offline   Reply With Quote
Old October 26th, 2007   #5 (permalink)
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 3
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 12:14. Reason: Automerged Doublepost
Shadow-5471 is offline   Reply With Quote
Old October 27th, 2007   #6 (permalink)
Moderator
 
Shendo's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 3,862
Well I got it working by installing a new kernel, as you can see from my pic.

sh ePSXe does not work but if you enter the whole path the emulator will launch:
(eg. "home/shendo/Desktop/epsxe160lin/epsxe).

Thanks for posting the other solution, btw.
__________________
Shendo is online now   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 20:00.
Felson is offline   Reply With Quote
Old November 13th, 2007   #9 (permalink)
Moderator
 
Shendo's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 3,862
Thanks for that, I linked your post in the ePSXe Linux config guide (near the end).
__________________
Shendo is online now   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: 2,911
Yeah you just need to unpack the binary, it was packed using upx.
__________________
[WinXP SP3] [Gigabyte GA-M61PM-S2] [Athlon64 X2 3800+ @2.00Ghz] [XFX Geforce 8600GT XxX 256MB DDR3] [17" SyncMaster 753v] [Samsung SATA II HD080HJ 80GB] [Samsung SATA II HD250HJ 250GB] [Kingston 2x1GB DDR2 6400@800MHz CL6] [Samsung CDDVDW SH-S203B] [NVIDIA nForce Networking] [Realtek ALC883 @ nVIDIA MCP61]
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 09:01.

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


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5