|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#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... |
|
|
|
|
|
#2 (permalink) |
|
Moderator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 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 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.
__________________
Last edited by Shendo; November 13th, 2007 at 20:22. |
|
|
|
|
|
#4 (permalink) |
|
AKA snkmad
![]() ![]() ![]() ![]() ![]() ![]() 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] |
|
|
|
|
|
#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 |
|
|
|
|
|
#6 (permalink) |
|
Moderator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
__________________
|
|
|
|
|
|
#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)
|
|
|
|
|
|
#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 Last edited by Felson; November 13th, 2007 at 20:00. |
|
|
|
|
|
#9 (permalink) |
|
Moderator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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).
__________________
|
|
|
|
|
|
#11 (permalink) |
|
AKA snkmad
![]() ![]() ![]() ![]() ![]() ![]() 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] |
|
|
|
|
|
#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.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|