Preenv/FAQ
(→How to install a game) |
(→How to get N.O.V.A working?) |
||
Line 75: | Line 75: | ||
$ apt-get install libsdl-net1.2 | $ apt-get install libsdl-net1.2 | ||
+ | ==How to get Monopoly Classic working with an icon?== | ||
+ | After installation and creating an icon, lastly follow it with this step | ||
+ | |||
+ | $ cd *monopoly | ||
+ | $ chmod 777 monopolyclassic/save | ||
== How to get NFPU Working? == | == How to get NFPU Working? == |
Revision as of 08:22, 28 October 2010
Contents |
How to install Preenv?
Gain root access and use apt-get
in the terminal:
$ root # apt-get install preenv # 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 /home/user/[webOS-games]
:
$ sudo gainroot $ cd game-folder $ chmod a+x filename
e.g. filename
= nfsuc
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 # preenv # desktopgen /game-folder/appinfo.json # 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 # preenv # desktopgen -r appinfo.json # exit # 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 Monopoly Classic working with an icon?
After installation and creating an icon, lastly follow it with this step
$ cd *monopoly $ chmod 777 monopolyclassic/save
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