Preenv/FAQ
andrewfblack (Talk | contribs) |
andrewfblack (Talk | contribs) (→How to get NFPU Working?) |
||
Line 74: | Line 74: | ||
== How to get NFPU Working? == | == How to get NFPU Working? == | ||
- | + | get root | |
root | root | ||
- | + | install preenv and OpenGLES1 (need extras-devel) | |
apt-get install libgles1 preenv | apt-get install libgles1 preenv | ||
- | + | create main game dir on eMMC card | |
mkdir -p /home/user/MyDocs/Games/nfs | 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 | 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 | 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 | 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 | mkfs.ext2 /home/user/MyDocs/Games/nfs/nfsu.ext2 | ||
- | + | press 'y'<br> | |
- | + | make mountpoint | |
mkdir /mnt/nfsu | 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 | 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/ | mount /mnt/nfsu/ | ||
- | + | create symlynk from /usr/palm (NFSU installs there) | |
ln -s /mnt/nfsu/ /usr/palm | 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/ | 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 | chmod +x /mnt/nfsu/applications/com.ea.app.nfsuc/nfsuc | ||
- | + | create desktop launcher | |
desktopgen /mnt/nfsu/applications/com.ea.app.nfsuc/appinfo.json | desktopgen /mnt/nfsu/applications/com.ea.app.nfsuc/appinfo.json | ||
[[Category:Software]] | [[Category:Software]] |
Revision as of 10:29, 27 October 2010
Contents |
How to install Preenv?
Gain root access and use apt-get
in the terminal:
root apt-get install preenv
What do I use to extract an ipk file?
7-Zip
How to install a game
$ sudo gainroot $ apt-get install preenv libgles1
use 7-zip to extract -> game-folder
Copy the game folder to /home/user/[webOS-games]
:
$ sudo gainiroot $ cd game-folder $ chmod +rwx 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:
$ cd game-folder $ desktopgen appinfo.json
How to delete a game
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 Assassin's Creed Working?
Extract the .ipk file and copy the com.gameloft.app.assassins
to the applications folder under /home/user/
. Open xterminal:
$ sudo gainroot $ apt-get install preenv $ apt-get install libGLES*
Close the terminal, open a new one and type
$ sudo gainroot $ preenv $ cd /home/user/applications/com.gameloft.app.assassins/assassins $ chmod +rwx Assassins $ cd $ cd /home/user/applications/com.gameloft.app.assassins $ desktopgen appinfo.json
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