LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 07-25-2009, 03:43 PM   #1
hotrock85
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Question How to get NES to run on the Palm Pre


It using linux and heres the website
http://www.webos-internals.org/wiki/Nintendo

I've already accessed the root file in my Pre and changed alot of stuff around but this is more advanced then just changing some files and I need a guide. For starters I have no clue what a Debian chroot is.
Can someone walk me through step by step on this? I'll then post a video on youtube to show others what I have learned.



Quote:
1. Type the following in a Debian chroot, as root:

apt-get install bzip2 gcc g++ scons libsdl1.2-dev libsdl1.2debian-esd liblua5.1-dev zlib1g-dev zenity
2. Extract the bz2 using bunzip2, then extract the tar by typing the following:

bunzip2 fceux-2.1.0a.src.tar.bz2
tar xvf fceux-2.1.0a.src.tar
3. Switch to the source path:

cd /fceu
4. Compile the program from source by typing the following:

scons install
When done compiling, the program is copied to /usr/local/bin. When you first load the application, a configuration directory is created in your $HOME path. Modify this file as needed.

5. Using the instructions here, install and configure directfb.

Add autoflip-window to the directfbrc file, so it looks like the following:

mode=320x480
scaled=320x480
primary-layer=00
pixelformat=ARGB
no-vt
no-cursor
bg-color=00000000
hardware
autoflip-window
6. Run the following command:

export SDL_VIDEODRIVER='directfb'
7. Run the following command to configure the key mappings:

fceux --inputcfg gamepad /usr/games/<insert favorite nes.rom>
8. Outside the Debian chroot, type the following command to shutdown the LunaSysMgr:

/sbin/initctl stop LunaSysMgr #NOTE: THIS WILL KILL THE WEBOS GUI.
9. Play your favorite games by typing the following command:

fceux --sound 0 --bpp 8 /usr/games/<insert favorite nes.rom>
10. When finished playing, you can re-enable the LunaSysMgr by typing the following outside the Debian chroot:

/sbin/initctl start LunaSysMgr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Review: Palm Pre Dances Nicely with Linux LXer Syndicated Linux News 0 07-08-2009 12:20 AM
LXer: Is Palm a Player or Just a Pre-Tender? LXer Syndicated Linux News 0 06-23-2009 10:20 PM
LXer: The Palm Pre Review LXer Syndicated Linux News 0 06-20-2009 11:30 AM
LXer: Hands-on Review of the Palm Pre Shows They Donít Get It LXer Syndicated Linux News 0 05-12-2009 11:30 PM
LXer: Palm Pre the Belle of the Ball, with Linux on Her Arm LXer Syndicated Linux News 0 01-13-2009 11:40 AM


All times are GMT -5. The time now is 02:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration