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)

sonydarkaz 2013-05-05 06:32

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

Originally Posted by sh00ter28 (Post 1341350)
fixed :) working fruit ninja no sounds?

Gratz! Yep! it works with no sounds, it's just an emulator. What do you even want more from it?!?

b-rockSA 2013-05-05 13:17

Re: [Announce] apkenv (N900, N950, N9)
 
Any new compatible games/apps?

impeham 2013-05-06 00:37

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

Originally Posted by sonydarkaz (Post 1341360)
Gratz! Yep! it works with no sounds, it's just an emulator. What do you even want more from it?!?

works perfectly and with sound on my device. great game :)

ivgalvez 2013-05-06 10:41

Re: [Announce] apkenv (N900, N950, N9)
 
World Of Goo, versions 1.0.1 and 1.0.6 are not working for me in the N9:
Code:

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

late-initializing normal mutex
late-initializing recursive mutex
Loaded module: /opt/apkenv/modules//angrybirds.apkenv.so (64)
Loaded module: /opt/apkenv/modules//unity.apkenv.so (8)
Loaded module: /opt/apkenv/modules//fruitninja.apkenv.so (64)
Loaded module: /opt/apkenv/modules//trg2.apkenv.so (64)
Loaded module: /opt/apkenv/modules//generic.apkenv.so (2)
Loaded module: /opt/apkenv/modules//worldofgoo.apkenv.so (64)
Loaded module: /opt/apkenv/modules//cuttherope.apkenv.so (64)
Using module: /opt/apkenv/modules//worldofgoo.apkenv.so
signal 11 (Segmentation fault), address is 0x3470db98 from 0x3b07336c
[bt]: (1) /opt/apkenv/modules//worldofgoo.apkenv.so(build_apk_index+0x1d8) [0x3b07336c]
[bt]: (2) /opt/apkenv/modules//worldofgoo.apkenv.so(build_apk_index+0x1d8) [0x3b07336c]
[bt]: (3) /opt/apkenv/modules//worldofgoo.apkenv.so [0x3b0733e8]
[bt]: (4) apkenv [0xfff8]
[bt]: (5) /lib/libc.so.6(__libc_start_main+0x118) [0x410453cc]

Other games (Cut the Rope, AB Space, Fruit Ninja) work OK. Should I try downloading a different version of WoG or is there any library missing?

jendkers 2013-05-06 12:39

Re: [Announce] apkenv (N900, N950, N9)
 
I can confirm that World of Goo 1.0.6 is working very well on my N9, so u should try download another wog 1.0.6 or update apkenv.

optimaxxx 2013-05-06 15:16

Re: [Announce] apkenv (N900, N950, N9)
 
Is the latest version for N9 the one included in the wiki?

I swear to god I downloaded that exact file months ago

Macros 2013-05-06 20:34

Re: [Announce] apkenv (N900, N950, N9)
 
You find the latest version here:
http://talk.maemo.org/showpost.php?p...&postcount=986

I updated the wikilink

DJJonosound 2013-05-14 08:22

Edit: fixed

Kozzi 2013-05-16 21:30

Is it possible to have a version with PvZ support? I read from pandora forum that PvZ module conflicts with super hexagon, therefor only one of the two could work. Any idea how to drop superhexagon and have PvZ working instead?

Addoozz 2013-05-17 13:21

Can someone make it possible for superhexagon with sounds?

Alecsandru 2013-05-20 21:07

Re: [Announce] apkenv (N900, N950, N9)
 
i'm getting the libdc6 2.7 error when I try to install latest deb , any hints on this? thanks

szopin 2013-05-20 21:20

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

Originally Posted by Addoozz (Post 1344326)
Can someone make it possible for superhexagon with sounds?

Works with sounds and fonts for me. For fonts most likely DejaVu ttf is needed, I've got a bunch of those installed, so not sure which exactly are used. Someone else reported sound working too. The only problem is rather slow speed, even with OC to 1150

EDIT: slow speed caused by debug version of apkenv, troubleshooting it caused too high speed after disabling vsync and feeding all debug output to /dev/null. Proper setup described below: vsync on, all debug data to null, still not sure how to fix Xes version which is tearing when the lady talks

unoace 2013-05-22 06:34

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

apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

Usage: ./apkenv [--install] <file.apk>

RiD 2013-05-28 13:46

Re: [Announce] apkenv (N900, N950, N9)
 
Updated list on wiki, changed Super Hexagon to Working.

Check this to improve performance & get rid of most bugs (only thing not working is music, other sounds and text work). The guide is messy (my first wiki page) but someone can take a better look at it and organize it.

However, now it runs too fast :eek:, most likely related with vsync which doesn't seem to work.

Ta76eem 2013-05-30 11:24

Re: [Announce] apkenv (N900, N950, N9)
 
Where to get link ??

Just486 2013-05-30 14:56

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

Originally Posted by RiD (Post 1347424)
Updated list on wiki, changed Super Hexagon to Working.

Check this to improve performance & get rid of most bugs (only thing not working is music, other sounds and text work). The guide is messy (my first wiki page) but someone can take a better look at it and organize it.

However, now it runs too fast :eek:, most likely related with vsync which doesn't seem to work.

With a really small amount of modifications I managed to get the musics work. Run speed seems to be fine on N9.

So basically I converted (not just renamed) the .ogg format musics in \data\music to .wav format, and modified the content of hexagon-103\lib\armeabi-v7a\libOFAndroidApp.so & libOFAndroidApp_neon.so (these are the files containing the "playlist"), to match the new formats. Mp3 is not supported, only wav. - There must be something wrong with the module.

That's all, now you can play a fully functional SuperHexagon if you really want to.

I know it might not be the best solution to have, but for now is the only one available, I guess.

HolgerN 2013-05-30 16:40

Re: [Announce] apkenv (N900, N950, N9)
 
I am able to hear the ogg - music, i have libsdl-mixer1.2 and libogg0 installed on my N9.

RiD 2013-05-30 20:21

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

Originally Posted by HolgerN (Post 1348090)
I am able to hear the ogg - music, i have libsdl-mixer1.2 and libogg0 installed on my N9.

Thanks, I managed to fix music playback on my N900 too! It sounds somewhat weird, though.
(Updated the guide)

To any of you N9 owners, please specify what version of apkenv you are running to play Super Hexagon http://wiki.maemo.org/Apkenv/Game_Compatibility

Also, one of you might want to edit http://wiki.maemo.org/Apkenv/Game_Co.../Super_Hexagon to add better N9 instructions (and who knows, tidy it up:p)

eviloar 2013-05-31 01:30

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

Originally Posted by Just486 (Post 1348067)
With a really small amount of modifications I managed to get the musics work. Run speed seems to be fine on N9.

So basically I converted (not just renamed) the .ogg format musics in \data\music to .wav format, and modified the content of hexagon-103\lib\armeabi-v7a\libOFAndroidApp.so & libOFAndroidApp_neon.so (these are the files containing the "playlist"), to match the new formats. Mp3 is not supported, only wav. - There must be something wrong with the module.

That's all, now you can play a fully functional SuperHexagon if you really want to.

I know it might not be the best solution to have, but for now is the only one available, I guess.

Holy crap! As someone coming from an iPhone to the N9, thank you so much for this!

RiD 2013-05-31 09:30

Re: [Announce] apkenv (N900, N950, N9)
 
you might want to try HolgerN's solution, as it is more hassle free than converting a bunch of files and modifying game content. (http://talk.maemo.org/showthread.php...90#post1348090)

Ta76eem 2013-05-31 13:04

Re: [Announce] apkenv (N900, N950, N9)
 
link for the last modules ??? (with SuperHexagon)

szopin 2013-05-31 17:37

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
So, the problem with Super Hexagon is - not enough space in /tmp which prevents it from creating the correct data directory (which is why manual copy from wiki works)

Code:

[3|user@Nokia-N900|~/dev/apkenv-master]./apkenv /home/user/MyDocs/superx.apk > hexagon.out
cat: write error: No space left on device
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/tmp.X8n0RhD or
        /tmp/tmp.X8n0RhD.zip, and cannot find /tmp/tmp.X8n0RhD.ZIP, period.
play issued with nothing set to play
play issued with nothing set to play

Easy fix, before running for the first time do:
Code:

sudo mount -o remount,size=32M /tmp
Run hexagon, close it, now restore /tmp to original size:

Code:

sudo mount -o remount,size=1M /tmp
In case it runs too quickly, make sure vsync is turned on in settings.dat (~/.apkenv/<superhexagon.apk>/data/):
Code:

    <vsyncenabled>1</vsyncenabled>
Attached my debug binary that is not tearing on voice (and doesn't seem to crash world of goo with 'Illegal instruction' incidentally), it spams xterm with a lot of info, which was causing slowdowns for me in hexagon, if you use it make sure to append:
Code:

> /dev/null
to the end of the apkenv command (so something like: './apkenvdbg /home/user/MyDocs/goo.apk > /dev/null')

Boemien 2013-05-31 17:38

Re: [Announce] apkenv (N900, N950, N9)
 
Hi all, for an unknow reason, the apkenv version i installed from here:

http://talk.maemo.org/showpost.php?p...&postcount=987

keeps telling me that i'm missing library dependencies, with some apk games and even with the game trg2 downloaded from THP website.

Could someone please list me all the folders where I could copy the necessary files, and the xterm commands to make the games work!!!!

szopin 2013-05-31 17:46

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

Originally Posted by Boemien (Post 1348391)
Hi all, for an unknow reason, the apkenv version i installed from here:

http://talk.maemo.org/showpost.php?p...&postcount=987

keeps telling me that i'm missing library dependencies, with some apk games and even with the game trg2 downloaded from THP website.

Could someone please list me all the folders where I could copy the necessary files, and the xterm commands to make the games work!!!!

If you get this:
Code:

apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

apkenv: apklib/apklib.c:89: apk_get_shared_libraries: Assertion `fwrite(buf, read, 1, result) == 1' failed.
Aborted

Go to /home/user and remove all .apkenv-xyz files (rm .apkenv-*), those are leftovers from apkenv and you have no space left in /home/user

RiD 2013-05-31 19:24

Re: [Announce] apkenv (N900, N950, N9)
 
@szopin vsync does not fix it, not on the N900. I tried all possible settings (vsync=1, vsyncenabled=1 | vsync=1, vsyncenabled=0 | vsync=0, vsyncenabled=0 | vsync=0, vsyncenabled=1) and none of them fixed the speed.


Your method to install it seems much faster and easier, though. I'll have to update wiki someday (or someone else do it :D)

szopin 2013-05-31 19:55

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

Originally Posted by RiD (Post 1348432)
@szopin vsync does not fix it, not on the N900. I tried all possible settings (vsync=1, vsyncenabled=1 | vsync=1, vsyncenabled=0 | vsync=0, vsyncenabled=0 | vsync=0, vsyncenabled=1) and none of them fixed the speed.


Your method to install it seems much faster and easier, though. I'll have to update wiki someday (or someone else do it :D)

Ok, this is weird. Turning vsync to 1 did fix my speed once I started using ' > /dev/null/' now it seems to work at normal speeds with Super Hexagon and Super Hexagoner mode, Super Hexagonest does get too fast... need more testing (at first was ignoring settings.dat as all the options like fullscreen etc didn't seem to make any change, vsync did seem to help though :/)

Boemien 2013-05-31 22:41

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

Originally Posted by szopin (Post 1348401)
If you get this:
Code:

apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

apkenv: apklib/apklib.c:89: apk_get_shared_libraries: Assertion `fwrite(buf, read, 1, result) == 1' failed.
Aborted

Go to /home/user and remove all .apkenv-xyz files (rm .apkenv-*), those are leftovers from apkenv and you have no space left in /home/user

thanks for your reply, here is what i got:

Code:

apkenv 42.3.15 - http://thp.io/2012/apkenv/
Copyright (c) 2012 Thomas Perl <m@thp.io>

Missing library dependencies.
~/apkenv/apkenv/bin $


Ta76eem 2013-06-01 14:17

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

Originally Posted by coderus (Post 1323378)
anyone experienced bug with cut the rope crashing at last "space" box?

Me... Got all 450 Stars .. press on the first level of Cosmic Box the game closes

eviloar 2013-06-02 04:18

Re: [Announce] apkenv (N900, N950, N9)
 
Is there a way to change the name of the "application" that sits on your homescreen after using the apkenv --install command so that it no longer says .apk at the end? Apologies if this is considered nitpicking, I'm grateful that the ability to do this even exists :)

Also, seems there's a bug with Super Hexagon's music here. I have the necessary libraries (libmixer1.2, libogg0) and it works on my N9 but I have noticed the song for a stage will play from start to finish only once, rather than looping. Additionally, when you die and continue, the music will continue from where it was when you died rather than how it acts on an actual android phone. Nevertheless, it's solved by simply exiting and reopening the app...hopefully you're not good enough to be able to play past the end of a song without dying :p

Just486 2013-06-02 19:43

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

Originally Posted by eviloar (Post 1348832)
Is there a way to change the name of the "application" that sits on your homescreen after using the apkenv --install command so that it no longer says .apk at the end?

Desktop entries of apkenv are stored in /home/user/.local/share/applications (actually, any custom desktop entry can esily be stored here). You will need a basic text editor (like nano or khtsimpletext) to modify them. Once you succeed to open one, the structure of them is so obvious, that you won't need any further explanation about what to do. It is also easier to me, to create directly the entry there rather than using the apkenv --install command.

eviloar 2013-06-03 00:48

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

Originally Posted by Just486 (Post 1349043)
Desktop entries of apkenv are stored in /home/user/.local/share/applications (actually, any custom desktop entry can esily be stored here). You will need a basic text editor (like nano or khtsimpletext) to modify them. Once you succeed to open one, the structure of them is so obvious, that you won't need any further explanation about what to do. It is also easier to me, to create directly the entry there rather than using the apkenv --install command.

Thanks. I found this yesterday and attempted to simply rename the ___.desktop file. As you said, very simple to understand once you simply open it with a text editor :)

coderus 2013-06-03 07:38

Re: [Announce] apkenv (N900, N950, N9)
 
@Ta76eem cuttherope not HD works fine, but low resolution :)

Ta76eem 2013-06-06 14:37

Re: [Announce] apkenv (N900, N950, N9)
 
Which version works perfectly ??
I am using v1.0

Ancelad 2013-06-10 05:55

Re: [Announce] apkenv (N900, N950, N9)
 
Still no text?

Garp 2013-06-10 08:20

Succeded in installing apps Fruit, Alex, amazing Alex and Ctrope but only Fruit is working. The rest only start but shut down imidiately?

pedsarjon 2013-06-10 08:46

Re: [Announce] apkenv (N900, N950, N9)
 
i have install pudding monster on n9
its run but freez
no mistake & no error but freez
please help me:confused::confused::confused:

https://play.google.com/store/apps/d...rs.paid.google

Kozzi 2013-06-10 09:14

That's promising, what version did you try?
EDIT: I gave Pudding Monsters a try, with
1.0.2: generic module loaded, nothing happens
1.1: generic module, same as above
1.2: not native apk

I don't think it work at all even though same maker as Cut the Rope.

myname24 2013-06-10 15:47

Re: [Announce] apkenv (N900, N950, N9)
 
1 Attachment(s)
here latest apkenv compiled with latest commits (sonic 4 episode 1 works ) .
As usual the same warning about installing deb files from the internet and i don't take any responsibility of anything that might happens . enjoy :)

edit : i lost my app data and reflashed the kernel because of trying sonic 4episode1 (error from sonic 4 data not from apkenv ) . Now it works just put the data in /home/user/.apkenv/

skate_boy92 2013-06-10 17:23

Re: [Announce] apkenv (N900, N950, N9)
 
is it for N900?

myname24 2013-06-10 17:38

Re: [Announce] apkenv (N900, N950, N9)
 
N9/50 only


All times are GMT. The time now is 05:55.

vBulletin® Version 3.8.8