Preenv: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>andrewfblack
imported>amigadave
wikify slightly
Line 1: Line 1:
Preenv is a set of libraries and stubs that should make running WebOS native applications possible on the [[Nokia N900|N900]].
Note that "native applications" are a small subset of all WebOS applications; most of these are OpenGL games.
== Current Preenv Version 0.1.1 ==
== Current Preenv Version 0.1.1 ==


==Game Compatibility==


==Game Compatibility==
{| class="wikitable sortable"  border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse;"
{| class="wikitable sortable"  border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
! scope=col width="125" | SoftwareFullName
! scope=col width="125" | SoftwareFullName:
! scope=col width="100" | Version
! scope=col width="100" | Version:
! scope=col width="100" | Status
! scope=col width="100" | Status:
! scope=col width="300" | Bug(s)
! scope=col width="300" | Bug(s):
! scope=col width="175" | Preenv version
! scope=col width="175" | Preenv version:
|-
|-
|Assassin's Creed|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|Assassin's Creed|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
Line 69: Line 73:
|-
|-
|Avatar|| N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || ?? || 0.1.1
|Avatar|| N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || ?? || 0.1.1
|}
|}


==FAQ==
==FAQ==
===How to install Preenv?===
===How to install Preenv?===
Install rootsh from application manager
 
Open Terminal and enter following commands.
Gain [[root access]] and use <code>apt-get</code> in the [[terminal]]:
  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>
<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 92: Line 100:
  $ 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
Line 103: Line 111:


===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 126: Line 133:


===How to get Assasins Creed Working?===
===How to get Assasins 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 a terminal and enter:


  $ sudo gainroot
  $ sudo gainroot
Line 133: Line 140:
  $ 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 142: Line 149:
  $ cd /home/user/applications/com.gameloft.app.assassins
  $ cd /home/user/applications/com.gameloft.app.assassins
  $ desktopgen appinfo.json
  $ desktopgen appinfo.json
[[Category:Software]]
[[Category:N900]]

Revision as of 06:32, 27 October 2010

Preenv is a set of libraries and stubs that should make running WebOS native applications possible on the N900.

Note that "native applications" are a small subset of all WebOS applications; most of these are OpenGL games.

Current Preenv Version 0.1.1

Game Compatibility

SoftwareFullName Version Status Bug(s) Preenv version
Assassin's Creed N/A 1 Working N/A 0.1.1
Brain Challenge N/A 1 Working N/A 0.1.1
Hero of Sparta N/A 1 Working N/A 0.1.1
Monopoly N/A 1 Working N/A 0.1.1
Let's Golf N/A 1 Working N/A 0.1.1
Need for Speed Undercover N/A 1 Working Needs libgles1-sgx-img 0.1.1
N.O.V.A 1.0.9 1 Working Needs libsdl-net1.2 0.1.1
SIMS 3 N/A 1 Working N/A 0.1.1
Oregon Trail N/A 1 Working N/A 0.1.1
Blades of Fury N/A 1 Working N/A 0.1.1
X-Plane 9 9.5.0 1 Working N/A 0.1.1
X-Plane Airliner 9.5.0 1 Working Bad scaling, but playable 0.1.1
Earthworm Jim N/A 1 Working N/A 0.1.1
The settlers 1.1.1 1 Working missing symbol: N/A 0.1.1
Guitar Hero 5 N/A 1 Unplayable Bad Scaling/Missing Graphics 0.1.1
Brother In Arms N/A 1 Unplayable Needs Multitouch 0.1.1
Driver N/A 1 Unplayable Missing Graphics 0.1.1
Super KO Boxing 2 N/A 1 Unplayable Bad Scaling/Missing Graphics 0.1.1
Crusade Of Destiny N/A 1 Not Working Sundefined symbol PDL_GetLocation 0.1.1
Dungeon Hunter N/A 1 Not Working segmentation fault 0.1.1
FIFA 2010 N/A 1 Not Working undefined symbol SDL_HapticOpen 0.1.1
H.A.W.X N/A 1 Not Working undefined segmentation fault: IStoreable Load open file = /media/cryptofs/apps/usr/palm/applications/com.gameloft.app.hawx/playlist 0.1.1
Modern Combat Sandstorm N/A 1 Not Working ?? 0.1.1
Raging Thunder 2 N/A 1 Not Working undefined symbol SDL_HapticOpen 0.1.1
Real Soccer 2010 N/A 1 Not Working ?? 0.1.1
Real Tennis N/A 1 Not Working needs libamrnb.so.3 0.1.1
Skater Nation N/A 1 Not Working PDL: Application asked for device ID, giving 0000 0.1.1
Speed Forge Extreme N/A 1 Not Working undefined symbol glCheckFramebufferStatusOES 0.1.1
Asphalt 5 1.14 1 Not Working segmentation fault after clicking "quick race" 0.1.1
Avatar N/A 1 Not Working ?? 0.1.1

FAQ

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 Assasins Creed Working?

Extract the .ipk file and copy the com.gameloft.app.assassins to the applications folder under /home/user/. Open a terminal and enter:

$ 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