Closed Spongman closed 7 years ago
Sigh. What version of forge did you really want installed? I'll use that as a test case.
i don't remember exactly which one. project ozone 2 was the modpack from curse, i believe. i checked a bunch of download URLs, it looks like they only use those two schemes.
I've tried to reproduce this but haven't been able to. If you have a specific modpack URL that's failing, please re-open this issue with that so I can reproduce and fix. :)
project ozone 2 was the one. i gave you all the info you need to fix.
just attempt to download from the URL scheme you currently do, if that fails, try the other one. done.
@Spongman I couldn't find a Project Ozone 2 on curseforge - do you have the download link?
(there were a whole bunch of Project Ozone 2 (Reloaded, Lite, etc)) - I wasn't going to try every one. :)
this is the one, i think: https://www.curseforge.com/minecraft/modpacks/project-ozone-2-reloaded
Fixed in v0.7.5. :) Thanks for the URL link.
that still won't work for all forge versions.
the generated url used to download forge is sometimes wrong depending on the version.
sometimes the correct location looks like this:
https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.9-12.16.0.1886/forge-1.9-12.16.0.1886-universal.jar
and sometimes like this:
https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.9-12.16.0.1885-1.9/forge-1.9-12.16.0.1885-1.9-installer.jar
note the duplicated MC versions.