Skip to content

This is the original ImGui based unity menu on android

License

Notifications You must be signed in to change notification settings

0xCsy/PolarImGui

 
 

Repository files navigation

Polar ImGui

This is an implementation of ImGui for Android Unity-based games using il2cpp.

Visit the Polarmods forum

Join our Discord

Android Studio

  1. First of all, download Android Studio here. Then, complete the installation process.
  2. Download the PolarImGui repository, and extract it with any archiver (such as 7-Zip, WinRAR, etc).

image

image

  1. Now, open the project in Android Studio. You will need to wait for the gradle to sync once it is open. As for the NDK, I recommend using the latest lts version, which can be downloaded here.

image

  1. Build it! (Build -> Build Bundle(s)/APK(s) -> Build APK(s), or Ctrl + F9).

Implementation

Implementing the menu into an application is very easy, just follow the steps below!

  1. Once you build the apk, open it using an archiver (such as 7-Zip, WinRAR, etc), and find the 'lib' directory.

image

From there, you will be presented with two additional folders. Choose the folder that resembles the cpu architecture you want to use (whether it be armeabi-v7a, or arm64-v8a). I would also like to mention that you can implement both libraries into a game if it supports ARMv7a and ARMv8a, and it will work for most games (Guns of Boom did crash when I tested this on that game though)! So, there is no need to remove the folders as you 'normally' would.

image

  1. Move the 'libnative-lib.so' library to the target applications lib/chosen-cpu-architecture/ folder.

image

  1. Then, find your applications launch activity, and place the following code under the 'onCreate' method in that launch activity.
const-string v0, "native-lib"
invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V

image

  1. Compile it!

Notes

  • This was the first ImGui Android implementation for Unity-based games using il2cpp, before people (whom we won't mention) leeched from it to create their own version. Yes, we will be updating the menu with new features when we can.

POLARMODS-BANNER-HQ-2

About

This is the original ImGui based unity menu on android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 61.5%
  • C 38.5%