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
 
Thread Tools Display Modes
Old October 25th, 2007, 19:42   #1
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
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, 08:50   #2
ShendoXT
Moderator
 
ShendoXT's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 4,548
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, 36 views)
__________________
Shendo's software blog

Core i5 2400 3.1 Ghz | ASRock H67M | GTX460 768Mb | 8GB DDR3 1333 | 1500 Gb HDD
Grundig VLC 7121 C (1080p) 32" | Razer DeathAdder | Logitech G110 | Windows 7 x64

Don't PM or ask me about VMP-MCR conversions. I will ignore you if you do.

Last edited by ShendoXT; November 13th, 2007 at 21:22..
ShendoXT is offline   Reply With Quote
Old October 26th, 2007, 13:51   #3
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
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, 14:39   #4
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 4,030
Epsxe will work on Gustsy amd64?
__________________
Main PC:Win 7 SP1 PRO X64 - Asus P5G41C-M LX - Intel Q6600@2.4Ghz - OCZ 2x 2GB DDR2 1000Mhz - Sapphire Vapor-X HD5770 1GB GDDR5 - 19" LCD SyncMaster T190 - Samsung SATA II HD322HJ 320GB
HTPC:Acer Aspire AR1600 - Windows 7 PRO X86 - Atom 230@1.6Ghz - 3GB DDR2 800Mhz - Nvidia ION LE - SATA II WD 160GB + Seagate GoFlex Desk 2TB USB 3.0
Notebook:Dell Inspiron 14R N4110 - Windows 7 SP1 PRO X64 / Ubuntu 12.04 X64 - Intel Core i5 2410M@2.3Ghz - 8GB DDR3@1333Mhz - Intel HD 3000 - WDC SATA II 640GB + SSD Kingston V200 128GB +WD Scorpio Blue 320GB USB 3.0 CASE
Mad is offline   Reply With Quote
Old October 26th, 2007, 16:01   #5
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
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, 13:17   #6
ShendoXT
Moderator
 
ShendoXT's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 4,548
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.
__________________
Shendo's software blog

Core i5 2400 3.1 Ghz | ASRock H67M | GTX460 768Mb | 8GB DDR3 1333 | 1500 Gb HDD
Grundig VLC 7121 C (1080p) 32" | Razer DeathAdder | Logitech G110 | Windows 7 x64

Don't PM or ask me about VMP-MCR conversions. I will ignore you if you do.

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, 03:51   #7
g2g591
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, 20:55   #8
Felson
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, 21:27   #9
ShendoXT
Moderator
 
ShendoXT's Avatar
 
Join Date: Feb 2006
Location: Croatia
Posts: 4,548
Thanks for that, I linked your post in the ePSXe Linux config guide (near the end).
__________________
Shendo's software blog

Core i5 2400 3.1 Ghz | ASRock H67M | GTX460 768Mb | 8GB DDR3 1333 | 1500 Gb HDD
Grundig VLC 7121 C (1080p) 32" | Razer DeathAdder | Logitech G110 | Windows 7 x64

Don't PM or ask me about VMP-MCR conversions. I will ignore you if you do.
ShendoXT is offline   Reply With Quote
Old November 15th, 2007, 04:05   #10
g2g591
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, 15:44   #11
Mad
AKA snkmad
 
Mad's Avatar
 
Join Date: Apr 2001
Location: Brazil, Fortaleza-Ceará
Posts: 4,030
Yeah you just need to unpack the binary, it was packed using upx.
__________________
Main PC:Win 7 SP1 PRO X64 - Asus P5G41C-M LX - Intel Q6600@2.4Ghz - OCZ 2x 2GB DDR2 1000Mhz - Sapphire Vapor-X HD5770 1GB GDDR5 - 19" LCD SyncMaster T190 - Samsung SATA II HD322HJ 320GB
HTPC:Acer Aspire AR1600 - Windows 7 PRO X86 - Atom 230@1.6Ghz - 3GB DDR2 800Mhz - Nvidia ION LE - SATA II WD 160GB + Seagate GoFlex Desk 2TB USB 3.0
Notebook:Dell Inspiron 14R N4110 - Windows 7 SP1 PRO X64 / Ubuntu 12.04 X64 - Intel Core i5 2410M@2.3Ghz - 8GB DDR3@1333Mhz - Intel HD 3000 - WDC SATA II 640GB + SSD Kingston V200 128GB +WD Scorpio Blue 320GB USB 3.0 CASE
Mad is offline   Reply With Quote
Old November 15th, 2007, 18:16   #12
Felson
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

Forum Jump

All times are GMT +1. The time now is 04:06.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.