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)

Kozzi 2013-06-11 04:57

myname24

which version of sonic 4 episode 1 worked for you? I tried with 1.3 and 1.0.1 with no success. The latest build is supposed to work with Plants vs Zombies v1.2 also according to pandora forum.

mikal2100 2013-06-11 05:13

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

Originally Posted by myname24 (Post 1350915)
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/

I DiD noT GEt iT wORK... :(
AfTeR InStAlliNG YOu ApkEnV FiLe... NoN oF MY Apk fILe WorKED... WhAt iS WRonG...??? Plzzzz HeLp...

myname24 2013-06-11 06:38

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

Originally Posted by Kozzi (Post 1351028)
myname24

which version of sonic 4 episode 1 worked for you? I tried with 1.3 and 1.0.1 with no success. The latest build is supposed to work with Plants vs Zombies v1.2 also according to pandora forum.

I used the 1.3 version a here's a screenshot .
And PvZ might work just i didn't test it to confirm .

http://i.imgur.com/KT96lD4.png

Kozzi 2013-06-11 06:45

myname24
For me apkenv loads the game using generic module instead of the other. I have data folder In /home/usr/.apkenv/, is this correct?

myname24 2013-06-11 06:56

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

Originally Posted by Kozzi (Post 1351039)
myname24
For me apkenv loads the game using generic module instead of the other. I have data folder In /home/usr/.apkenv/, is this correct?

(re)move generic module outside the modules folder in /opt/apkenv/modules
and the data is /home/usr/.apkenv/<name of sonic4.apk>/

Kozzi 2013-06-11 08:05

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

Originally Posted by myname24 (Post 1351043)
(re)move generic module outside the modules folder in /opt/apkenv/modules
and the data is /home/usr/.apkenv/<name of sonic4.apk>/

Nice, thanks alot
After removing generic.apkenv.so from /opt/apkenv/modules and /home/user/ to avoid loading the module, I got it working. I'm now able to load Plants vs Zombies v1.2 (amazon) with data built into the apk. The latest version 1.3.16 doesn't work though. How long it takes for you to load Sonic 4 Episode 1 ? i got blank white screen with no much activity.

myname24 2013-06-11 08:39

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

Originally Posted by Kozzi (Post 1351056)
Nice, thanks alot
After removing generic.apkenv.so from /opt/apkenv/modules and /home/user/ to avoid loading the module, I got it working. I'm now able to load Plants vs Zombies v1.2 (amazon) with data built into the apk. The latest version 1.3.16 doesn't work though. How long it takes for you to load Sonic 4 Episode 1 ? i got blank white screen with no much activity.

a 5 second at most . Try as root , and the data is in folder not in another subfolder .

Kozzi 2013-06-11 09:06

myname24
This is how I have it:

.apkenv/Sonic_4_Episode_1_v1.3.apk/com.sega.sonic4epi/files $ ls -la
total 24764
drwxr-xr-x 3 user users 4096 Jun 11 07:45 .
drwxr-xr-x 3 user users 4096 Jun 11 11:49 ..
drwxr-xr-x 2 user users 4096 Jun 11 07:45 AUDIO
-rw-r--r-- 1 user users 6 Jun 11 07:45 DMSave.bin
-rw-r--r-- 1 user users 22 Jun 11 07:45 cfeet.zxs
-rw-r--r-- 1 user users 25330838 Jun 11 07:45 resources.dz
-rw-r--r-- 1 user users 572 Jun 11 07:45 sonic4_ep1.dat

what do you mean by not in subfolder?

myname24 2013-06-11 09:16

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

Originally Posted by Kozzi (Post 1351069)
myname24
This is how I have it:

.apkenv/Sonic_4_Episode_1_v1.3.apk/com.sega.sonic4epi/files $ ls -la
total 24764
drwxr-xr-x 3 user users 4096 Jun 11 07:45 .
drwxr-xr-x 3 user users 4096 Jun 11 11:49 ..
drwxr-xr-x 2 user users 4096 Jun 11 07:45 AUDIO
-rw-r--r-- 1 user users 6 Jun 11 07:45 DMSave.bin
-rw-r--r-- 1 user users 22 Jun 11 07:45 cfeet.zxs
-rw-r--r-- 1 user users 25330838 Jun 11 07:45 resources.dz
-rw-r--r-- 1 user users 572 Jun 11 07:45 sonic4_ep1.dat

what do you mean by not in subfolder?

sorry i wasn't clear enough . you need to move all files to sonic_4 ... folder .

$ ls -l /home/user/.apkenv/Sonic4.apk/
total 24756
drwxr-xr-x 2 user users 4096 Jun 10 19:04 AUDIO
-rw-r--r-- 1 user users 6 Jun 10 19:04 DMSave.bin
-rw-r--r-- 1 user users 22 Jun 10 19:04 cfeet.zxs
-rw-r--r-- 1 user users 25330838 Jun 10 19:04 resources.dz
-rw-r--r-- 1 user users 572 Jun 10 19:04 sonic4_ep1.dat

pedsarjon 2013-06-11 09:21

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

Originally Posted by Kozzi (Post 1350850)
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.

1.0.2 & 1.1
its need a file for harmattan example pudding monster.so

Kozzi 2013-06-11 09:47

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

Originally Posted by myname24 (Post 1351071)
sorry i wasn't clear enough . you need to move all files to sonic_4 ... folder .

$ ls -l /home/user/.apkenv/Sonic4.apk/
total 24756
drwxr-xr-x 2 user users 4096 Jun 10 19:04 AUDIO
-rw-r--r-- 1 user users 6 Jun 10 19:04 DMSave.bin
-rw-r--r-- 1 user users 22 Jun 10 19:04 cfeet.zxs
-rw-r--r-- 1 user users 25330838 Jun 10 19:04 resources.dz
-rw-r--r-- 1 user users 572 Jun 10 19:04 sonic4_ep1.dat

Yup works now, thanks alot. Version 1.3.16 of Plants vs Zombies now works after copying the content com.popcap.pvz_na/files/ to the game_filename.apk folder. I have this problem with game characters do not show up.

First image with Sonic standing still
http://i.imgur.com/xehjccL.png
Second image with Sonic jumping
http://i.imgur.com/yqco3pt.png

Plants vs Zombies 1.3.16:
http://i.imgur.com/oY794Yx.png

Kozzi 2013-06-11 18:40

Anyone else playing Plants vs Zombies with the latest apkenv? Background sounds doesn't work for me, fx sounds does though.

failed to play home/user/.apkenv/Plants_vs_Zombies_v1.3.16.apk/music/crazydave.mp3: C
ouldn't read from 'home/user/.apkenv/Plants_vs_Zombies_v1.3.16.apk/music/crazydave.mp
3'
late-initializing errorcheck mutex
late-initializing errorcheck mutex

Just486 2013-06-11 20:42

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

Originally Posted by Kozzi (Post 1351235)
Anyone else playing Plants vs Zombies with the latest apkenv? Background sounds doesn't work for me, fx sounds does though.

failed to play home/user/.apkenv/Plants_vs_Zombies_v1.3.16.apk/music/crazydave.mp3: C
ouldn't read from 'home/user/.apkenv/Plants_vs_Zombies_v1.3.16.apk/music/crazydave.mp
3'
late-initializing errorcheck mutex
late-initializing errorcheck mutex

Same here. Also, effects are out-of-tone, as they are played at a higher pitch than they should be. The same bug applies to Sonic4 + many of the textures missing.

HtheB 2013-06-12 23:29

Re: [Announce] apkenv (N900, N950, N9)
 
someone should update the game compatibility list on the wiki page....
http://wiki.maemo.org/Apkenv/Game_Compatibility

Just486 2013-06-13 09:25

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

Originally Posted by HtheB (Post 1351594)
someone should update the game compatibility list on the wiki page....
http://wiki.maemo.org/Apkenv/Game_Compatibility

WIP (Harmattan version table only).

EDIT: Updating done :)

Can somebody please create a wiki page about how to run Sonic4 and PvZ (games with external data), so more buddies will be able to understand.

myname24 2013-06-13 09:38

Re: [Announce] apkenv (N900, N950, N9)
 
I had to remove line 477 iirc from marmalade.c to let it compile . maybe because of that audio doesn't work properly . @liar can you look at this issue ?

Alecsandru 2013-06-13 09:42

Re: [Announce] apkenv (N900, N950, N9)
 
who has the last version compiled for n900

Boemien 2013-06-13 14:47

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

Originally Posted by Alecsandru (Post 1351685)
who has the last version compiled for n900

Erm... :D Just to focus your attention on this post!! We need the final version for N900. :cool:

mikal2100 2013-06-16 06:14

Re: [Announce] apkenv (N900, N950, N9)
 
ThE LAtEsT ApkEnV veRsIoN bY myNaMe24 iS noT WoRkING FOr mE... :( :( :( :(

amr.fayz 2013-06-19 13:46

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

Originally Posted by Boemien (Post 1351744)
Erm... :D Just to focus your attention on this post!! We need the final version for N900. :cool:



version for N900

http://www.mediafire.com/download/c6...ayz%282%29.rar

Super Hexagon Working And all the previous games but

Sonic4.apk give

HTML Code:

linker/linker.c:1155| ERROR: Library 'libhgl.so' not found
signal 11 (Segmentation fault), address is (nil) from 0x41971860


i put libhgl.so and loading it


HTML Code:

LD_PRELOAD=/apkenv/bionic/libhgl.so apkenv Sonic4.apk
and give

HTML Code:

apkenv: error while loading shared libraries: libcutils.so: cannot open shared object file: No such file or directory

add libcutils.so and try again and give

HTML Code:

undefined symbol: dl_unwind_find_exidx

Angry Birds Friends give

HTML Code:

linker/linker.c:1382| ERROR:    0 cannot locate 'glBindFramebuffer'...

linker/linker.c:2057| ERROR: failed to link libAngryBirdsFriends.so
Missing library dependencies.


i put libAngryBirdsFriends.so and run

HTML Code:

LD_PRELOAD=/apkenv/bionic/libAngryBirdsFriends.so apkenv /apkenv/App/AngryBirdsFriends.apk

give the same

HTML Code:

undefined symbol: dl_unwind_find_exidx

What is the solution to this problem is it from sdl or libc.so ?


.........


http://forums.libsdl.org/viewtopic.p...1302b98cca6a53


http://warpedtimes.wordpress.com/cat...id-technology/

murik 2013-06-19 14:34

Re: [Announce] apkenv (N900, N950, N9)
 
Hi all. Where I can download apk files?

Ancelad 2013-06-19 15:54

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

Originally Posted by murik (Post 1353217)
Hi all. Where I can download apk files?

https://twitter.com/iAncelad/status/331863327452061696

Garp 2013-06-20 08:02

Re: [Announce] apkenv (N900, N950, N9)
 
I have installed default games Angry Birds free with Magic, GOF2, RealGolf, Nfs Shift and all works fine.

Then installing apkenv-qml v0.2.1 and apkenv v42.3.15
Then found and succeded in installing apps using apkenv-qml:
Fruit, Alex, amazing Alex and Ctrope
but only Fruit is working fine.
The rest only starts up but then shut down imidiately?

What to do?:confused:

eviloar 2013-06-20 21:34

Re: [Announce] apkenv (N900, N950, N9)
 
I have noticed that in /home/user/ there are tons of apkenv files being made. Their names are stuff like:
.apkenv-TpQzHm
.apkenv-uEZyFD
.apkenv-UgNkCn
etc.

I think there are at least 20+ and the sizes range from 4.06Kb to 8.14 or 8.11 Mb. Is this normal and are they safe to remove? Is this actually save data? The only game I use with apkenv is Super Hexagon.

I read through as many pages of this thread as I could, but didn't seem to find any help with this issue. Maybe I also wasn't searching for the right topics.

Yisroel491 2013-06-21 09:20

i wish i knew how top do all this stuff.is love to be able to play old video games.

Just486 2013-06-21 10:40

Re: [Announce] apkenv (N900, N950, N9)
 
You can remove those. They contain trash generated by apkenv. Latest version (by myname24) seem not produce them at all though.

Gizamkd 2013-06-21 17:10

Re: [Announce] apkenv (N900, N950, N9)
 
gusy please help i getting this error i tried all games please
"Missing library dependencies" :o:o

Kozzi 2013-06-23 12:07

Quote:

Originally Posted by Gizamkd (Post 1353750)
gusy please help i getting this error i tried all games please
"Missing library dependencies"

You need to tell more information regarding your setup so others could help you out:
1. N9 or N900?
2. If N9, did you install using qtweak or deb posted in this thread?
3. What games have you tried and which versions?
4. Screenshots?

Gizamkd 2013-06-24 04:49

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

Originally Posted by Kozzi (Post 1354091)
You need to tell more information regarding your setup so others could help you out:
1. N9 or N900?
2. If N9, did you install using qtweak or deb posted in this thread?
3. What games have you tried and which versions?
4. Screenshots?

1.N9 Yes.
2.Yes i tried to install them using qtweak, tweak just create green shortcuts and i click on them nothing start... and try run them with terminal (before reflash fruit ninja worked fine run from terminal (i played just that before reflashing)
3. I found on the forum link for all working games Apkenv Games.zip don't know about version in the zip are
wogoo.apk
fruitninja.apk
ctrope.apk
absurf.apk
abspace.apk
abseasons.apk
abrio.apk
aalex.apk
4.
http://imageshack.us/a/img515/6822/ek5.png
http://imageshack.us/a/img266/5179/wj8s.png

sry for english

Kozzi 2013-06-24 06:42

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

Originally Posted by Gizamkd (Post 1354322)
1.N9 Yes.
2.Yes i tried to install them using qtweak, tweak just create green shortcuts and i click on them nothing start... and try run them with terminal (before reflash fruit ninja worked fine run from terminal (i played just that before reflashing)
3. I found on the forum link for all working games Apkenv Games.zip don't know about version in the zip are
wogoo.apk
fruitninja.apk
ctrope.apk
absurf.apk
abspace.apk
abseasons.apk
abrio.apk
aalex.apk
4.

sry for english

I don't know whether qtweak has the latest deb and how it differs from just installing using the deb. If you still want to use qtweak method instead of the deb posted here then sorry I can't help.Otherwise if you can tolerate terminal usage then:
1. uninstall apkenv
2. remove .apkenv from /home/user/ , you might need rood access.
- cd /home/user/
- rm -rf .apkenv
you will loose all game saves if you have any
3. install the deb from this post: http://talk.maemo.org/showpost.php?p...postcount=1071
4. open terminal
- apkenv /path/to/your/apk/game.apk
ie. apkenv MyDocs/Downloads/wogoo.apk
5. if works, run apkenv --install /path/to/your/apk/game.apk
if not, take screenshot and post here.


btw, I can't see your attached images.

Gizamkd 2013-06-24 19:02

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

Originally Posted by Kozzi (Post 1354334)
I don't know whether qtweak has the latest deb and how it differs from just installing using the deb. If you still want to use qtweak method instead of the deb posted here then sorry I can't help.Otherwise if you can tolerate terminal usage then:
1. uninstall apkenv
2. remove .apkenv from /home/user/ , you might need rood access.
- cd /home/user/
- rm -rf .apkenv
you will loose all game saves if you have any
3. install the deb from this post: http://talk.maemo.org/showpost.php?p...postcount=1071
4. open terminal
- apkenv /path/to/your/apk/game.apk
ie. apkenv MyDocs/Downloads/wogoo.apk
5. if works, run apkenv --install /path/to/your/apk/game.apk
if not, take screenshot and post here.


btw, I can't see your attached images.

Thanks dude it work for Cut The Rope and Angry Birds Space but i cant install Fruit Ninja.

Cannot extract icon from /home/user/MyDocs/apkenv/fruitninja.apk
i got this error

The game starts with this command apkenv /
/home/user/MyDocs/apkenv/fruitninja.apk but cant not be installed :o if u have solution tell me...
And tell me how to uninstall the games installed.
Thanks again
-Sry for english

Kozzi 2013-06-25 07:39

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

Originally Posted by Gizamkd (Post 1354468)
Cannot extract icon from /home/user/MyDocs/apkenv/fruitninja.apk
i got this error

The game starts with this command apkenv /
/home/user/MyDocs/apkenv/fruitninja.apk but cant not be installed :o if u have solution tell me...
And tell me how to uninstall the games installed.
Thanks again
-Sry for english

How I uninstall:
* rm .local/share/applications/name.apk.desktop
How I install manually any game:
* copy one of the installed game as new icon, ie world of goo
- cd .local/share/applications
- cp wogoo.apk.desktop fruitninja.apk.desktop
- nano fruitninja.apk.desktop

the desktop file content is similar (not exact) to this:
[Desktop Entry]
Name=WoG
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=invoker --single........
Icon=$HOME/Icons/MyIcon.png

change to
[Desktop Entry]
Name=Fruit Ninja
Encoding=UTF-8
Version=1.0
Type=Game
Terminal=false
Exec= <== change the path of apk file (at the end) to the one for fruitninja apk
Icon=path/to/the/icon/file.png <== copy fruit ninja icon to your phone and point this path to the icon, for example apkenv stores icons in /home/user/.apkenv/game.apk.png

Ctrl+X to quit and Y to save

Gizamkd 2013-06-25 19:28

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

Originally Posted by Kozzi (Post 1354551)
How I uninstall:
* rm .local/share/applications/name.apk.desktop
How I install manually any game:
* copy one of the installed game as new icon, ie world of goo
- cd .local/share/applications
- cp wogoo.apk.desktop fruitninja.apk.desktop
- nano fruitninja.apk.desktop

the desktop file content is similar (not exact) to this:
[Desktop Entry]
Name=WoG
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=invoker --single........
Icon=$HOME/Icons/MyIcon.png

change to
[Desktop Entry]
Name=Fruit Ninja
Encoding=UTF-8
Version=1.0
Type=Game
Terminal=false
Exec= <== change the path of apk file (at the end) to the one for fruitninja apk
Icon=path/to/the/icon/file.png <== copy fruit ninja icon to your phone and point this path to the icon, for example apkenv stores icons in /home/user/.apkenv/game.apk.png

Ctrl+X to quit and Y to save



-/bin/sh: nano: not found

Eztran 2013-06-25 19:37

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

Originally Posted by Gizamkd (Post 1354682)
-/bin/sh: nano: not found

Code:

apt-get install nano
or add the Utilities metapackage (devtools-utilities) from Settings>Security>Developer mode, which also gives wget and x11-utils.

Gizamkd 2013-06-26 05:10

Re: [Announce] apkenv (N900, N950, N9)
 
Works from shortcut but i have small problem there not showing icon its green ... but doesnt matter i dont need icon

Thanks u gusy @Kozzi :) @Eztran

Kozzi 2013-06-26 07:34

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

Originally Posted by Gizamkd (Post 1354745)
Works from shortcut but i have small problem there not showing icon its green ... but doesnt matter i dont need icon

Thanks u gusy @Kozzi :) @Eztran

Possibly missing icon image (recheck image path) and/or need ui refreshing which can be done using qtweak or rebooting phone

Zas 2013-07-01 09:46

Re: [Announce] apkenv (N900, N950, N9)
 
I got Super Hexagon fully working with sound and fonts. /tmp on N9/50 is not enough so using a custom tempfile command I got apkenv to create the temp files elsewhere.

Copy this to a script and run as user:
Code:

# make binary and temp directories
mkdir -p /home/user/.apkenv/tmp /home/user/.apkenv/bin

# create custom tempfile command to change temp directory
echo "rm -rf /home/user/.apkenv/tmp/tmp.??????
file=\`mktemp /home/user/.apkenv/tmp/tmp.XXXXXX\`
echo \$file" > /home/user/.apkenv/bin/tempfile

# create script to start super hexagon with custom tempfile command
# /home/user/.apkenv/bin/runhexagon.sh SuperHexagon.apk
echo "export PATH=/home/user/.apkenv/bin:\$PATH
apkenv \"\$1\"" > /home/user/.apkenv/bin/runhexagon.sh

chmod +x /home/user/.apkenv/bin/runhexagon.sh
chmod +x /home/user/.apkenv/bin/tempfile

Then you can run Super Hexagon with
Code:

/home/user/.apkenv/bin/runhexagon.sh SUPER_HEXAGON_APK_HERE
Make sure you have packages unzip, libogg0, libsdl-mixer1.2 installed.

Only thing is music won't loop but this same problem is in other apks.

kukuh7 2013-07-11 16:10

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

Originally Posted by Kozzi (Post 1354334)
I don't know whether qtweak has the latest deb and how it differs from just installing using the deb. If you still want to use qtweak method instead of the deb posted here then sorry I can't help.Otherwise if you can tolerate terminal usage then:
1. uninstall apkenv
2. remove .apkenv from /home/user/ , you might need rood access.
- cd /home/user/
- rm -rf .apkenv
you will loose all game saves if you have any
3. install the deb from this post: http://talk.maemo.org/showpost.php?p...postcount=1071
4. open terminal
- apkenv /path/to/your/apk/game.apk
ie. apkenv MyDocs/Downloads/wogoo.apk
5. if works, run apkenv --install /path/to/your/apk/game.apk
if not, take screenshot and post here.


btw, I can't see your attached images.

how do I run World of goo without having to use the terminal?
because, as I typed apkenv - install / home / user / MyDocs / Apkenv / wofgoo.apk, and I go to the icon on the desktop, the game will not start?

Kozzi 2013-07-12 05:23

Quote:

Originally Posted by kukuh7 (Post 1358321)
how do I run World of goo without having to use the terminal?
because, as I typed apkenv - install / home / user / MyDocs / Apkenv / wofgoo.apk, and I go to the icon on the desktop, the game will not start?

In your case the command would be:
apkenv --install /home/user/MyDocs/Apkenv/wofgoo.apk
Does the icon display correctly with icon image? Any errors after inserting the install command?

kukuh7 2013-07-12 14:50

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

Originally Posted by Kozzi (Post 1358395)
In your case the command would be:
apkenv --install /home/user/MyDocs/Apkenv/wofgoo.apk
Does the icon display correctly with icon image? Any errors after inserting the install command?

for detail, you can see my Screenshot,,:)
http://img690.imageshack.us/img690/4263/ip8f.png


All times are GMT. The time now is 23:27.

vBulletin® Version 3.8.8