The biggest Mindustry mod.
Relevant links:
Miro Board
Trello Board
https://github.com/EyeOfDarkness/FlameOut The key is the description with an 'A' in the front.
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.
gradlew tools:proc- Processes raw sprites and generates some other needed ones; will be automatically called if./main/assets/spritesdirectory isn't found.gradlew main:deploy- Builds the mod.jarfile for desktop only.gradlew main:deployDex- Builds the mod.jarfile for both desktop and Android (see Android).
Replace gradlew with ./gradlew
- Install the Android SDK here. Make sure you're downloading the "Command line tools only", as Android Studio is not required.
- Create a folder with any name you want anywhere, then set
%ANDROID_HOME%environment variable to the created folder. - 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.batiscmdline-tools/tools/bin/sdkmanager.bat.
- Note that the downloaded command line tools folder is sometimes wrong; the correct path to
- Open the command line, then
cdto%ANDROID_HOME%/cmdline-tools/tools/bin. - Run
sdkmanager --install "build-tools;30.0.3"to install the Android build tools, assuming you're using version30.0.3. - Add
%ANDROID_HOME%/build-tools/30.0.3to yourPATHenvironment variable. - Run
gradlew main:deployDex(or./gradlewif on Linux/MacOS). This will create a.jarfile inmain/build/libs/ProjectUnity.jar, playable in both desktop and Android.
- Build output should be located in
main/build/libs/. - If the command returns
Permission Deniedon Linux, runchmod +x gradlew.