A tool/script to download content from a modrinth modpack (.mrpack
files). It extracts and saves all mods, resource packs, and other assets listed in the modpack.
Image
The tool downloading assets from the Performium Modpack with a deliberate 404 on one of the mods.
- Go 1.18+
-
Run the following:
go install github.com/nxrmqlly/MRPackDownloader@latest
- or, Get the latest binary from the Releases Tab
-
Open your
<modpack>.mrpack
file using 7Zip, WinRAR or similar and extract it. -
Run the script:
mrpackdownloader
-
Enter the path to the
modrinth.index.json
file (from the modpack) OR paste the contents of it into./modrinth.index.json
(created automatically)
-
Alternatively, you can run it with command line arg:
./mrpackdownloader path/to/modrinth.index.json
Build a binary with the following.
git clone https://github.com/nxrmqlly/MRPackDownloader
cd MRPackDownloader
go mod tidy
go build -o mrpackdownloader .
- Modrinth modpacks are just compressed archives, and you can open them using software like 7Zip or WinRAR.
- All this script does is read the
modrinth.index.json
file and save all the mods, resourcepacks etc. - Files are saved in the
output/
directory, preserving the folder structure.
Contributions are welcome! Please ensure your code follows best practices and includes necessary documentation.