Preenv/FAQ

How to install Preenv?
Gain root access and use  in the terminal: $ root
 * 1) apt-get install preenv
 * 2) exit

What do I use to extract an ipk file?
7-zip or any other tool able to extract Debian packages (dpkg, file-roller, ...)

Here is the Video guide on how to install WebOS games to the N900 http://www.youtube.com/watch?v=pGQwWZ_VriA

Or you can follow the steps below....

How to install a game
use 7-zip to extract -> game-folder

Copy the game folder to :

$ sudo gainroot $ cd game-folder $ chmod a+x filename

e.g.  =   in need for speed case or sims in case of sims3

$ preenv $ ./filename

Once you know that the file plays properly. you can add the menu button:

$ sudo gainroot
 * 1) preenv
 * 2) desktopgen /game-folder/appinfo.json
 * 3) exit

How to delete a game
Enter preenv and cd into the game folder: $ preenv $ cd game-folder

Become root and use desktopgen to delete game icons: $ root
 * 1) preenv
 * 2) desktopgen -r appinfo.json
 * 3) exit
 * 4) exit

Now you can delete the game folder itself: $ cd .. $ rm -r game-folder

Deleting games installed with old preenv 0.1
Become root and delete the folder: $ sudo gainroot $ rm -r game-folder

To remove the icon, you need to delete three files: $ rm /usr/share/applications/hildon/filename.desktop $ rm /usr/share/dbus-1/services/filename.service $ rm /usr/share/icons/hicolor/scalable/hildon/filename.png

Refresh your menu: $ killall hildon-desktop

How to get N.O.V.A working?
Install extra packages for N.O.V.A, then follow the regular install guide.

$ sudo gainroot $ apt-get update $ apt-get install libsdl-net1.2

How to get NFPU Working?
get root root install preenv and OpenGLES1 (need extras-devel) apt-get install libgles1 preenv create main game dir on eMMC card mkdir -p /home/user/MyDocs/Games/nfs go to that dir and copy dowloaded .ipk file from desktop (or download directly here) cd /home/user/MyDocs/Games/nfs scp user@COMPUTER:/path/to/game/com.ea.app.nfsuc_20.0.28_all.ipk /home/user/MyDocs/Games/nfs create file for loopback mount dd if=/dev/zero of=/home/user/MyDocs/Games/nfs/nfsu.ext2 count=120 bs=1024k create ext2 filesystem on it mkfs.ext2 /home/user/MyDocs/Games/nfs/nfsu.ext2 press 'y' make mountpoint mkdir /mnt/nfsu save it to the fstab echo -e "/home/user/MyDocs/Games/nfs/nfsu.ext2\t/mnt/nfsu\text2\tloop,auto\t0\t0" >> /etc/fstab finally, mount it mount /mnt/nfsu/ create symlynk from /usr/palm (NFSU installs there) ln -s /mnt/nfsu/ /usr/palm extrack .ipk file dpkg -X /home/user/MyDocs/Games/nfs/com.ea.app.nfsuc_20.0.28_all.ipk /mnt/nfsu/ make binary executable chmod +x /mnt/nfsu/applications/com.ea.app.nfsuc/nfsuc create desktop launcher desktopgen /mnt/nfsu/applications/com.ea.app.nfsuc/appinfo.json

Unable to connect to USB after above method?
If after following the following tutorial, you are unable to connect your N900 to your PC's USB, open xterm on your device:

get root root unmount the image file umount /mnt/nfsu

Once you're done with USB you can remount the image mount /mnt/nfsu