A cross-platform QtQuick app for non-destructively updating Minecraft modpacks.
Provides services for both users and modpack authors.
Designed to avoid removing any additional mods added by players.
Important
All features are currently planned, but some are not yet implemented!
You can tell if one is implemented by it having a checked/ticked box next to it.
This is my first ever QtQuick/QML project, so I'm very much learning as I go! (Progress will be rather slow.)
If you just want to use the app, click the link above!
You likely don't need to see the rest of this.
Modpack Update Manager depends on the following third-party projects:
*No source code has been directly used/included in this application, but Modpack Update Manager still relies on these being installed.
-
View/update compatible Prism Launcher instances.
-
Manually import Prism Launcher Minecraft instance
ZIPs. Please just import from Prism Launcher directly, though! :) -
View changelog/version history of compatible modpacks.
-
Recieve a notification or automatically update compatible modpacks upon launching this app.
-
Automatically launch this app upon system start.
-
View your Prism Launcher instances and set up updates by linking a GitHub repository.
-
Manually mark cosmetic/client-side mods and config files as "unimportant" to allow players to remove should they wish, even when updating to newer versions of a modpack that also include them.
-
Generate new versions and their changelogs based on changes to the
mods&configfolders. Manualgitmanagement is required! (Justgit add . && git commit -m "<message>" && git push -u origin main.) -
Automatically make changes to the linked GitHub repository if an API key is provided.
- Git
- Windows: Visual Studio ≥2022
- Linux: GCC
- Qt ≥6.10*
- vcpkg
*An account is required, though this is the best way to install a specific version of Qt on any platform.
Important
Some steps will ask for certain values to be manually entered by you. These are indicated by a word surrounded by <>s, like <username>:
<username>: Your computer username.<version>: The version of Qt you installed via Qt Maintenance Tool. Eg.6.11.1.<year>: The year of the Visual Studio compiler you're using. Eg.2022.
-
Clone the vcpkg repository:
cd git clone https://github.com/microsoft/vcpkg.git cd vcpkg
-
Bootstrap vcpkg;
Windows
.\bootstrap-vcpkg.batLinux/macOS
./bootstrap-vcpkg.sh
-
Clone Modpack Update Manager:
Windows
cd git clone --recursive https://github.com/DatBogie/ModpackUpdateManager.git cd ModpackManager\src
Linux/macOS
cd git clone --recursive https://github.com/DatBogie/ModpackUpdateManager.git cd ModpackManager/src
-
Open in Qt Creator (
File > Open File or Project..., selectModpackUpdateManager/src/CMakeLists.txtfrom your user directory). -
Make sure only one kit named something like
Desktop Qt...is selected alongside only selecting its correspondingReleaseprofile. -
Hover over your selected kit and click
Manage.... -
Scroll down and click the
Change...button next toCMake Configuration:. -
Append one of the following, making sure to replace
<username>as specified above, and clickApplyandOK, then clickApplyandOKagain:Windows
-DCMAKE_TOOLCHAIN_FILE=C:/Users/<username>/vcpkg/scripts/buildsystems/vcpkg.cmakeLinux
-DCMAKE_TOOLCHAIN_FILE=/home/<username>/vcpkg/scripts/buildsystems/vcpkg.cmakemacOS
-DCMAKE_TOOLCHAIN_FILE=/Users/<username>/vcpkg/scripts/buildsystems/vcpkg.cmake -
Click
Configure Project, then wait for it to finishConfiguring srcandIndexing src.... -
Press
CTRL+Bor click the hammer icon in the bottom left. -
If you're not on Windows, in
~/ModpackUpdateManager/srcrun:Linux
./package-linux.bash
macOS
./package-macos.bash
-
If you're not on Windows, run:
cd build && cd -- */
You'll then find your executable at
./ModpackUpdateManageror./ModpackUpdateManager.appfor Linux/macOS respectively!You are now finished and no longer need to follow the proceeding instructions, as they are only for Windows!
From here, you can either run the packaging script, or manually package it (doing what the script does manually).
I'd recommend running the script unless your Qt folder isn't located at C:\Qt!
-
In File Explorer, navigate to
$HOME\ModpackUpdateManager\src\. -
Right-click on
package.ps1and clickRun with PowerShell. -
Once the script finishes running, you'll be able to find the compiled program in the directory shown by the script!
-
Close the PowerShell window.
-
In File Explorer, open
$HOME\ModpackUpdateManager\src\buildand open the first/only folder in there. -
Make a new folder called
dist, and copyappsrc.exe,git2.dll,pcre.dll, andz.dllinto it. -
Open
external\quazip\quazipand copybz2.dllandquazip1-qt6.dllinto the samedistfolder. -
In a PowerShell terminal, paste in the following, then press
Enter:cd (ls -Directory $HOME\ModpackUpdateManager\src\build)
-
Enter the following and press
Enter, making sure to replace<version>and<year>as specified above:C:\Qt\<version>\msvc<year>_64\bin\windeployqt.exe --qmldir C:/Qt/<version>/msvc<year>_64/bin/qml .\appsrc.exe cp C:\Qt\<version>\msvc<year>_64\bin\Qt6Core5Compat.dll .
If, for whatever reason, your Qt folder isn't located at
C:\Qt, then changeC:\Qtabove to wherever it is!You are now finished!