Coder Social home page Coder Social logo

cursedownloader's Introduction

Curseforge Minecraft Modpack Downloader

A simple script to download mods from a CurseForge Minecraft modpack.

Source Script Requirements

  • Python 3.4+
  • appdirs
  • requests
  • python-tk
  • progressbar2

Setup For Source Script

Linux

  • Debian based
    sudo apt-get install python3 python3-tk python3-pip

  • pip3 install -r requirements.txt

  • How to use source

    • Find the modpack you want from the CurseForge modpack list
    • Unzip the download. There should be a manifest.json file.
    • Run <python> </path/to/downloader.py> --manifest </path/to/manifest.json file>
  • Compiled Executable

    • Find the modpack you want from the CurseForge modpack list
    • Unzip the download. There should be a manifest.json file.
    • Run </path/to/downloader> --manifest </path/to/manifest.json file>

Windows

  • Compiled Executable

    Accepted Arguments

    • CMD> C:\someFolder\cursePackDownloader.exe --portable --nogui --manifest ["/path/to/manifest.json"]

    • portable - makes the downloader cache downloads in a sub folder of current directory it is inside.

      ex: CMD> C:\someFolder\cursePackDownloader.exe --portable ex folder: C:\someFolder\curseCache

    • manifest - provides commandline option to select manifest.json file.

      ex: CMD> C:\someFolder\cursePackDownloader.exe --manifest [/path/to/manifest.json]

    • nogui - runs prgram in commandline only, and must include the manifest argument as well.

      ex: CMD> C:\someFolder\cursePackDownloader.exe --nogui --manifest [/path/to/manifest.json]

Python Source Script

download and install python http://www.python.org/downloads/windows/

take note of the install directory.

Open a command prompt and run the following (replace python_directory with your path).

<python_directory\Scripts\pip3.exe> install appdirs progressbar2

Accepted Arguments

  • CMD> "path/to/python" "/path/to/downloader.py" --portable --nogui --manifest ["/path/to/manifest.json"]

  • portable - makes the downloader cache downloads in a sub folder of current directory it is inside.

    ex: CMD> C:\Python34\python.exe ["/path/to/downloader.py"] --portable

    ex folder: C:\someFolder\curseCache

  • manifest - provides commandline option to select manifest.json file.

    ex:CMD> /path/to/<python> ["/path/to/downloader.py"] --manifest ["/path/to/manifest.json"]

  • nogui - runs program in commandline only, and manifest argument must be provided as well.

    ex: CMD> /path/to/<python> ["/path/to/downloader.py"] --nogui --manifest ["/path/to/manifest.json"]

cursedownloader's People

Contributors

codewarrior0 avatar foxahead avatar holi0317 avatar hugopoi avatar iarspider avatar inverse avatar p4plus2 avatar portablejim avatar robert-nix avatar roteminecraftil avatar tolonewolf avatar wassname avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cursedownloader's Issues

Most mods get downloaded, but rarely some are missing...

I tried downloading a few packs recently and I had a problem with 2 of them. At first I thought it was probably a curse issue, but their client worked fine. I tried to dig a bit and I found that the files that the downloader couldn't get weren't there, so I had to get them from my friends, who were using the curse launcher.

Can it be done ?

ex: Try downloading Nuts and Bolts:Torqued v1.6.4.7.... You won't be able to download 2 mods (if not cached, ofc):

It downloads only html asking for CAPCHA

Part of downloaded files:

<head>
<title>Attention Required! | Cloudflare</title>
<meta name="captcha-bypass" id="captcha-bypass" />

I am not sure this can anymore be used to download modpacks which is pain for Linux users since CurseClient does not work anymore in Lutris.

Unable to download mods

Attempting to download the FTBPresentsDirewolf20110-1.1.4-1.10.2 manifest and receiving the below error for all mods. Trying to access the below URL in a browser also gives me an error of being not found.

[1/71] MISSING FILE SIZE [1/71] ERROR FILE MISSING FROM SOURCE https://minecraft.curseforge.com/mc-mods/223794/files/2351885/download

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.