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)

Schturman 2012-10-26 07:07

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

Originally Posted by vicscraft (Post 1285663)
oooppss... never noticed that...:D

Edit: saw the update Schturman... though I prefer to save the progress automatically when game closes... :)

I'm too, but i don't know how to do this.. I Don't know how i can know that game stopped and closed.. How to check this?
If can to know this, we can add automatic process..

vicscraft 2012-10-26 07:14

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

Originally Posted by Schturman (Post 1285681)
I'm too, but i don't know how to do this.. I Don't know how i can know that game stopped and closed.. How to check this?
If can to know this, we can add automatic process..

that's what i have posted... it works for me...

Schturman 2012-10-26 07:24

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

Originally Posted by vicscraft (Post 1285686)
that's what i have posted... it works for me...

Thanks, will check it later..

PIDk 2012-10-26 09:18

Re: [Announce] apkenv (N900, N950, N9)
 
If somebody is interested, here is my script to launch apkenv with config autosave/load feature:
Code:

#!/bin/sh

apkenv_dir="/opt/apkenv/"
apkenvwrp_dir="/home/user/.apkenvwrp/"

load_backup() {
        mkdir -p $apkenvwrp_dir$1
        rm -rf /home/user/.apkenv/*
        cp -rf $apkenvwrp_dir$1/. /home/user/.apkenv/
}

save_backup() {
        cp -rf /home/user/.apkenv/. $apkenvwrp_dir$1/
        rm -rf /home/user/.apkenv/*
}

if [ ! $1 ]; then
        echo "Usage: apkenvwrp.sh application.apk"
        echo "Do not run under root!"
        exit 0
fi

if [ $(whoami) != "user" ]; then
        echo "User rights required!"
        exit 0
fi

if [ ! -f $1 ]; then
        echo "File '"$1"' doesn't exist!"
        exit 0
fi

apk_path=$(readlink -f "$1")
backup_name=$(basename "$1" ".apk")

load_backup $backup_name

cd $apkenv_dir

./apkenv $apk_path

save_backup $backup_name

exit 0

Save it as apkenvwrp.sh and run it from somewhere like that:
Code:

sh apkenvwrp.sh program.apk
EDIT:
And don't forget to change apkenv_dir variable to actual directory where you have placed all apkenv files.

EDIT2:
Updated script! For some unknown (for me) reason, rm doesn't like double quotes. Now rm is working properly.

Samir_123455 2012-10-26 09:57

Re: [Announce] apkenv (N900, N950, N9)
 
hi guys I'm new here but i want to now what is the version and the date in this :
cp -R /home/user/MyDocs/apkenv.harmattan.VERSION_DATE /home/user/apkenv/apkenv

and where is the Bionic libraries ??? please help me ?

dann9 2012-10-26 10:06

Re: [Announce] apkenv (N900, N950, N9)
 
try this: https://github.com/QKit/apkenv-qml/downloads

Quote:

Originally Posted by KiRiK (Post 1284354)
deb-files of qml interface are available for download at github: https://github.com/QKit/apkenv-qml/downloads

For Harmattan (Nokia N9) is sufficient to dpkg a package, dependencies will be downloaded automatically.

For Maemo 5 (Nokia N900).. it seems, I have some chaos in repositories.
I can not install it just using dpkg - problems with dependencies.
But, please, try to do it and tell me about the result.
If the package cann't be installed, run in terminal as root:
Code:

apt-get install libsdl1.2 libsdl-mixer1.2 libgles1-sgx-img libsdl-gles1.2-1
or, if the package installs with no dependencies:
Code:

apt-get install-f


Samir_123455 2012-10-26 10:47

Re: [Announce] apkenv (N900, N950, N9)
 
hi guys what i should do with this ?;
./apkenv : permission denied ?????
please help me

thedead1440 2012-10-26 10:51

Re: [Announce] apkenv (N900, N950, N9)
 
when will people learn to read the wiki :rolleyes:

Samir_123455 2012-10-26 11:08

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

Originally Posted by thedead1440 (Post 1285801)
when will people learn to read the wiki :rolleyes:


i do this ; "chmod +x apkenv", then ./apkenv
but didn't work

cddiede 2012-10-26 11:39

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

Originally Posted by Samir_123455 (Post 1285811)
i do this ; "chmod +x apkenv", then ./apkenv
but didn't work

The terminal is just text, so why don't you just copy and paste what you are actually typing and getting in reply to a forum post? Also of use would be typing:

pwd

So we know in what directory you are attempting to execute these commands since none of them include fully qualified paths.

Seriously, so many people cherry pick and transcribe partial terminal messages when asking for tech support on forums are just making more work for themselves and at the same time providing insufficient information to get any useful advise.


It's like saying: I typed foo and it no work!!!


All times are GMT. The time now is 07:30.

vBulletin® Version 3.8.8