maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] apkenv (N900, N950, N9) (https://talk.maemo.org/showthread.php?t=87496)

Artyom 2013-01-31 16:27

Re: [Announce] apkenv (N900, N950, N9)
 
can someone please explain how to run the games? i dont want to be stuck with the old version!

coderus 2013-01-31 16:31

Re: [Announce] apkenv (N900, N950, N9)
 
get latest deb, install it
http://talk.maemo.org/attachment.php...2&d=1359544143
and launch
apkenv game.apk

panjgoori 2013-01-31 17:02

Re: [Announce] apkenv (N900, N950, N9)
 
any new version available for Maemo ?

Bundyo 2013-01-31 17:08

Quote:

Originally Posted by thp (Post 1319442)
They are the shared libraries extracted from the .apk files, and are usually deleted at the end. I just saw that the Pandora patch commented out the unlink() call (probably because it also introduced the ability to load more than one .so file from the .apk), so you can safely delete these files after apkenv has closed down.

Great news, that ;)

nessuno0986 2013-01-31 17:22

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by coderus (Post 1319500)
get latest deb, install it
http://talk.maemo.org/attachment.php...2&d=1359544143
and launch
apkenv game.apk

i do it and after i reboot my device.

but....

if i try to launch with apken abspace.apk says not a native apk.
if i try to launch with apkenv /home/user/MyDocs/Apkenv/abspace.apk says missing libraly depandancies.

coderus 2013-01-31 18:07

Re: [Announce] apkenv (N900, N950, N9)
 
what game version you using? newest versions using GLES2 and not supported yet.

nbedford 2013-01-31 20:08

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by coderus (Post 1319500)
get latest deb, install it
http://talk.maemo.org/attachment.php...2&d=1359544143
and launch
apkenv game.apk

But it's only working as root :confused: Shouldn't it work as user?

How to write .desktop to run as root?

As user
Code:

~ $ apkenv /home/user/MyDocs/apkenv/Fruit_Ninja_v1.5.4.apk
apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

Loaded module: /opt/apkenv/modules//generic.apkenv.so (2)
Loaded module: /opt/apkenv/modules//trg2.apkenv.so (64)
Loaded module: /opt/apkenv/modules//angrybirds.apkenv.so (64)
Loaded module: /opt/apkenv/modules//fruitninja.apkenv.so (64)
Loaded module: /opt/apkenv/modules//cuttherope.apkenv.so (64)
Loaded module: /opt/apkenv/modules//unity.apkenv.so (8)
Loaded module: /opt/apkenv/modules//worldofgoo.apkenv.so (64)
Using module: /opt/apkenv/modules//fruitninja.apkenv.so
open /dev/sequencer or /dev/snd/seq: No such file or directory
signal 11 (Segmentation fault), address is (nil) from 0x41090550
[bt]: (1) /lib/libc.so.6(fwrite+0x2c) [0x41090550]
[bt]: (2) /lib/libc.so.6(fwrite+0x2c) [0x41090550]
[bt]: (3) /opt/apkenv/modules//fruitninja.apkenv.so(extract_files_callback+0x94) [0x3aeaaa9c]
[bt]: (4) apkenv [0x17184]
[bt]: (5) /opt/apkenv/modules//fruitninja.apkenv.so [0x3aeaa584]
[bt]: (6) apkenv [0xfff8]
[bt]: (7) /lib/libc.so.6(__libc_start_main+0x118) [0x410453cc]

As root
Code:

~ # apkenv /home/user/MyDocs/apkenv/Fruit_Ninja_v1.5.4.apk
apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

Loaded module: /opt/apkenv/modules//generic.apkenv.so (2)
Loaded module: /opt/apkenv/modules//trg2.apkenv.so (64)
Loaded module: /opt/apkenv/modules//angrybirds.apkenv.so (64)
Loaded module: /opt/apkenv/modules//fruitninja.apkenv.so (64)
Loaded module: /opt/apkenv/modules//cuttherope.apkenv.so (64)
Loaded module: /opt/apkenv/modules//unity.apkenv.so (8)
Loaded module: /opt/apkenv/modules//worldofgoo.apkenv.so (64)
Using module: /opt/apkenv/modules//fruitninja.apkenv.so
open /dev/sequencer or /dev/snd/seq: No such file or directory

Game works

Artyom 2013-01-31 20:14

Re: [Announce] apkenv (N900, N950, N9)
 
coderus, thank you very much for the explanation.
Quote:

Originally Posted by nessuno0986 (Post 1319518)
if i try to launch with apkenv /home/user/MyDocs/Apkenv/abspace.apk says missing libraly depandancies.

this worked for me. thank you also.

szopin 2013-01-31 20:27

Re: [Announce] apkenv (N900, N950, N9)
 
Quote:

Originally Posted by panjgoori (Post 1319510)
any new version available for Maemo ?

Nope. Latest updates killed Fremantle compatibility. Version from couple of days ago freezes the phone totally on ABS, plays Fruit Ninja on half screen. Version from today on Fruit complains on lack of Mix_OpenAudio (or something like that now it says Not native apk after few reboots due to ABS testing, btw cool trick to kill phone nicely in such state: hold the power down while inserting charger, somehow the kill signal gets passededit: worked twice, third time didn't disregard that, weird), freezes all else. ldd suggests a lot of libs got kicked out, probably untested on N900.

B-RUNO 2013-01-31 20:53

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
For the N900 Lovers here is the latest compiled version of the apkenv for fremantle!
All angrybirds and amazing alex are working well now and cute the rope as well.

Regards to all.


All times are GMT. The time now is 18:54.

vBulletin® Version 3.8.8