Code Monkey home page Code Monkey logo

gtinternalandroid's Introduction

Growtopia Android ImGUI

Growtopia android modmenu with ImGUI.

Features

Coming Soon

  • None

Requirements

The following dependencies are required to build the library from source.

For AIDE users (I'm not sure if this works 100%).

There are many tutorials for installing on youtube, Attention if your android doesn't support arm then it won't work. one of them AIDE CMods tutorial

Building the source

ndk-build:

git clone https://github.com/ZTzTopia/GTInternalAndroid
cd GrowtopiaImGui
ndk-build

You need ninja build system to use ninja cmake generator.

cmake:

mkdir build
cd build
cmake -GNinja -DCMAKE_MAKE_PROGRAM=/path/to/ninja.exe -DCMAKE_ANDROID_NDK=/path/to/android-ndk \
  -DCMAKE_TOOLCHAIN_FILE=toolchains/android.cmake ..
cmake --build .

Inject to growtopia

Android

I highly recommend using APK Tool M to decompile the growtopia apk. Or you can get growtopia with edited: Growtopia Folder, so you don't need to do the tutorial below.

1. Antisplit the apk

If you see a split sign like the picture below then follow these steps:

Click the growtopia apk and press antisplit as shown below:

Select the apk signature as shown below:

And install the growtopia apk.

2. Decompile growtopia apk

Click the growtopia apk and press decompile as shown below:

Do what the image below does:

And press go to:

3. Add your library to apk

Copy the library file (.so) from libs to the target game. Watch out the folder names, we don't want to mix them up, so make sure to copy our lib file to the correct architecture. Like our armeabi-v7a lib goes to the target games armeabi-v7a folder, arm64-v8a lib goes to the arm64-v8a folder...

PUTTING THE LIB FILE ON A WRONG ARCHITECTURE LIKE PUTTING ARM64 LIB TO ARMV7 WILL RESULT A CRASH!

Now go to lib/{arch}:

You can use second tab to copy library file to target game lib:

And paste library file to target game lib:

4. Load your library

Now go to smali/com/rtsoft/growtopia:

and open the Main.smali file, Add this code before const-string v0, "growtopia".

const-string v0, "ModMenu"

invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

Like the picture below:

5. Compiling game apk

Now compile and sign the apk, and install it on your device. Congrats. You have successfully implemented a mod menu.

Windows

Later ok?

Some parts of this content from LGLTeam Mod Menu

gtinternalandroid's People

Contributors

gucktubeyt avatar ztztopia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.