<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dave55</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dave55"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Dave55"/>
	<updated>2026-04-17T12:45:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Nintendo&amp;diff=6380</id>
		<title>Nintendo</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Nintendo&amp;diff=6380"/>
		<updated>2009-10-08T15:58:31Z</updated>

		<summary type="html">&lt;p&gt;Dave55: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Nintendo.png|right]]&lt;br /&gt;
&lt;br /&gt;
NOTE: As of 2009/9/17 Directfb 1.2, SDL 1.2 and FCEUX 2.1.1 have ipks that can be installed using Preware! [[User:PuffTheMagic|PuffTheMagic]] 16:09, 17 September 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
Nintendo emulation is now possible without having to run &amp;quot;Classic&amp;quot; for WebOS. Simply compile [http://fceux.com/web/htdocs/download.php FCEUltra] from within a Debian chroot.&lt;br /&gt;
&lt;br /&gt;
= Demos=&lt;br /&gt;
* [http://www.youtube.com/watch?v=lYxAEEHsmeE Video of game being played]&lt;br /&gt;
* [http://i40.tinypic.com/157fc45.png Unmodified version of image @ right]&lt;br /&gt;
* [http://www.bestessays.ca/custom_research_paper.php research paper]&lt;br /&gt;
&lt;br /&gt;
= Installation=&lt;br /&gt;
&lt;br /&gt;
1. Type the following in a [[Debian]] chroot, as root:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
apt-get install bzip2 gcc g++ scons libsdl1.2-dev libsdl1.2debian-esd liblua5.1-dev zlib1g-dev zenity&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Extract the bz2 using bunzip2, then extract the tar by typing the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
bunzip2 fceux-2.1.0a.src.tar.bz2&lt;br /&gt;
tar xvf fceux-2.1.0a.src.tar&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Switch to the source path:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cd /fceu&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Compile the program from source by typing the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
http://www.bestessays.ca/custom_research_paper.php&lt;br /&gt;
5. Using the instructions [[directfb | here]], install and configure directfb.&lt;br /&gt;
&lt;br /&gt;
Add autoflip-window to the directfbrc file, so it looks like the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
mode=320x480&lt;br /&gt;
scaled=320x480&lt;br /&gt;
primary-layer=00&lt;br /&gt;
pixelformat=ARGB&lt;br /&gt;
no-vt&lt;br /&gt;
no-cursor&lt;br /&gt;
bg-color=00000000&lt;br /&gt;
hardware&lt;br /&gt;
autoflip-window&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Run the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
export SDL_VIDEODRIVER='directfb'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. Run the following command to configure the key mappings:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
fceux --inputcfg gamepad /usr/games/&amp;lt;insert favorite nes.rom&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
8. Outside the Debian chroot, type the following command to shutdown the LunaSysMgr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/sbin/initctl stop LunaSysMgr #NOTE: THIS WILL KILL THE WEBOS GUI.&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
9. Play your favorite games by typing the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
fceux --sound 0 --bpp 8 /usr/games/&amp;lt;insert favorite nes.rom&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
10. When finished playing, you can re-enable the LunaSysMgr by typing the following outside the Debian chroot:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/sbin/initctl start LunaSysMgr&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dave55</name></author>
	</entry>
</feed>