Skip to content

curse+forge fix#46

Open
Stanko2 wants to merge 1 commit into
sammko:masterfrom
Stanko2:curse-fix
Open

curse+forge fix#46
Stanko2 wants to merge 1 commit into
sammko:masterfrom
Stanko2:curse-fix

Conversation

@Stanko2

@Stanko2 Stanko2 commented Apr 10, 2025

Copy link
Copy Markdown

Fixed the curseforge API to download modpacks. Currently works with supplying project ID or downloaded zip file. I don't know what exactly the function resolve_packurl so I uncommented it. Also I could find an endpoint to batch resolve project_files so I uncommented that also. The forge-installer URL was broken also so I fixed it.

@sammko

sammko commented Apr 11, 2025

Copy link
Copy Markdown
Owner

Thanks for fixing! Feel free to remove the commented code, no need to keep it around.


`resolve_packurl` was for parsing various different URL formats you could get from the curseforge page back in the day. The pack ID was pretty hard to find for users and downloading a zip file is kind of a hassle compared to copying a URL.

Some example I was able to copy paste from the page for this random project:

It would be ideal to support as many of these as reasonably possible, but no worries.

@sammko

sammko commented Apr 11, 2025

Copy link
Copy Markdown
Owner

But in general my suggestion would be to use something like https://github.com/gorilla-devs/ferium for mod/modpack management, you can just point it at a picomc instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants