Skip to content

Instantly share code, notes, and snippets.

@jamierocks
Last active January 14, 2021 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamierocks/755171b60d0377f91edff3c00c55c989 to your computer and use it in GitHub Desktop.
Save jamierocks/755171b60d0377f91edff3c00c55c989 to your computer and use it in GitHub Desktop.
A guide for building the original Electron-based (and Overwolf free) FTB App.

Build FTB App for Windows

A guide for building the original Electron-based (and Overwolf free) FTB App.

Preface

Prerequisties

Pitfalls

  • No automatic updating, you will need to build the app again to receive updates.

Guide

  1. Clone the modpacklauncher repository recursively, ensuring that submodules are initialised.
    • Build the project with ./gradlew.bat build.
  2. Create a directory to store your build of the FTB App.
    • Create a subdirectory bin
    • Copy the contents of web/release/win-unpacked to your bin directory
  3. Download an archive of the latest Java 11 JRE
    • Extract the archive to the directory for your FTB App
    • You should have a directory named similar to jdk-11.0.9.1+1-jre
  4. Use Launch4J to create a wrapped executable of modpacklauncher.
    • Under 'Basic'
      • Set the 'Output file' to ftbapp.exe in your directory
      • Set the 'Jar' to the file in build/libs ending -all.jar
      • Set the 'Icon' to ftbl.ico
    • Under 'JRE'
      • Set the 'Bundle JRE path' to the name of your JRE directory (e.g. jdk-11.0.9.1+1-jre)
      • Tick '64-Bit'
      • Set the 'Min JRE version' to 11
    • Use 'Build wrapper' to create the wrapped executable
    • (you may wish to save this configuration to make future updates quicker)

You now have your own, Overwolf-free, copy of the FTB App for Windows - just run your ftbapp.exe executable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment