uujuju1 / ProjectUnity

Mindustry 7.0 mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Unity

Discord Made by 19 Authors

The biggest Mindustry mod.

Relevant links:
Miro Board
Trello Board

FlameOut Mod

https://github.com/EyeOfDarkness/FlameOut The key is the description with an 'A' in the front.

Building

Install JDK 16 or higher. Set JAVA_HOME environment variable to where it is located. Clone this repository then change your current working directory to where the cloned repository folder is. If you are compiling for Android, click here.

Windows

  • gradlew tools:proc - Processes raw sprites and generates some other needed ones; will be automatically called if ./main/assets/sprites directory isn't found.
  • gradlew main:deploy - Builds the mod .jar file for desktop only.
  • gradlew main:deployDex - Builds the mod .jar file for both desktop and Android (see Android).

Linux/MacOS

Replace gradlew with ./gradlew

Building for Android

  1. Install the Android SDK here. Make sure you're downloading the "Command line tools only", as Android Studio is not required.
  2. Create a folder with any name you want anywhere, then set %ANDROID_HOME% environment variable to the created folder.
  3. Unzip the downloaded Android SDK command line tools, then move the folder into %ANDROID_HOME%.
    • Note that the downloaded command line tools folder is sometimes wrong; the correct path to sdkmanager.bat is cmdline-tools/tools/bin/sdkmanager.bat.
  4. Open the command line, then cd to %ANDROID_HOME%/cmdline-tools/tools/bin.
  5. Run sdkmanager --install "build-tools;30.0.3" to install the Android build tools, assuming you're using version 30.0.3.
  6. Add %ANDROID_HOME%/build-tools/30.0.3 to your PATH environment variable.
  7. Run gradlew main:deployDex (or ./gradlew if on Linux/MacOS). This will create a .jar file in main/build/libs/ProjectUnity.jar, playable in both desktop and Android.

  • Build output should be located in main/build/libs/.
  • If the command returns Permission Denied on Linux, run chmod +x gradlew.

About

Mindustry 7.0 mod

License:GNU General Public License v3.0


Languages

Language:Java 99.3%Language:GLSL 0.7%Language:Python 0.0%