Preenv: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>amigadave
wikify slightly
imported>thp
Links: Link to Git repository
 
(47 intermediate revisions by 21 users not shown)
Line 3: Line 3:
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 ==
[http://maemo.org/packages/view/preenv/ Current Preenv Version 0.1.7]


==Game Compatibility==
[http://repository.maemo.org/extras-devel/pool/fremantle-1.3/free/p/preenv/ Older versions may be able to be found here.]


{| class="wikitable sortable"  border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse;"
== Links ==
! 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
|-
|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
|}


==FAQ==
* [[Preenv/Game Compatibility|Game Compatibility]]
* [[Preenv/FAQ |FAQ]]
* [http://talk.maemo.org/showthread.php?t=39809 T.M.O Thread]
* [http://talk.maemo.org/showthread.php?t=64392 T.M.O. Game Compatibility Thread]
* [http://gitorious.org/preenv preenv Git repository on Gitorious]
* [http://www.youtube.com/watch?v=k-zIzA9UjqY Sims3 Video]
* [http://www.youtube.com/watch?v=JD98O0rVev0 Need for Speed Video]
* [http://www.youtube.com/watch?v=PyxQwPr-usU Assassins Creed Video]
* [http://www.youtube.com/watch?v=lTlmziroGZY Asphalt]


===How to install Preenv?===
== Screenshots ==


Gain [[root access]] and use <code>apt-get</code> in the [[terminal]]:
[[Image:PreenvSS-1.jpg|frame|left|alt=Screenshot of The Sims 3|The Sims 3]]
root
apt-get install preenv


===What do I use to extract an ipk file?===
[[Image:PreenvSS-2.png|frame|left|alt=Screenshot of Assassin's Creed: Altair's Chronicles|Assassin's Creed: Altair's Chronicles]]


7-Zip
[[Image:PreenvSS-3.jpg|frame|left|alt=Screenshot of Brothers in Arms|Brothers in Arms]]


===How to install a game===
[[Image:PreenvSS-4.jpg|frame|left|alt=Screenshot of Asphalt 5|Asphalt 5]]


$ sudo gainroot
[[Image:PreenvSS-5.jpg|frame|left|alt=Screenshot of The Settlers|The Settlers]]
$ 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:
$ 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 <code>com.gameloft.app.assassins</code> to the applications folder under <code>/home/user/</code>. 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


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

Latest revision as of 16:08, 14 May 2011

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.7

Older versions may be able to be found here.

Screenshots

Screenshot of The Sims 3
The Sims 3
Screenshot of Assassin's Creed: Altair's Chronicles
Assassin's Creed: Altair's Chronicles
Screenshot of Brothers in Arms
Brothers in Arms
Screenshot of Asphalt 5
Asphalt 5
Screenshot of The Settlers
The Settlers