Preenv: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>andrewfblack
No edit summary
Line 1: Line 1:
<div style="margin-left: 18px; z-index: 4; margin-right: 4em">
Preenv is a set of libraries and stubs that should make running WebOS native applications possible on the [[Nokia N900|N900]].
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.
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==
 
{| class="wikitable sortable"  border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse;"
! scope=col width="125" | SoftwareFullName
! scope=col width="100" | Version
! scope=col width="100" | Status
! scope=col width="300" | Bug(s)
! 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
|-
|Brain Challenge|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|-
|Hero of Sparta|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|-
|Monopoly|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|-
|Let's Golf|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|-
|Need for Speed Undercover|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || Needs libgles1-sgx-img || 0.1.1
|-
|N.O.V.A|| 1.0.9 || style="background-color:green;" |<span style="display:none">1</span> Working || Needs libsdl-net1.2 || 0.1.1
|-
|SIMS 3|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|-
|Oregon Trail|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working || N/A || 0.1.1
|-
|Blades of Fury|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working|| N/A|| 0.1.1
|-
|X-Plane 9|| 9.5.0 || style="background-color:green;" |<span style="display:none">1</span> Working|| N/A|| 0.1.1
|-
|X-Plane Airliner|| 9.5.0 || style="background-color:green;" |<span style="display:none">1</span> Working|| Bad scaling, but playable|| 0.1.1
|-
|Earthworm Jim|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working|| N/A|| 0.1.1
|-
|The settlers|| 1.1.1 || style="background-color:green;" |<span style="display:none">1</span> Working|| missing symbol: N/A || 0.1.1
|-
|Tanks!|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working|| Portrait mode only, missing textures || 0.1.1
|-
|Tetris|| N/A || style="background-color:green;" |<span style="display:none">1</span> Working|| Portrait mode only || 0.1.1
|-
|Guitar Hero 5|| N/A || style="background-color:yellow;" |<span style="display:none">1</span> Unplayable || Bad Scaling/Missing Graphics || 0.1.1
|-
|Brother In Arms|| N/A || style="background-color:Yellow;" |<span style="display:none">1</span> Unplayable || Needs Multitouch || 0.1.1
|-
|Driver|| N/A || style="background-color:yellow;" |<span style="display:none">1</span> Unplayable || Missing Graphics || 0.1.1
|-
|Super KO Boxing 2|| N/A || style="background-color:yellow;" |<span style="display:none">1</span> Unplayable || Bad Scaling/Missing Graphics || 0.1.1
|-
|Crusade Of Destiny || N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || Sundefined symbol PDL_GetLocation || 0.1.1
|-
|Dungeon Hunter || N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || segmentation fault|| 0.1.1
|-
|FIFA 2010 || N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || undefined symbol SDL_HapticOpen|| 0.1.1
|-
|H.A.W.X|| N/A || style="background-color:Red;" |<span style="display:none">1</span> 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 || style="background-color:Red;" |<span style="display:none">1</span> Not Working || ??|| 0.1.1
|-
|Raging Thunder 2|| N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || undefined symbol SDL_HapticOpen|| 0.1.1
|-
|Real Soccer 2010|| N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || ?? || 0.1.1
|-
|Real Tennis || N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || needs libamrnb.so.3 || 0.1.1
|-
|Skater Nation || N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || PDL: Application asked for device ID, giving 0000 || 0.1.1
|-
|Speed Forge Extreme || N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || undefined symbol glCheckFramebufferStatusOES || 0.1.1
|-
|Asphalt 5|| 1.14 || style="background-color:Red;" |<span style="display:none">1</span> Not Working || segmentation fault after clicking "quick race" || 0.1.1
|-
|Avatar|| N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || ?? || 0.1.1
|-
|Ground Effect Pro|| N/A || style="background-color:Red;" |<span style="display:none">1</span> Not Working || It appears demo and sound, after touch screen crashed || 0.1.1
|}
 
==FAQ==
 
===How to install Preenv?===
 
Gain [[root access]] and use <code>apt-get</code> 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
<br>
Copy the game folder to <code>/home/user/[webOS-games]</code>
 
$ sudo gainiroot
$ cd game-folder
$ chmod +rwx filename
 
e.g. <code>filename</code> = <code>nfsuc</code> 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:
</div>
$ rm /usr/share/applications/hildon/filename.desktop
<hr>
$ rm /usr/share/dbus-1/services/filename.service
<div style="float: left; clear: both; width: 35%">
$ rm /usr/share/icons/hicolor/scalable/hildon/filename.png


Refresh your menu:
== Menu ==
$ killall hildon-desktop


===How to get N.O.V.A working?===
[[Preenv/Game Compatability | Game Compatability]]
[[Preenv/FAQ | FAQ]]


Install extra packages for N.O.V.A, then follow the regular install guide.
</div>


$ sudo gainroot
<div style="float: right; clear: left; width: 60%; border-right: 0px solid #bbb; padding-right: 2em">
$ apt-get update
$ apt-get install libsdl-net1.2


===How to get Assasins Creed Working?===
== ScreenShots ==


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:
Sims 3<br>
[[Image:PreenvSS-1.jpg]]<br>
Assasins Creed<br>
[[Image:PreenvSS-2.jpg]]<br>
Brother In Arms<br>
[[Image:PreenvSS-3.jpg]]


$ sudo gainroot
</div>
$ 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


[[Category:Software]]
[[Category:Software]]
[[Category:N900]]
[[Category:N900]]

Revision as of 07:43, 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



ScreenShots

Sims 3

Assasins Creed
File:PreenvSS-2.jpg
Brother In Arms