Hello to all Knytters!
Recently I've done some experiments, which resulted in (almost) fully working Knytt Stories on Android!
First of all, the description of all the proceedings:
1. I've used NVidia Shield Tablet 32GB LTE RoW, fully updated to Android Lollipop
2. I've installed 'Exagear Strategies' from the Play Store - which is in fact a really neat x86-on-ARM emulator, capable of running .exe files out of the box (it is actually Wine wrapped in some sort of virtualizer, or something close to that); unfortunately it's proprietary, but the Wine people are claiming they also have something similar on the way
3. I've copied the whole 'Knytt Stories' directory as a subdirectory of /sdcard/Exagear/
4. after executing 'Knytt Stories.exe' inside Exagear, the program complained about temporary directory missing or something like that
5. ... because of the above 'problem', I've created a simple launcher that changed the env. variables TEMP and TMP to '.\_tmp' and also created an empty '_tmp' subdirectory in /sdcard/Exagear/Knytt Stories - the launcher is just a few lines of ahk (AutoHotKey) script compiled into an exe:
EnvSet, TEMP, .\_tmp
EnvSet, TMP, .\_tmp
Run, "Knytt Stories.exe"
6. Now we're talking! After launching the launcher, the Knytt Stories window is right there - with sound and everything clickable!
7. ... I've opted for a tutorial and... first screen appeared, with animation, env. sounds and everything
8. Being kind of resourceful
, I've grabbed a nearby paired Bluetooth keyboard and pressed 'S' - and Juni jumped, whoa!
9. ... unfortunately, that's all that is working there: as soon as I've tried going 'left' or 'right', as soon as the correct frame (or maybe even two) is drawn for Juni, then Exagear quits without any explanation
After that, I've tried everything - selecting different levels, different controls (Exagear Strategies/RPG allows to use the touchscreen under some of the control schemes), remapping the keys via 'Knytt Stories Ex' (it is working, too, but 'Knytt Stories Plus' doesn't even start), using touchpad to move Juni, disabling sound (which does not work - when Juni is jumping, I still hear some sound - this behaviour is different from Windows original - so MAYBE the reason is somewhat related to some sound samples?)
This is even more mysterious than that: given that Knytt Stories works perfectly under Wine, and also under Exagear Desktop (another product from the same company, for ARM devices but with full desktop environment, you can execute full x86 Linux distro with X on it). About the last part: although I've never tried Exagear Desktop myself, I've seen some video on YouTube showing 'DragonBox Pyra' prototype (the next OpenPandora device, all the retro-maniacs out there should know what I'm talking about
) with Knytt Stories up and running, among other windows.
I'm feeling this is so close - I mean KS on Android. To date, I've been using DraStiC emulator on a Shield Portable with KSDS homebrew on a specially crafted FAT32 filesystem - it works perfectly, but it is far away from the desktop experience, mainly because you cannot see the whole screen simultaneously, but this... Exagear, could be the perfect way.
I've run out of ideas about how to proceed - maybe someone knowing at least some of the Knytt Stories / MMF2 internals could help there?
I don't have MMF2 myself, so I cannot modify the sources to test this further...
In case you have any questions, please do ask!
ms