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)

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 05:51.

vBulletin® Version 3.8.8