Thread
:
[Announce] apkenv (N900, N950, N9)
View Single Post
vicscraft
2012-10-26 , 06:16
Posts: 23 | Thanked: 5 times | Joined on Mar 2011 @ Philippines
#
368
I modified Kozzi's script to run the games with a launcher... a simple cp commands will do the trick to enable saving game progress automatically...
here's an outline
#!/bin/sh
cd /home/user/.apkenv/
case "$1" in
<game 1>)
cp <savegame path for game 1>/*.lua ./;;
<game 2>)
cp <savegame path for game 2>/*.lua ./;;
etc...
esac
cd /home/user/apkenv/
case "$1" in
<game 1>)
./apkenv ./apps/<game 1 apk>
cp ./.apkenv/*.lua <savegame path for game 1>/
;;
<game 2>)
./apkenv ./apps/<game 2 apk>
cp ./.apkenv/*.lua <savegame path for game 2>/
;;
etc....
esac
Quote & Reply
|
vicscraft
View Public Profile
Send a private message to vicscraft
Find all posts by vicscraft