From e35e66cc47418267132e81b285182caa3cbceddd Mon Sep 17 00:00:00 2001 From: Dominika Liberda Date: Thu, 19 May 2022 06:28:57 +0200 Subject: [PATCH] + readme, sanity check --- README.md | 16 ++++++++++++++++ parsePack.sh | 4 ++++ 2 files changed, 20 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..bda9ad9 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# curse me + +Takes curseforge minecraft modpacks and installs them without the closed-source, glibc-dependent curseforge client. + +### Usage + +1. Download a ZIP file from curseforge. This is hidden - curse really wants you to use their application. Go to Files -> Main File -> (click on the name) -> `Download` (NOT `Install`) +2. Clone this repository +3. Get an API key, and place it into the `token` file. You can do this legimately (I'll be here all day, we have time) or use `./getToken.sh` which extracts them from the CurseForge Client +4. Launch `parsePack.sh`; e.g. `./parsePack.sh "Above and Beyond-1.3.zip"`. This will download all of the mods. +5. If everything succeeds, a forge installer should pop up after a while. Fabric support is not available at this time. +6. Backup your `~/.minecraft` directory +7. Launch `./install.sh` +8. Profit..? + +gosh i love not agreeing to TOS diff --git a/parsePack.sh b/parsePack.sh index 5448c8c..1fb6533 100755 --- a/parsePack.sh +++ b/parsePack.sh @@ -1,4 +1,8 @@ #!/bin/bash +if [[ $1 == '' ]]; then + echo "usage: $0 " + exit 1 +fi meow="$(realpath $1)" mkdir packwrk; cd packwrk