Skip to content

nxrmqlly/MRPackDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MRPackDownloader

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.

Image of the tool

Requirements

  • Go 1.18+

Usage

  1. Run the following:

    go install github.com/nxrmqlly/MRPackDownloader@latest
  2. Open your <modpack>.mrpack file using 7Zip, WinRAR or similar and extract it.

  3. Run the script:

    mrpackdownloader 
  4. 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

Building

Build a binary with the following.

git clone https://github.com/nxrmqlly/MRPackDownloader
cd MRPackDownloader
go mod tidy
go build -o mrpackdownloader .

How?

  • 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.

Contributing

Contributions are welcome! Please ensure your code follows best practices and includes necessary documentation.

License

MIT License

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages