View Single Post
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#1062
So, the problem with Super Hexagon is - not enough space in /tmp which prevents it from creating the correct data directory (which is why manual copy from wiki works)

Code:
[3|user@Nokia-N900|~/dev/apkenv-master]./apkenv /home/user/MyDocs/superx.apk > hexagon.out
cat: write error: No space left on device
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/tmp.X8n0RhD or
        /tmp/tmp.X8n0RhD.zip, and cannot find /tmp/tmp.X8n0RhD.ZIP, period.
play issued with nothing set to play
play issued with nothing set to play
Easy fix, before running for the first time do:
Code:
sudo mount -o remount,size=32M /tmp
Run hexagon, close it, now restore /tmp to original size:

Code:
sudo mount -o remount,size=1M /tmp
In case it runs too quickly, make sure vsync is turned on in settings.dat (~/.apkenv/<superhexagon.apk>/data/):
Code:
    <vsyncenabled>1</vsyncenabled>
Attached my debug binary that is not tearing on voice (and doesn't seem to crash world of goo with 'Illegal instruction' incidentally), it spams xterm with a lot of info, which was causing slowdowns for me in hexagon, if you use it make sure to append:
Code:
 > /dev/null
to the end of the apkenv command (so something like: './apkenvdbg /home/user/MyDocs/goo.apk > /dev/null')
Attached Files
File Type: gz apkenvdbg.tar.gz (62.4 KB, 154 views)