Apkenv/Game Compatibility/Super Hexagon

(Introduction)
(N9)
 
(8 intermediate revisions not shown)
Line 4: Line 4:
'''Older/newer versions might not work.'''
'''Older/newer versions might not work.'''
-
t also assumes that you already have apkenv setup with all the latest stuff.
+
It also assumes that you already have apkenv setup with all the latest stuff.
Initial bugs:
Initial bugs:
Line 10: Line 10:
* Sound does not work
* Sound does not work
* Performance is very bad, as it tries to constantly load the missing font.
* Performance is very bad, as it tries to constantly load the missing font.
 +
 +
 +
== Fixing it ==  
== Fixing it ==  
Follow the next steps carefully to avoid any issues.
Follow the next steps carefully to avoid any issues.
 +
=== Extracting APK content ===
=== Extracting APK content ===
Line 38: Line 42:
'''IT SHOULD NOT BE'''<pre>/home/user/.apkenv/SuperHexagon103.apk/data/data/</pre>
'''IT SHOULD NOT BE'''<pre>/home/user/.apkenv/SuperHexagon103.apk/data/data/</pre>
-
 
-
 
-
=== Correcting game speed ===
 
-
 
-
====N9====
 
-
This is only for the Nokia N9, and is not yet 100% confirmed. [http://talk.maemo.org/showpost.php?p=1348067&postcount=1049 Check the first paragraph of this post]. The game speed on the N900 won't change with this.
 
-
Open the game's '''settings.dat''' and make sure it looks like the following:
 
-
<pre>
 
-
<SETTINGS>
 
-
    <fullscreen>0</fullscreen>
 
-
    <soundenabled>1</soundenabled>
 
-
    <vsync>0</vsync>
 
-
    <arcademode>0</arcademode>
 
-
    <usejoypad>1</usejoypad>
 
-
    <profile>1</profile>
 
-
    <left>p2</left>
 
-
    <right>p3</right>
 
-
    <confirm>b0</confirm>
 
-
    <back>b1</back>
 
-
    <scores>b3</scores>
 
-
    <up>p0</up>
 
-
    <down>p1</down>
 
-
    <vsyncenabled>0</vsyncenabled>
 
-
</SETTINGS>
 
-
</pre>
 
Line 73: Line 52:
This should automatically install the libogg0 dependency, if not already installed on the device</pre>
This should automatically install the libogg0 dependency, if not already installed on the device</pre>
(if using Faster Application Manager, click on the ('''C''')ategory icon and scroll down to "All packages").
(if using Faster Application Manager, click on the ('''C''')ategory icon and scroll down to "All packages").
-
 
Line 82: Line 60:
</pre>
</pre>
 +
code (as root):
 +
<pre>apt-get install libsdl-mixer1.2 libogg0
 +
</pre>
 +
=== Correcting game speed ===
 +
 +
'''There is no known game speed fix for the N900.'''
 +
 +
It works fine on the N9, no need to change anything.
== Playing & Bugs ==
== Playing & Bugs ==
The game performance should be much better now, although there are still some bugs:
The game performance should be much better now, although there are still some bugs:
-
* The music occasionally hiccups (only confirmed on N900, might happen with N9), mostly noticeable when changing between levels.
+
* The music occasionally hiccups most noticeably when changing level, it also sounds somewhat weird (only confirmed on the N900).  
-
 
+
* Game is too fast on the N900. One real-life second is roughly 1 second and a half on the game. Playing with vsync settings (in settings.dat) doesn't change anything.
* Game is too fast on the N900. One real-life second is roughly 1 second and a half on the game. Playing with vsync settings (in settings.dat) doesn't change anything.
 +
 +
* Small N900 tip: You might find it easier (or harder) to play with the HW keyboard left & right arrow, instead of using the touchscreen.

Latest revision as of 17:17, 5 June 2013

Contents

[edit] Introduction

WARNING: This guide has been written for Super Hexagon 1.0.3 for the N900. N9 instructions might be different, so try it at your own risk. Older/newer versions might not work.

It also assumes that you already have apkenv setup with all the latest stuff.

Initial bugs:

  • Text does not work
  • Sound does not work
  • Performance is very bad, as it tries to constantly load the missing font.



[edit] Fixing it

Follow the next steps carefully to avoid any issues.


[edit] Extracting APK content

To make it easier to follow this guide, rename your apk to
SuperHexagon103.apk

Use WinRAR (for Windows) or any other alternative tool to open your .APK to whatever OS you are using.

Inside the .APK file, navigate to
res/raw/data.zip
and extract it's content, then move it to your N900.


[edit] Moving to the appropriate location

Place the extracted content into (if the folder does not exist, create it)
/home/user/.apkenv/SuperHexagon103.apk/
The final result should be
/home/user/.apkenv/SuperHexagon103.apk/data/

.../music
.../sounds
.../bumpitup.ttf
.../license.txt
.../settings.dat
IT SHOULD NOT BE
/home/user/.apkenv/SuperHexagon103.apk/data/data/



[edit] Fixing music playback

[edit] N900

Enable extras-devel repository, then install
libsdl-mixer1.2   (should be version 1.2.6-5+0m5+ogg+mp3-2 or later)

This should automatically install the libogg0 dependency, if not already installed on the device

(if using Faster Application Manager, click on the (C)ategory icon and scroll down to "All packages").


[edit] N9

HolgerN has reported that music also works on the N9, if the following packages are installed:

libsdl-mixer1.2
libogg0

code (as root):

apt-get install libsdl-mixer1.2 libogg0

[edit] Correcting game speed

There is no known game speed fix for the N900.

It works fine on the N9, no need to change anything.

[edit] Playing & Bugs

The game performance should be much better now, although there are still some bugs:

  • The music occasionally hiccups most noticeably when changing level, it also sounds somewhat weird (only confirmed on the N900).
  • Game is too fast on the N900. One real-life second is roughly 1 second and a half on the game. Playing with vsync settings (in settings.dat) doesn't change anything.
  • Small N900 tip: You might find it easier (or harder) to play with the HW keyboard left & right arrow, instead of using the touchscreen.