To build FLoader, you'll need several tools:
- JDK 11+
- Git (optional)
- A copy of Age of History 2: Definitive Edition
- Clone/download the FLoader source code and place it in an empty folder.
- Copy the original game.jar file to the libs/ folder in your project folder.
- Open a command prompt and enter
./gradlew shadowJar. This command will download all dependencies and build a jar file. - Copy the finished file (build/libs/FLoader.jar) and place it in the game folder.
- In the game folder, run
java -javaagent:FLoader.jar -cp "FLoader.jar;game.jar" aoc.kingdoms.lukasz.jakowski.desktop.DesktopLauncher