Preenv/FAQ

(New page: ==FAQ== ===How to install Preenv?=== Install rootsh from application manager Open Terminal and enter following commands. root apt-get install preenv ===What do I use to extract an ipk fi...)
(wikify slightly)
Line 1: Line 1:
-
==FAQ==
+
==How to install Preenv?==
-
===How to install Preenv?===
+
 
-
Install rootsh from application manager
+
Gain [[root access]] and use <code>apt-get</code> in the [[terminal]]:
-
Open Terminal and enter following commands.
+
  root
  root
  apt-get install preenv
  apt-get install preenv
-
===What do I use to extract an ipk file?===
+
 
 +
==What do I use to extract an ipk file?==
 +
 
7-Zip  
7-Zip  
-
===How to install a game===
+
 
 +
==How to install a game==
 +
 
  $ sudo gainroot
  $ sudo gainroot
  $ apt-get install preenv libgles1
  $ apt-get install preenv libgles1
use 7-zip to extract -> game-folder
use 7-zip to extract -> game-folder
-
<br>
+
 
-
copy game folder to /home/user/[webOS-games]
+
Copy the game folder to <code>/home/user/[webOS-games]</code>:
  $ sudo gainiroot
  $ sudo gainiroot
Line 19: Line 22:
  $ chmod +rwx filename
  $ chmod +rwx filename
-
e.g. filename = nfsuc in need for speed case or sims in case of sims3
+
e.g. <code>filename</code> = <code>nfsuc</code> in need for speed case or sims in case of sims3
  $ preenv
  $ preenv
  $ ./filename
  $ ./filename
-
once you know file plays properly. you can add the menu button
+
Once you know that the file plays properly. you can add the menu button:
  $ cd game-folder
  $ cd game-folder
  $ desktopgen appinfo.json
  $ desktopgen appinfo.json
-
===How to delete a game===
+
==How to delete a game==
-
Delete the folder
+
 
 +
Become root and delete the folder:
  $ sudo gainroot
  $ sudo gainroot
  $ rm -r game-folder
  $ rm -r game-folder
-
To remove the icon, you need to delete three files
+
To remove the icon, you need to delete three files:
-
  $ cd /usr/share/applications/hildon
+
  $ rm /usr/share/applications/hildon/filename.desktop
-
$ rm filename.desktop
+
  $ rm /usr/share/dbus-1/services/filename.service
-
  $ cd /usr/share/dbus-1/services
+
  $ rm /usr/share/icons/hicolor/scalable/hildon/filename.png
-
$ rm filename.service
+
-
  $ cd /usr/share/icons/hicolor/scalable/hildon
+
-
$ rm filename.png
+
-
Refresh your menu
+
Refresh your menu:
  $ killall hildon-desktop
  $ killall hildon-desktop
-
===How to get N.O.V.A working?===
+
==How to get N.O.V.A working?==
-
Install extra packages for N.O.V.A, then follow regular install guide.
+
 
 +
Install extra packages for N.O.V.A, then follow the regular install guide.
  $ sudo gainroot
  $ sudo gainroot
Line 52: Line 54:
  $ apt-get install libsdl-net1.2
  $ apt-get install libsdl-net1.2
-
===How to get Assasins Creed Working?===
+
==How to get Assassin's Creed Working?==
-
Extract the .ipk file and copy the com.gameloft.app.assassins to applications folder under /home/user/
+
 
-
Open xterminal
+
Extract the .ipk file and copy the <code>com.gameloft.app.assassins</code> to the applications folder under <code>/home/user/</code>. Open xterminal:
  $ sudo gainroot
  $ sudo gainroot
Line 60: Line 62:
  $ apt-get install libGLES*
  $ apt-get install libGLES*
-
Close the xterminal and open new one and type  
+
Close the terminal, open a new one and type  
  $ sudo gainroot
  $ sudo gainroot
Line 69: Line 71:
  $ cd /home/user/applications/com.gameloft.app.assassins
  $ cd /home/user/applications/com.gameloft.app.assassins
  $ desktopgen appinfo.json
  $ desktopgen appinfo.json
 +
 +
[[Category:Software]]

Revision as of 09:13, 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