โน A Command-Line Utility Tool for Installing Mods from Mod Workshop
With the new addition of the Modworkshop.net API. I am in the process of cleaning up the code to implement these new additions (removes the tedious web scraping, YES!). This will be in the form of a version 2. View the Development Branch Here
mkdir "C:\Program Files (x86)\Modworkshop-DL"
setx PATH "C:\Program Files (x86)\Modworkshop-DL;%PATH%"
curl https://github.com/WillKirkmanM/modworkshop-dl/releases/download/v1.5.0/modworkshop-dl.exe -o "C:\Program Files (x86)\Modworkshop-DL\modworkshop-dl.exe"
powershell
mkdir "C:\Program Files (x86)\Modworkshop-DL";setx PATH "C:\Program Files (x86)\Modworkshop-DL;%PATH%";curl https://github.com/WillKirkmanM/modworkshop-dl/releases/download/v1.5.0/modworkshop-dl.exe -o "C:\Program Files (x86)\Modworkshop-DL\modworkshop-dl.exe";echo "";echo "Installed! Run the Command 'modworkshop-dl --help'";echo "";echo "Restarting Terminal";echo "";powershell
- Run the tool with the
search
flag followed by your query
$ modworkshop-dl --search low violence mode
- From the list of mods returned, write the index of the mod you would like to download (The mod will now be downloaded into your mods folder)
- Launch
PAYDAY 2
!
- Run the tool with the
install
flag followed by the link to the mod (The mod will now be downloaded into your mods folder)
$ modworkshop-dl --install https://modworkshop.net/mod/25629
- Launch
PAYDAY 2
!
- Create / Open the
modlist.txt
file (In the same directory as the executable). - Paste the desired mods in the "
Mods
" header - Paste the desired assets in the "
Assets
" header - Start the tool
$ modworkshop-dl --file modlist.txt
- Launch
PAYDAY 2
!
Below is an example of the mod list text file that you will be supplied with the --file
flag. Note that the mods links are under the Mods
header and the assets links are below the Assets
header.
# modlist.txt
Mods
https://modworkshop.net/mod/40265
https://modworkshop.net/mod/40992
https://modworkshop.net/mod/41000
Assets
https://modworkshop.net/mod/41001
https://modworkshop.net/mod/40586
See the usage by running:
$ modworkshop-dl --help
Modworkshop-dl allows for installing mods with ease.
usage: modworkshop-dl [<command>] [<argument>]
The following commands are available:
search, S The mod to search [-S <Name>]
file, f The text file containing the mods [-f <File>]
install, I The Link / ModID To Be Installed [-I <Link / ModID>]
help, h Display this Help Message [-h]
version, v Display the Current Version [-v]
update, u Update Modworkshop-DL [-u]
installSBLT, is Install SuperBLT [-is]
Game | Windows | Mac | Linux | Mod Install Path |
---|---|---|---|---|
Payday 2 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Noita | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Enter the Gungeon | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Payday: The Heist | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Final Fantasy XV | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Stolen Realm | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
RAID: World War II | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Aurora | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Zuma | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Luxor | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
VRChat | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Left 4 Dead 2 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Hitman 3 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Monster Sanctuary | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Fallout 4 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Teardown | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Black Mesa | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Yakuza Kiwami 2 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Hotline Miami 2: Wrong Number | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Friday Night Funkin' | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Hotdogs, Horseshoes & Hand Grenades | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Yakuza Kiwami 1 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
100% Orange Juice | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Hyperdimension Neptunia Re;Birth2 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Non-games / Plugins | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Yakuza 0 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
One Step From Eden | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
OVERKILL's The Walking Dead | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
The Elder Scrolls V: Skyrim - Legendary Edition | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
SCP: Containment Breach | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Fallout: New Vegas | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
OneShot | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
SteamVR | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Criminal Girls: Invite Only | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Gal*Gun: Double Peace | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Warhammer: End Times - Vermintide | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฉ |
Tales of Berseria | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Team Fortress 2 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Hyperdimension Neptunia Re;Birth3 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Hyperdimension Neptunia Re;Birth1 | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Metal Gear Solid V: The Phantom Pain | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Skyrim Special Edition | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
Forspoken | ๐ฉ | ๐ฅ | ๐ฅ | ๐ฅ |
A Red Square (๐ฅ) in the Mod Install Path
section of the table indicates the mod will be downloaded and unzipped in the current directory of the terminal.
To build the files, run the command:
$ go build
If the above does not work try the command:
$ go install
To Test the Tool, Run the command:
$ go test
If you would like code coverage, run:
$ go test -cover
- Web Scraping with Colly
- Downloading with Grab
- Interactive Terminal with Uilive
- Unarchiving .zip / .rar / .tar with Archiver v3
- The "Fundahmentals" of Golang โฉ
- Command Line Tooling (How they are made) ๐ฟ
- Web Scraping โจ
- As a person with OCD. Never write all of your code in one file, You'll go Crazy.