<?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=Debilater</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=Debilater"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Debilater"/>
	<updated>2026-04-24T07:58:08Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9095</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9095"/>
		<updated>2010-02-17T18:39:17Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Make your root disk read-only again */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
Turn it off if everything is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid stop&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit '''/opt/etc/init.d/S80squid''' so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WIFI comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory '''/etc/pmnetconfig/'''.&lt;br /&gt;
&lt;br /&gt;
In the file '''if-up''' modify this part:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the file '''if-down''' modify this part:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Make your root disk read-only again ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,ro /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9094</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9094"/>
		<updated>2010-02-17T18:37:49Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Configure network to startup squid if WIFI comes up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
Turn it off if everything is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid stop&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit '''/opt/etc/init.d/S80squid''' so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WIFI comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory '''/etc/pmnetconfig/'''.&lt;br /&gt;
&lt;br /&gt;
In the file '''if-up''' modify this part:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the file '''if-down''' modify this part:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Make your root disk read-only again ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,ro /&lt;br /&gt;
&amp;lt;/source&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9093</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9093"/>
		<updated>2010-02-17T18:36:23Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Configure network to startup squid if WLAN comes up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
Turn it off if everything is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid stop&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit '''/opt/etc/init.d/S80squid''' so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WIFI comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory '''/etc/pmnetconfig/'''.&lt;br /&gt;
&lt;br /&gt;
In the file '''if-up''' modify this part:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the file '''if-down''' modify this part:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9092</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9092"/>
		<updated>2010-02-17T18:35:03Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Add the rules to the squid startup file */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
Turn it off if everything is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid stop&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit '''/opt/etc/init.d/S80squid''' so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WLAN comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory ''/etc/pmnetconfig/''.&lt;br /&gt;
&lt;br /&gt;
In the file ''if-up'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
In the file ''if-down'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9091</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9091"/>
		<updated>2010-02-17T18:34:09Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Starting squid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
Turn it off if everything is ok:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid stop&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit B&amp;lt;/opt/etc/init.d/S80squid&amp;gt; so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WLAN comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory ''/etc/pmnetconfig/''.&lt;br /&gt;
&lt;br /&gt;
In the file ''if-up'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
In the file ''if-down'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9090</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9090"/>
		<updated>2010-02-17T18:31:07Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Installing Squid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit B&amp;lt;/opt/etc/init.d/S80squid&amp;gt; so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WLAN comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory ''/etc/pmnetconfig/''.&lt;br /&gt;
&lt;br /&gt;
In the file ''if-up'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
In the file ''if-down'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9089</id>
		<title>SetupSquidTransparentProxy</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SetupSquidTransparentProxy&amp;diff=9089"/>
		<updated>2010-02-17T18:27:12Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Squid Transparent Proxy on Palm Pre =&lt;br /&gt;
&lt;br /&gt;
Ok, someone asked for it, so I figured it out, how to do it for fun and profit:&lt;br /&gt;
&lt;br /&gt;
== Preparation ==&lt;br /&gt;
&lt;br /&gt;
First, you need to have root access to your device. How to get root, is described [[Next_steps|here]]. It would be a good idea to know a little about linux and networking too. '''Be warned: this can make your networking unfunctional!'''&lt;br /&gt;
&lt;br /&gt;
Next thing you need to do is to install the package '''Optware Advanced Linux Command Line Installer''' from Preware, which installs '''ipkg-opt'''!&lt;br /&gt;
&lt;br /&gt;
== Installing Squid ==&lt;br /&gt;
&lt;br /&gt;
Make your root disk writable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Login to the pre console and type this command to install the squid optware package&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # ipkg-opt update&lt;br /&gt;
...&lt;br /&gt;
root@palm-webos-device: # ipkg-opt install squid&lt;br /&gt;
Installing squid (2.6.21-2) to root...&lt;br /&gt;
Downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/squid_2.6.21-2_arm.ipk&lt;br /&gt;
Configuring squid&lt;br /&gt;
create default cache and logs dir&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
chown: unknown user/group nobody:nobody&lt;br /&gt;
FATAL: Could not determine fully qualified hostname.Please set 'visible_hostname'&lt;br /&gt;
&lt;br /&gt;
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.&lt;br /&gt;
CPU Usage: 0.020 seconds = 0.010 user + 0.010 sys&lt;br /&gt;
Maximum Resident Size: 0 KB&lt;br /&gt;
Page faults with physical i/o: 0&lt;br /&gt;
Segmentation fault&lt;br /&gt;
&lt;br /&gt;
You should review the configuration file /opt/etc/squid/squid.conf,&lt;br /&gt;
make any necessary change, and complete the install by running -&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&lt;br /&gt;
Successfully terminated.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ignore the errors for the moment, we'll get to it soon.&lt;br /&gt;
&lt;br /&gt;
== Create a basic proxy config ==&lt;br /&gt;
&lt;br /&gt;
Change to the directory '''/opt/etc/squid''' and move the file '''squid.conf''' which is already there to somewhere else. Now create a new squid.conf, which should have the following contents:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
visible_hostname localhost&lt;br /&gt;
http_port 3128 transparent                 &lt;br /&gt;
hierarchy_stoplist cgi-bin ?               &lt;br /&gt;
access_log /var/cache/squid/squid.log squid          &lt;br /&gt;
acl QUERY urlpath_regex cgi-bin \?                   &lt;br /&gt;
cache deny QUERY &lt;br /&gt;
&lt;br /&gt;
# replace the ip address with the address of your proxy&lt;br /&gt;
# replace the port 3128 with the port of your proxy&lt;br /&gt;
cache_peer 192.168.2.205 parent 3128 3130 default &lt;br /&gt;
&lt;br /&gt;
# if your proxy requires authentication, use this:&lt;br /&gt;
# cache_peer 192.168.2.205 parent 3128 3130 default login USERNAME PASSWORD&lt;br /&gt;
&lt;br /&gt;
refresh_pattern ^ftp:           1440    20%     10080&lt;br /&gt;
refresh_pattern ^gopher:        1440    0%      1440&lt;br /&gt;
refresh_pattern .               0       20%     4320&lt;br /&gt;
acl apache rep_header Server ^Apache                &lt;br /&gt;
broken_vary_encoding allow apache    &lt;br /&gt;
coredump_dir /var/cache/squid        &lt;br /&gt;
cache_dir ufs /var/cache/squid 20 5 5&lt;br /&gt;
access_log /var/cache/squid/squid.log&lt;br /&gt;
cache_log /var/cache/squid/cache.log&lt;br /&gt;
cache_store_log /dev/null&lt;br /&gt;
 &lt;br /&gt;
acl all src 0.0.0.0/0.0.0.0&lt;br /&gt;
acl manager proto cache_object&lt;br /&gt;
acl localhost src 127.0.0.1/255.255.255.255&lt;br /&gt;
acl to_localhost dst 127.0.0.0/8&lt;br /&gt;
acl SSL_ports port 443&lt;br /&gt;
acl Safe_ports port 80          # http&lt;br /&gt;
acl Safe_ports port 21          # ftp&lt;br /&gt;
acl Safe_ports port 443         # https&lt;br /&gt;
acl Safe_ports port 70          # gopher&lt;br /&gt;
acl Safe_ports port 210         # wais&lt;br /&gt;
acl Safe_ports port 1025-65535  # unregistered ports&lt;br /&gt;
acl Safe_ports port 280         # http-mgmt&lt;br /&gt;
acl Safe_ports port 488         # gss-http&lt;br /&gt;
acl Safe_ports port 591         # filemaker&lt;br /&gt;
acl Safe_ports port 777         # multiling http&lt;br /&gt;
acl CONNECT method CONNECT&lt;br /&gt;
http_access allow manager localhost&lt;br /&gt;
http_access deny manager&lt;br /&gt;
http_access deny !Safe_ports&lt;br /&gt;
http_access deny CONNECT !SSL_ports&lt;br /&gt;
# example for an ACL, uncomment and modify&lt;br /&gt;
#acl enemy dstdomain www.apple.com&lt;br /&gt;
#http_access deny enemy&lt;br /&gt;
 &lt;br /&gt;
http_access allow all&lt;br /&gt;
icp_access allow all&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Basically this is a config for a transparent proxy, thus a browser will be redirected to it without knowing that it is actually connected to a proxy. We must configure it this way because the WebOS browser cannot be configured to use a proxy.&lt;br /&gt;
&lt;br /&gt;
Note that we have added a single ACL here, which denies access to some random site *g*. Any other requests will be allowed. SSL (HTTPS) will not be passed through the proxy because this requires the browser to connect to it using a proxy request.&lt;br /&gt;
&lt;br /&gt;
You WILL need to modify the squid.conf variable ''cache_peer'', it points to your upstream proxy, e.g. your companys proxy. Refer to the comments for the syntax.&lt;br /&gt;
&lt;br /&gt;
== Prepare the directories for squid ==&lt;br /&gt;
&lt;br /&gt;
Squid needs a directory where to store it's files, as content it caches and logfiles. You may consider to disable caching and logging. But caching may be a good idea if your traffic is limited, so you'll save some. Logging is always usefull for debugging. If you want to turn it off, use '''/dev/null''' as target for the logfiles.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
mkdir /var/cache/squid&lt;br /&gt;
chown nobody /var/cache/squid&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next you need let squid to prepare the directory structure using the -z option:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
root@palm-webos-device: # squid -z -f squid.conf&lt;br /&gt;
2009/11/26 23:19:29| Creating Swap Directories&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should not see any errors here!&lt;br /&gt;
&lt;br /&gt;
== Starting squid ==&lt;br /&gt;
&lt;br /&gt;
The installer already added it to the startup daemons, now we will start it manually:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid start&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look in '''/var/cache/squid/cache.log''' for any errors. Use ps to see if it really runs. You may consider to install '''lynx''' and test the proxy:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
ipkg-opt install lynx&lt;br /&gt;
export http_proxy=http://localhost:3128&lt;br /&gt;
lynx www.google.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you see a google textmode site, it works.&lt;br /&gt;
&lt;br /&gt;
== Add the rules to the squid startup file ==&lt;br /&gt;
&lt;br /&gt;
Now comes the ugly part. I'll not explain it in detail: we install some iptable Rules. We tell iptables to forward any traffic destined to tcp port 80 to localhost port 3128 (this is where squid listens for incoming connections). To avoid that the requests of the proxy itself are forwarded to localhost (which would create a loop), we add a rule telling iptables to not forward web traffic if it were generated by user nobody (the user squid runs as).&lt;br /&gt;
&lt;br /&gt;
To do that, edit B&amp;lt;/opt/etc/init.d/S80squid&amp;gt; so that it looks like this:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
#! /bin/sh&lt;br /&gt;
&lt;br /&gt;
case &amp;quot;$1&amp;quot; in&lt;br /&gt;
    start)&lt;br /&gt;
        echo -n &amp;quot;Starting proxy server: &amp;quot;&lt;br /&gt;
        if [ -n &amp;quot;`pidof quotacheck`&amp;quot; ]; then&lt;br /&gt;
           #you don't need it if you don't have quota check enable.&lt;br /&gt;
           echo &amp;quot;Starting squid-cache server after delay for few mins:&amp;quot;&lt;br /&gt;
           /opt/etc/squid/squid.delay-start.sh&amp;amp;amp;&lt;br /&gt;
        else&lt;br /&gt;
           /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
           iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
           echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        fi&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    stop)&lt;br /&gt;
        echo -n &amp;quot;Stopping proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -m owner --gid-owner 65534 -j ACCEPT&lt;br /&gt;
        iptables -t nat -D OUTPUT -p tcp --dport 80 -j DNAT --to-destination 127.0.0.1:3128&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    reload|force-reload)&lt;br /&gt;
        echo -n &amp;quot;Reloading proxy server configuration files: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k reconfigure&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    restart)&lt;br /&gt;
        echo -n &amp;quot;Restarting proxy server: &amp;quot;&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf -k shutdown&lt;br /&gt;
        sleep 2&lt;br /&gt;
        /opt/sbin/squid -f /opt/etc/squid/squid.conf&lt;br /&gt;
        echo &amp;quot;done.&amp;quot;&lt;br /&gt;
        ;;&lt;br /&gt;
    *)&lt;br /&gt;
        echo &amp;quot;Usage: /opt/etc/init.d/S80squid {start|stop|reload|force-reload|restart}&amp;quot;&lt;br /&gt;
        exit 1&lt;br /&gt;
        ;;&lt;br /&gt;
esac&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configure network to startup squid if WLAN comes up ==&lt;br /&gt;
&lt;br /&gt;
Now we need to alter the behavior of the palm network manager so that it starts squid if WIFI comes up and stops it when WIFI goes down.&lt;br /&gt;
&lt;br /&gt;
Change to directory ''/etc/pmnetconfig/''.&lt;br /&gt;
&lt;br /&gt;
In the file ''if-up'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ &amp;quot;$ISPPP&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISRMNET&amp;quot; -ne 6 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISTUN&amp;quot; -ne 4 ] &amp;amp;amp;&amp;amp;amp; [ &amp;quot;$ISCSCOTUNVPN&amp;quot; -ne 8 ]; then&lt;br /&gt;
    NetCfgSetAddr&lt;br /&gt;
    CMSERVICES=$((${CMSERVICES} | ${CMSVCINTERNET}))&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid start&amp;quot; &lt;br /&gt;
    /opt/etc/init.d/S80squid start&lt;br /&gt;
 fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
In the file ''if-down'' modify this part:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
to:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&lt;br /&gt;
 if [ ${CMINTERFACE} = ${CMBTINTERFACENAME} ] || [ ${CMINTERFACE} = ${CMBRINTERFACENAME} ]; then&lt;br /&gt;
    ${LOG} &amp;quot;${IPTABLES} -t nat -D POSTROUTING -s  $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&amp;quot;&lt;br /&gt;
    ${IPTABLES} -t nat -D POSTROUTING -s $CMNETADDR/$CMPREFIXLEN -j MASQUERADE&lt;br /&gt;
    ${LOG} &amp;quot;${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&amp;quot;&lt;br /&gt;
    ${ECHO} 0 &amp;gt;/proc/sys/net/ipv4/ip_forward&lt;br /&gt;
    /usr/bin/logger &amp;quot;wifi up: execute /opt/etc/init.d/S80squid stop&amp;quot;     &lt;br /&gt;
    /opt/etc/init.d/S80squid stop         &lt;br /&gt;
 fi  &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== See it working ==&lt;br /&gt;
&lt;br /&gt;
So, let's see how it works. Enable WIFI and fire up the browser and see if it works. You should see your requests on the remote proxy.&lt;br /&gt;
&lt;br /&gt;
If you added an ACL as mentioned earlier, a message like the following should appear if you enter the url of your favourite enemy vendor (the one we configured above):&lt;br /&gt;
&lt;br /&gt;
[[Image:Squid-access-denied-palm-pre.png]]&lt;br /&gt;
&lt;br /&gt;
== Blocking Adverts ==&lt;br /&gt;
&lt;br /&gt;
Now squid is set up, we can use it for ad blocking.  There are two steps to this:&lt;br /&gt;
&lt;br /&gt;
=== Obtain a block list ===&lt;br /&gt;
&lt;br /&gt;
An excellent ad block list is maintained at [http://pgl.yoyo.org/as/].  We need to download it in a suitable format for squid, which can be done by running the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Technical details: the wget command downloads the URL given in single quotes, then we strip the HTML mark-up and blank lines using grep. The filename at the end is where the black list will be stored.)&lt;br /&gt;
&lt;br /&gt;
=== Configure squid to use the block list ===&lt;br /&gt;
&lt;br /&gt;
Now we need to tell squid to block the list of URLs in the file we've just created.  Open the ''/opt/etc/squid/squid.conf'' file we created above, and scroll down to where it reads:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdomain www.apple.com&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace this line with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
acl enemy dstdom_regex &amp;quot;/opt/etc/squid/blocklist&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, restart squid:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To test it's working, open a browser and try to visit ''ads.msn.com'' (one of the blocked URLs).  The error given should be similar to the screenshot given above.&lt;br /&gt;
&lt;br /&gt;
If in the future you need to update the ad blocking list, run the commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
cd / &amp;amp;&amp;amp; mount -v -o remount,rw /&lt;br /&gt;
wget -q -O - 'http://pgl.yoyo.org/as/serverlist.php?hostformat=squid-dstdom-regex;showintro=0'  | grep -v &amp;quot;&amp;gt;&amp;quot; | grep &amp;quot;.&amp;quot; &amp;gt; /opt/etc/squid/blocklist&lt;br /&gt;
/opt/etc/init.d/S80squid restart&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For further details of filtering URLs using squid, please refer to the [http://www.squid-cache.org/Doc/ excelent documentation of the squid cache project].&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Fishfillets-Keyboard-320.png&amp;diff=9078</id>
		<title>File:Fishfillets-Keyboard-320.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Fishfillets-Keyboard-320.png&amp;diff=9078"/>
		<updated>2010-02-16T22:55:09Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:FishFillet-Keyboard-665.png&amp;diff=9069</id>
		<title>File:FishFillet-Keyboard-665.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:FishFillet-Keyboard-665.png&amp;diff=9069"/>
		<updated>2010-02-15T23:54:58Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Fishfillets-credits.png&amp;diff=9037</id>
		<title>File:Fishfillets-credits.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Fishfillets-credits.png&amp;diff=9037"/>
		<updated>2010-02-13T23:22:57Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Fishfillets-options.png&amp;diff=9036</id>
		<title>File:Fishfillets-options.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Fishfillets-options.png&amp;diff=9036"/>
		<updated>2010-02-13T23:22:30Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Fishfillets-level.png&amp;diff=9035</id>
		<title>File:Fishfillets-level.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Fishfillets-level.png&amp;diff=9035"/>
		<updated>2010-02-13T23:22:00Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Fishfillets-map.png&amp;diff=9034</id>
		<title>File:Fishfillets-map.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Fishfillets-map.png&amp;diff=9034"/>
		<updated>2010-02-13T23:21:26Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Photos_2010-12-02_231007.png&amp;diff=9032</id>
		<title>File:Photos 2010-12-02 231007.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Photos_2010-12-02_231007.png&amp;diff=9032"/>
		<updated>2010-02-12T22:11:56Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9014</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9014"/>
		<updated>2010-02-10T12:26:00Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 3.0.0 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Games&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
* Post a message to the [http://forums.precentral.net/webos-internals/229753-stella-atari-2600-vcs-emulator.html Stella Forum Thread]&lt;br /&gt;
* [https://www.nomed.de/forum/read.php?40,20944 Deutsches Supportforum]&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
* switching to landscape view from stella freezes the app (it works from commandline though)&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9013</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9013"/>
		<updated>2010-02-10T12:19:21Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 3.0.0 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Games&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
* Post a message to the [http://forums.precentral.net/2212763-post1.html Stella Forum Thread]&lt;br /&gt;
* [https://www.nomed.de/forum/read.php?40,20944 Deutsches Supportforum]&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
* switching to landscape view from stella freezes the app (it works from commandline though)&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9012</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9012"/>
		<updated>2010-02-10T12:17:28Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 3.0.0 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Games&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
* Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
* [https://www.nomed.de/forum/read.php?40,20944 Deutsches Supportforum]&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
* switching to landscape view from stella freezes the app (it works from commandline though)&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9011</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9011"/>
		<updated>2010-02-10T12:17:11Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 0.0.1 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Games&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
* Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
* [https://www.nomed.de/forum/read.php?40,20944 Deutsches Supportforum]&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
* switching to landscape view from stella freezes the app (it works from commandline though)&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9010</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9010"/>
		<updated>2010-02-10T11:50:49Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 0.0.1 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Games&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
* Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
* [https://www.nomed.de/forum/read.php?40,20944 Deutsches Supportforum]&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9009</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9009"/>
		<updated>2010-02-09T23:16:28Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 0.0.1 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Games&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Portal:Linux_Applications&amp;diff=9008</id>
		<title>Portal:Linux Applications</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Portal:Linux_Applications&amp;diff=9008"/>
		<updated>2010-02-09T23:12:51Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__notoc__&lt;br /&gt;
{{reorganize|This page needs to be reorganized still.}}&lt;br /&gt;
{{portal-header&lt;br /&gt;
|The Pre runs a very standard Linux on a commonly available processor.  Very soon after access was achieved to the Linux, the Optware team made the entire catalog of Optware packages available on the pre.  &lt;br /&gt;
&lt;br /&gt;
More about the Optware project here: [http://www.nslu2-linux.org/wiki/Optware/Packages Optware Packages].&lt;br /&gt;
&lt;br /&gt;
You can view a list of available packages here: [http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ List of Packages].&lt;br /&gt;
&lt;br /&gt;
The community has been busy porting other applications to the Pre.  Some of those are listed, and have pages for them below.&lt;br /&gt;
}}&lt;br /&gt;
{{portal-three-columns&lt;br /&gt;
|column1=&lt;br /&gt;
* [[Portal:Linux_Applications_All|All]]&lt;br /&gt;
* [[Portal:Linux_Applications_Business|Business]]&lt;br /&gt;
* [[Portal:Linux_Applications_Communications|Communications]]&lt;br /&gt;
* [[Portal:Linux_Applications_Entertainment|Entertainment]]&lt;br /&gt;
&lt;br /&gt;
|column2=&lt;br /&gt;
* [[Portal:Linux_Applications_Food|Food]]&lt;br /&gt;
* [[Portal:Linux_Applications_Games|Games]]&lt;br /&gt;
* [[Portal:Linux_Applications_Lifestyle|Lifestyle]]&lt;br /&gt;
* [[Portal:Linux_Applications_News|News]]&lt;br /&gt;
&lt;br /&gt;
|column3=&lt;br /&gt;
* [[Portal:Linux_Applications_Social Networking|Social Networking]]&lt;br /&gt;
* [[Portal:Linux_Applications_Tutorial|Tutorial]]&lt;br /&gt;
* [[Portal:Linux_Applications_Utilities|Utilities]]&lt;br /&gt;
* [[Portal:Linux_Applications_Productivity|Productivity]]&lt;br /&gt;
}}&lt;br /&gt;
{{portal-two-columns&lt;br /&gt;
|column1=&lt;br /&gt;
== Application Tutorials ==&lt;br /&gt;
&lt;br /&gt;
'''[[Portal:Accessing Linux|Follow the Accessing Linux Article First]]'''&lt;br /&gt;
* [[Ad-Hoc_Networking|Ad-Hoc Networking]]&lt;br /&gt;
* [[Ajaxterm]]&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
* [[Colorful_Bash_Prompt|Colorful Bash Prompt]]&lt;br /&gt;
* [[Diff]]&lt;br /&gt;
* [[Tutorials_Linux_DDNS_for_EVDO|Dynamic DNS for EVDO]]&lt;br /&gt;
* [[DFBTerm DirectFB Terminal Emulator|DFBTerm DirectFB Terminal Emulator]] &lt;br /&gt;
* [[Graphical Shell with WebShell|Graphical Shell with WebShell]] &lt;br /&gt;
* [[GUI Text Editors|GUI Text Editors]] &lt;br /&gt;
* [[HamachiVPN|HamachiVPN]] &lt;br /&gt;
* [[How To Use &amp;quot;ls&amp;quot; In Color|How To Use &amp;quot;ls&amp;quot; In Color]] &lt;br /&gt;
* [[Linux Tutorial Irssi|Linux Tutorial Irssi]]&lt;br /&gt;
* [[Linux Tutorial Snownews|Linux Tutorial Snownews]]&lt;br /&gt;
* [[Lighttpd|Lighttpd ]] &lt;br /&gt;
* [[OpenVPN for Palm Pre|OpenVPN for Palm Pre]] &lt;br /&gt;
* [[Tutorials_Linux_opt_on_loopback|/opt on loopback image on /media/internal]]&lt;br /&gt;
* [[PalmVNC Terminal|PalmVNC Terminal]] &lt;br /&gt;
* [[QEMU|QEMU]] &lt;br /&gt;
* [[QEMU webOS Emulation|QEMU webOS Emulation]] &lt;br /&gt;
* [[Running webOS in QEMU|Running webOS in QEMU]] &lt;br /&gt;
* [[Replace &amp;quot;vi&amp;quot; with Fullscreen Text Editor &amp;quot;joe&amp;quot; or &amp;quot;nano&amp;quot;|Replace &amp;quot;vi&amp;quot; with Fullscreen Text Editor &amp;quot;joe&amp;quot; or &amp;quot;nano&amp;quot;]] &lt;br /&gt;
* [[rTorrent]] &lt;br /&gt;
* [[Setup Bash|Setup Bash]] &lt;br /&gt;
* [[Samba Access|Samba Access]] &lt;br /&gt;
* [[VNC (Virtual Network Computing)|VNC (Virtual Network Computing)]] &lt;br /&gt;
* [[Vala Terminal|Vala Terminal]]&lt;br /&gt;
* [[Application:VBA|VisualBoyAdvance]] an emulator of the Game Boy, Game Boy Color, and Game Boy Advance &lt;br /&gt;
* [[Application:Stella|Stella]] Atari 2600 VCS Emulator&lt;br /&gt;
* [[Wireless Music Sync with Amarok 1.4|Wireless Music Sync with Amarok 1.4]]&lt;br /&gt;
* [[Application:Gnuboy|Gameboy emulator gnuboy on the Pre]]&lt;br /&gt;
* [[SetupSquidTransparentProxy|Setup Squid transparent proxy]]&lt;br /&gt;
* [[NES and GameBoy Emulators|NES and Gameboy Emulators Simple Setup]]&lt;br /&gt;
&lt;br /&gt;
== Want to write a tutorial and Add it? ==&lt;br /&gt;
&lt;br /&gt;
Just name the tutorial with&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Tutorials Linux &amp;quot; + name&lt;br /&gt;
&lt;br /&gt;
Ex: Tutorials_Linux_Getting_Started&amp;lt;br /&amp;gt;&lt;br /&gt;
(spaces are the same thing as underscores)&lt;br /&gt;
&lt;br /&gt;
|column2=&lt;br /&gt;
== Policies about adding Applications ==&lt;br /&gt;
&lt;br /&gt;
Your application can be any progress (Completed/Beta/Design Phase), just make sure you have a temporary name. For example if your application is called &amp;quot;Testing This&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=Asteroids&lt;br /&gt;
|article=Asteroids&lt;br /&gt;
|user=AWESOM-O&lt;br /&gt;
|site=http://domain.com/asteroids/&lt;br /&gt;
|description=This is a short description, leave screenshots&lt;br /&gt;
and other details for the application page.&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this under the [[Portal:Linux Applications All|All Linux Application Portal]], and the category it goes under (for instance &amp;quot;Games&amp;quot; if it is a game). You can always change the applications name just make sure it is not taken and let us know on the [[Admin_Changes|Admin Changes]] page so we can delete the old application page (so others can use it).&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Portal:Linux_Applications&amp;diff=9007</id>
		<title>Portal:Linux Applications</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Portal:Linux_Applications&amp;diff=9007"/>
		<updated>2010-02-09T23:12:30Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__notoc__&lt;br /&gt;
{{reorganize|This page needs to be reorganized still.}}&lt;br /&gt;
{{portal-header&lt;br /&gt;
|The Pre runs a very standard Linux on a commonly available processor.  Very soon after access was achieved to the Linux, the Optware team made the entire catalog of Optware packages available on the pre.  &lt;br /&gt;
&lt;br /&gt;
More about the Optware project here: [http://www.nslu2-linux.org/wiki/Optware/Packages Optware Packages].&lt;br /&gt;
&lt;br /&gt;
You can view a list of available packages here: [http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ List of Packages].&lt;br /&gt;
&lt;br /&gt;
The community has been busy porting other applications to the Pre.  Some of those are listed, and have pages for them below.&lt;br /&gt;
}}&lt;br /&gt;
{{portal-three-columns&lt;br /&gt;
|column1=&lt;br /&gt;
* [[Portal:Linux_Applications_All|All]]&lt;br /&gt;
* [[Portal:Linux_Applications_Business|Business]]&lt;br /&gt;
* [[Portal:Linux_Applications_Communications|Communications]]&lt;br /&gt;
* [[Portal:Linux_Applications_Entertainment|Entertainment]]&lt;br /&gt;
&lt;br /&gt;
|column2=&lt;br /&gt;
* [[Portal:Linux_Applications_Food|Food]]&lt;br /&gt;
* [[Portal:Linux_Applications_Games|Games]]&lt;br /&gt;
* [[Portal:Linux_Applications_Lifestyle|Lifestyle]]&lt;br /&gt;
* [[Portal:Linux_Applications_News|News]]&lt;br /&gt;
&lt;br /&gt;
|column3=&lt;br /&gt;
* [[Portal:Linux_Applications_Social Networking|Social Networking]]&lt;br /&gt;
* [[Portal:Linux_Applications_Tutorial|Tutorial]]&lt;br /&gt;
* [[Portal:Linux_Applications_Utilities|Utilities]]&lt;br /&gt;
* [[Portal:Linux_Applications_Productivity|Productivity]]&lt;br /&gt;
}}&lt;br /&gt;
{{portal-two-columns&lt;br /&gt;
|column1=&lt;br /&gt;
== Application Tutorials ==&lt;br /&gt;
&lt;br /&gt;
'''[[Portal:Accessing Linux|Follow the Accessing Linux Article First]]'''&lt;br /&gt;
* [[Ad-Hoc_Networking|Ad-Hoc Networking]]&lt;br /&gt;
* [[Ajaxterm]]&lt;br /&gt;
* [[Apache]]&lt;br /&gt;
* [[Colorful_Bash_Prompt|Colorful Bash Prompt]]&lt;br /&gt;
* [[Diff]]&lt;br /&gt;
* [[Tutorials_Linux_DDNS_for_EVDO|Dynamic DNS for EVDO]]&lt;br /&gt;
* [[DFBTerm DirectFB Terminal Emulator|DFBTerm DirectFB Terminal Emulator]] &lt;br /&gt;
* [[Graphical Shell with WebShell|Graphical Shell with WebShell]] &lt;br /&gt;
* [[GUI Text Editors|GUI Text Editors]] &lt;br /&gt;
* [[HamachiVPN|HamachiVPN]] &lt;br /&gt;
* [[How To Use &amp;quot;ls&amp;quot; In Color|How To Use &amp;quot;ls&amp;quot; In Color]] &lt;br /&gt;
* [[Linux Tutorial Irssi|Linux Tutorial Irssi]]&lt;br /&gt;
* [[Linux Tutorial Snownews|Linux Tutorial Snownews]]&lt;br /&gt;
* [[Lighttpd|Lighttpd ]] &lt;br /&gt;
* [[OpenVPN for Palm Pre|OpenVPN for Palm Pre]] &lt;br /&gt;
* [[Tutorials_Linux_opt_on_loopback|/opt on loopback image on /media/internal]]&lt;br /&gt;
* [[PalmVNC Terminal|PalmVNC Terminal]] &lt;br /&gt;
* [[QEMU|QEMU]] &lt;br /&gt;
* [[QEMU webOS Emulation|QEMU webOS Emulation]] &lt;br /&gt;
* [[Running webOS in QEMU|Running webOS in QEMU]] &lt;br /&gt;
* [[Replace &amp;quot;vi&amp;quot; with Fullscreen Text Editor &amp;quot;joe&amp;quot; or &amp;quot;nano&amp;quot;|Replace &amp;quot;vi&amp;quot; with Fullscreen Text Editor &amp;quot;joe&amp;quot; or &amp;quot;nano&amp;quot;]] &lt;br /&gt;
* [[rTorrent]] &lt;br /&gt;
* [[Setup Bash|Setup Bash]] &lt;br /&gt;
* [[Samba Access|Samba Access]] &lt;br /&gt;
* [[VNC (Virtual Network Computing)|VNC (Virtual Network Computing)]] &lt;br /&gt;
* [[Vala Terminal|Vala Terminal]]&lt;br /&gt;
* [[Application:VBA|VisualBoyAdvance]] an emulator of the Game Boy, Game Boy Color, and Game Boy Advance &lt;br /&gt;
* [[Application:Stella|Stella]]Atari 2600 VCS Emulator&lt;br /&gt;
* [[Wireless Music Sync with Amarok 1.4|Wireless Music Sync with Amarok 1.4]]&lt;br /&gt;
* [[Application:Gnuboy|Gameboy emulator gnuboy on the Pre]]&lt;br /&gt;
* [[SetupSquidTransparentProxy|Setup Squid transparent proxy]]&lt;br /&gt;
* [[NES and GameBoy Emulators|NES and Gameboy Emulators Simple Setup]]&lt;br /&gt;
&lt;br /&gt;
== Want to write a tutorial and Add it? ==&lt;br /&gt;
&lt;br /&gt;
Just name the tutorial with&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Tutorials Linux &amp;quot; + name&lt;br /&gt;
&lt;br /&gt;
Ex: Tutorials_Linux_Getting_Started&amp;lt;br /&amp;gt;&lt;br /&gt;
(spaces are the same thing as underscores)&lt;br /&gt;
&lt;br /&gt;
|column2=&lt;br /&gt;
== Policies about adding Applications ==&lt;br /&gt;
&lt;br /&gt;
Your application can be any progress (Completed/Beta/Design Phase), just make sure you have a temporary name. For example if your application is called &amp;quot;Testing This&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=Asteroids&lt;br /&gt;
|article=Asteroids&lt;br /&gt;
|user=AWESOM-O&lt;br /&gt;
|site=http://domain.com/asteroids/&lt;br /&gt;
|description=This is a short description, leave screenshots&lt;br /&gt;
and other details for the application page.&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Place this under the [[Portal:Linux Applications All|All Linux Application Portal]], and the category it goes under (for instance &amp;quot;Games&amp;quot; if it is a game). You can always change the applications name just make sure it is not taken and let us know on the [[Admin_Changes|Admin Changes]] page so we can delete the old application page (so others can use it).&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9006</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9006"/>
		<updated>2010-02-09T23:11:26Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 0.0.1 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Utilities&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9005</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9005"/>
		<updated>2010-02-09T23:10:56Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:SDL]]&lt;br /&gt;
&lt;br /&gt;
{{application&lt;br /&gt;
|name=Stella&lt;br /&gt;
|type=webOS&lt;br /&gt;
|version=Version: Alpha 0.0.1 &amp;lt;br /&amp;gt;(10. Feb 2010)&lt;br /&gt;
|tag=Utilities&lt;br /&gt;
|screenshot=Romlauncher.png&lt;br /&gt;
|description=&lt;br /&gt;
&lt;br /&gt;
== Summary == &lt;br /&gt;
{{icon|Stella_icon.png|float:right;}}&lt;br /&gt;
&lt;br /&gt;
=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Portal:Linux_Applications_All&amp;diff=9004</id>
		<title>Portal:Linux Applications All</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Portal:Linux_Applications_All&amp;diff=9004"/>
		<updated>2010-02-09T23:05:21Z</updated>

		<summary type="html">&lt;p&gt;Debilater: added stella&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__notoc__&amp;lt;!-- NOTE NOTE NOTE NOT  leave this comment at the top of the page. &lt;br /&gt;
&lt;br /&gt;
     copy this template and fill it in for each applicaton:  &lt;br /&gt;
&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=&lt;br /&gt;
|site=&lt;br /&gt;
|user=&lt;br /&gt;
|article=&lt;br /&gt;
|category=&lt;br /&gt;
|description=&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;{{portal-application-type&lt;br /&gt;
|type=Linux&lt;br /&gt;
|tag=All&lt;br /&gt;
|title=All applications are listed below no matter what category they fall under.&lt;br /&gt;
|list=&lt;br /&gt;
&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=Doom&lt;br /&gt;
|site=http://google.com/&lt;br /&gt;
|user=Unknown&lt;br /&gt;
|article=Doom&lt;br /&gt;
|category=Games&lt;br /&gt;
|description=Port of Doom by ID Software.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=F5VPN&lt;br /&gt;
|site=http://google.com/&lt;br /&gt;
|user=Unknown&lt;br /&gt;
|article=F5VPN&lt;br /&gt;
|category=Communication&lt;br /&gt;
|description=Empty&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=sdlVNC&lt;br /&gt;
|site=http://google.com/&lt;br /&gt;
|user=Unknown&lt;br /&gt;
|article=sdlVNC&lt;br /&gt;
|category=Communication&lt;br /&gt;
|description=VNC (SDL) client&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{portal-application-item&lt;br /&gt;
|name=Stella&lt;br /&gt;
|site=http://stella.sourceforge.net/&lt;br /&gt;
|user=debilater&lt;br /&gt;
|article=Stella&lt;br /&gt;
|category=Games&lt;br /&gt;
|description=Atari 2600 VCS Emulator&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9003</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9003"/>
		<updated>2010-02-09T23:01:40Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png|ROM Launcher&lt;br /&gt;
Image:Stella_About.png|About dialog&lt;br /&gt;
Image:Stella_Settings.png|Settings menu&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png|Game: Crazy Climber&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png|Game: Demon Attack&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png|Game: Mario Bros&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png|Game: Sword Quest&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png|Game: Quadrun&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9002</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9002"/>
		<updated>2010-02-09T22:54:42Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre. (there are some links to free roms on the bottom).&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
=User Guide=&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
=F.A.Q.=&lt;br /&gt;
&lt;br /&gt;
==I've bricked my config - stella doesn't start anymore or is unusable!==&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
==Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?==&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
==Stella crashed and my phone boots, help!==&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
==Where can I get further help?==&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
=Screenshots=&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Some Free ROMs=&lt;br /&gt;
* [http://usfiles.brothersoft.com/games/emulator/atari/River_Raid.zip River Raid]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/ateam.zip A-Team]&lt;br /&gt;
* [http://roms.freeroms.com/atari_roms/hero.zip H.E.R.O.]&lt;br /&gt;
&lt;br /&gt;
=Feature Requests/TODO=&lt;br /&gt;
&lt;br /&gt;
=Known issues=&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
=Changelog=&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9001</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=9001"/>
		<updated>2010-02-09T22:33:18Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Romlauncher.png&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Romlauncher.png&amp;diff=9000</id>
		<title>File:Romlauncher.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Romlauncher.png&amp;diff=9000"/>
		<updated>2010-02-09T22:33:10Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8999</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8999"/>
		<updated>2010-02-09T22:31:27Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
Image:SwordQuest_-_WaterWorld_(1983)_(Atari).png&lt;br /&gt;
Image:Quadrun_(1983)_(Atari)_(Prototype).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Quadrun_(1983)_(Atari)_(Prototype).png&amp;diff=8998</id>
		<title>File:Quadrun (1983) (Atari) (Prototype).png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Quadrun_(1983)_(Atari)_(Prototype).png&amp;diff=8998"/>
		<updated>2010-02-09T22:31:22Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:SwordQuest_-_WaterWorld_(1983)_(Atari).png&amp;diff=8997</id>
		<title>File:SwordQuest - WaterWorld (1983) (Atari).png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:SwordQuest_-_WaterWorld_(1983)_(Atari).png&amp;diff=8997"/>
		<updated>2010-02-09T22:30:54Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8996</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8996"/>
		<updated>2010-02-09T22:27:52Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up -	w&lt;br /&gt;
*	down -	s&lt;br /&gt;
*	left -	a&lt;br /&gt;
*	right -	d&lt;br /&gt;
*	jump -	space (originally called fire1 too)&lt;br /&gt;
*	fire2 -	f&lt;br /&gt;
*	fire3 -	g&lt;br /&gt;
*	select -	enter&lt;br /&gt;
*	reset -	q&lt;br /&gt;
*	save -	shift&lt;br /&gt;
*	load -	l&lt;br /&gt;
*	take screenshot -	p&lt;br /&gt;
*	options-menu -	delete&lt;br /&gt;
*	command-menu -	c&lt;br /&gt;
*       close popups -   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8995</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8995"/>
		<updated>2010-02-09T22:27:12Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
*       close popups   swipe right-to-left (probably ESC)&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8994</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8994"/>
		<updated>2010-02-09T22:19:21Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Controls */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts. You might also enter some letters, the cursor will then jump to the possition in the list (if there is a match).&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella for webOS:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8993</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8993"/>
		<updated>2010-02-09T22:17:24Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Stella crashed and my phone boots, help! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and under some rare conditions it takes Luna (webOS GUI Manager) with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8992</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8992"/>
		<updated>2010-02-09T22:16:01Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==F.A.Q.==&lt;br /&gt;
&lt;br /&gt;
===I've bricked my config - stella doesn't start anymore or is unusable!===&lt;br /&gt;
Delete the file /media/internals/stella/config/stellarc and start Stella again, it will create a new config with the builtin default parameters&lt;br /&gt;
&lt;br /&gt;
===Re-Mapping Keys in the Input Preferences Dialog is a nightmare, is there any better way to do it?===&lt;br /&gt;
Unfortunately: nope. You might edit the config file but the keymapping format is not human understandable. Sorry!&lt;br /&gt;
&lt;br /&gt;
===Stella crashed and my phone boots, help!===&lt;br /&gt;
From time to time the app crashes and takes in some rare cases Luna with it. Don't worry, at least it won't destroy anything.&lt;br /&gt;
&lt;br /&gt;
===Where can I get further help?===&lt;br /&gt;
Post a message to the Stella Forum Thread: ''FIXME''&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8991</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8991"/>
		<updated>2010-02-09T22:07:50Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* The most important things to know */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': press space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': press spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8990</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8990"/>
		<updated>2010-02-09T21:29:43Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8989</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8989"/>
		<updated>2010-02-09T21:28:51Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Thanks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support Stella I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [[WebOS_Internals_PDK|WIDK]]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8988</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8988"/>
		<updated>2010-02-09T21:28:36Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Thanks=&lt;br /&gt;
First Thanks goes to my beloved wife Leo, without her patience and support Stella I couldn't ever make this happen! Thanks goes to the Stella development team for this awesome emulator! Thanks to the webos-internals team for their hard work on [WebOS_Internals_PDK|WIDK]!&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8987</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8987"/>
		<updated>2010-02-09T21:23:04Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==User Guide==&lt;br /&gt;
Please don't miss the complete [http://stella.sourceforge.net/docs/index.html Original Stella Userguide]. It will answer all the questions.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8986</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8986"/>
		<updated>2010-02-09T21:00:36Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Donate */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so please consider to [[WebOS_Internals:Site_support|donate]] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8985</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8985"/>
		<updated>2010-02-09T20:58:56Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=Donate=&lt;br /&gt;
As you might assume, porting software to the palm pre webOS platform is a lot of work, so pleas consider to [WebOS_Internals:Site_support donate] to the project so that the work can be continued in the future. Thanks!&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8984</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8984"/>
		<updated>2010-02-09T20:54:53Z</updated>

		<summary type="html">&lt;p&gt;Debilater: /* Known issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
* taking screenshots with the palm (orange+@+p) produces empty images&lt;br /&gt;
* if you put stella into the background, the command menu appears&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8982</id>
		<title>Application:Stella</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Application:Stella&amp;diff=8982"/>
		<updated>2010-02-09T20:41:34Z</updated>

		<summary type="html">&lt;p&gt;Debilater: initial stella app page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Stella Atari 2600 VCS Emulator 3.0=&lt;br /&gt;
[[Image:Stella_icon.png]]Stella is a multi-platform Atari 2600 VCS emulator released under the GNU General Public License (GPL).&lt;br /&gt;
&lt;br /&gt;
=Credit=&lt;br /&gt;
Ported by [http://www.daemon.de/PalmPre Thomas Linden (debilater)] February 2010.&lt;br /&gt;
&lt;br /&gt;
=License=&lt;br /&gt;
All source is under the GPL license.&lt;br /&gt;
The original source code is available [http://stella.sourceforge.net/downloads.php here]&amp;lt;br /&amp;gt;&lt;br /&gt;
And the latest &amp;quot;Stella Atari 2600 VCS Emulator&amp;quot; for webOS source is available on git [http://git.webos-internals.org/?p=games/stella.git here] &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Installing VBA ==&lt;br /&gt;
Install [[Preware]], and then launch it. Click on &amp;quot;Available Packages&amp;quot; then &amp;quot;Applications, or &amp;quot;Available Applications&amp;quot; then &amp;quot;All&amp;quot; depending on the Preware preferences you have chosen. Now type in &amp;quot;stella&amp;quot; (no quotes). Stella should show up. If not, make sure your feeds are up to date. Click on Stella and then click install. You will probably have to install other services as well (it will tell you if you do).&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you are ready to add ROMs(games)!&lt;br /&gt;
&lt;br /&gt;
==Adding ROMS==&lt;br /&gt;
We aren't going to discuss how to get ROMs here but we will tell you how to transfer them to your Pre.&lt;br /&gt;
&lt;br /&gt;
You may use .a26, .bin, .rom, gz, or .zip Atari 2600 ROM files.&lt;br /&gt;
&lt;br /&gt;
Connect your Pre to your computer via USB mode. Once the Pre shows up on your computer, open it. You now should be at the &amp;quot;root&amp;quot; of your Pre's storage. If you look at the folders in the root, there should be a few including the &amp;quot;wallpapers&amp;quot;, &amp;quot;ringtones&amp;quot;, and most importantly, a &amp;quot;stella&amp;quot; folder. Click on that and therein the &amp;quot;roms&amp;quot; folder. Copy the ROMs from your computer and move them here. Just put the files there, do not create subdirectories.&lt;br /&gt;
&lt;br /&gt;
==Controls==&lt;br /&gt;
If you have installed some ROM files, start Stella, you will see a list of games available. Select one by tapping on it and tap on the &amp;quot;select&amp;quot; button in the bottom left corner - the game starts.&lt;br /&gt;
&lt;br /&gt;
Here is the default Keymapping coming with Stella:&lt;br /&gt;
&lt;br /&gt;
*	up	w&lt;br /&gt;
*	down	s&lt;br /&gt;
*	left	a&lt;br /&gt;
*	right	d&lt;br /&gt;
*	jump	space (originally called fire1 too)&lt;br /&gt;
*	fire2	f&lt;br /&gt;
*	fire3	g&lt;br /&gt;
*	select	enter&lt;br /&gt;
*	reset	q&lt;br /&gt;
*	save	shift&lt;br /&gt;
*	load	l&lt;br /&gt;
*	take screenshot	p&lt;br /&gt;
*	options-menu	delete&lt;br /&gt;
*	command-menu	c&lt;br /&gt;
&lt;br /&gt;
==The most important things to know==&lt;br /&gt;
&lt;br /&gt;
* ''start game'': pres space bar&lt;br /&gt;
* ''move around'': use w,s,a,d keys (see above)&lt;br /&gt;
* ''fire/jump'': pres spacebar&lt;br /&gt;
* ''switch to landscape mode'': press Delete on keyboard =&amp;gt; tap &amp;quot;UI Settings&amp;quot; =&amp;gt; tap &amp;quot;Fullscreen&amp;quot; =&amp;gt; select &amp;quot;off&amp;quot; =&amp;gt; tap button &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''modify keymappings'': press Delete on keyboard =&amp;gt; tap &amp;quot;Input Settings&amp;quot; =&amp;gt; select a function (current mapping will be displayed below!) =&amp;gt; tap &amp;quot;Map&amp;quot; =&amp;gt; press the new key =&amp;gt; tap &amp;quot;Ok&amp;quot;&lt;br /&gt;
* ''take screenshot'': press &amp;quot;p&amp;quot;, screenshots will be saved to &amp;quot;/media/internals/stella/screenshots/&amp;quot;&lt;br /&gt;
* ''exit current game/return to ROM Launcher'': press &amp;quot;c&amp;quot; key =&amp;gt; tap &amp;quot;Exit Game&amp;quot;&lt;br /&gt;
* ''exit Stella'': throw it away OR tap &amp;quot;Quit&amp;quot; in ROM Launcher&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Stella_About.png&lt;br /&gt;
Image:Stella_Settings.png&lt;br /&gt;
Image:Crazy_Climber_(1982)_(Atari).png&lt;br /&gt;
Image:Demon_Attack_(1982)_(Imagic).png&lt;br /&gt;
Image:Mario_Bros._(1983)_(Atari).png&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Feature Requests/TODO ==&lt;br /&gt;
&lt;br /&gt;
==Known issues==&lt;br /&gt;
* Stella crashes if you switch from portrait mode (the default) to landscape mode. Open bug reported to stella maintainer (debilater)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Changelog ==&lt;br /&gt;
* '''0.0.1'''&lt;br /&gt;
** Initial version (stella 3.0 stable)&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Mario_Bros._(1983)_(Atari).png&amp;diff=8981</id>
		<title>File:Mario Bros. (1983) (Atari).png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Mario_Bros._(1983)_(Atari).png&amp;diff=8981"/>
		<updated>2010-02-09T20:37:48Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Demon_Attack_(1982)_(Imagic).png&amp;diff=8980</id>
		<title>File:Demon Attack (1982) (Imagic).png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Demon_Attack_(1982)_(Imagic).png&amp;diff=8980"/>
		<updated>2010-02-09T20:37:25Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Crazy_Climber_(1982)_(Atari).png&amp;diff=8979</id>
		<title>File:Crazy Climber (1982) (Atari).png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Crazy_Climber_(1982)_(Atari).png&amp;diff=8979"/>
		<updated>2010-02-09T20:37:04Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=File:Stella_Settings.png&amp;diff=8978</id>
		<title>File:Stella Settings.png</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=File:Stella_Settings.png&amp;diff=8978"/>
		<updated>2010-02-09T20:36:44Z</updated>

		<summary type="html">&lt;p&gt;Debilater: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Debilater</name></author>
	</entry>
</feed>