View Single Post
Zas's Avatar
Posts: 196 | Thanked: 113 times | Joined on Jun 2010 @ Finland
#1117
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.

Last edited by Zas; 2013-07-01 at 09:54.
 

The Following 3 Users Say Thank You to Zas For This Useful Post: