A Rust program which automatically downloads mods from a given list
Rust
Minecraft Auto Mod Downloader (Rust rewrite)
A Rust program which automatically downloads mods from a given list
(Works on Windows and Linux with a little bit of configuration).
This program is a rework of my original project written entirely in rust
Requirements
Upload your version of mod.list and mod.ver. (I suggest uploading them to a github repo because the script requires direct links to the raw file.)
The mods.list file has to only include the Direct links to the mods (basically it has to look like this):
The modpack.ver file also has to only include the version and it has to look like this:
Setting up and Running the program from source
Open main.rs with a text editor.
Edit lines 30 and 31 (modlist_url, modver_url) to the correct values. (Read Requirements.)
Change line 25 to your preferred launcher. (You might have to change the AppData values if the launcher is not located in the AppData/Roaming/.minecraft directory.)
Run the program without building by running in the main directory:
cargo run
Making an executable (.exe file)
For building a better executable (in terms of performance and size) follow step 1:
cargo build --release
If you want the program to have a minecraft icon follow step 2: