JohnnyonFlame / gmloader-next

A compatibility layer for the Android GameMaker Runtime.
GNU General Public License v2.0
9 stars 6 forks source link

GMLoader-next:

A repository for further experimenting with elf loading and in-place patching of android native libraries on non-android operating systems.

This attempts to fix several shortcomings the previous versions of GMLoader had, offering a more compliant compatibility layer, and an elf loader that supports even more relocation types.

Disclaimers:


This repository contains a lot of incomplete, experimental and untested code, and behavior is not guaranteed to match specifications, specially when it comes to the fake JNI implementation.

Corrections, fixes, issue reports and optimizations are always welcome.

Building and Deploying [example]:


make -f Makefile.gmloader ARCH=aarch64-linux-gnu

In order to deploy, you must copy the lib redist folder in the application's folder, those files are part of the runtime, and are required to provide the functionality needed by the runner.

See the related documentation for reference.

Debugging:


The android libraries can be debugged with gdb using a breakpoint trick - check out the provided debugging example.

For this to be possible, you must extract the libraries from the APK into the application's library folder following the same structure as you would on the APK.

License:


This is free software. The source files in this repository are released under the GPLv2 License, see the license file for more information.