TheGameSpider / TechnicSolder

A better version of https://github.com/TechnicPack/TechnicSolder
https://solder.cf
Other
22 stars 18 forks source link

FabricMC Mod Loader Support #29

Open ZandercraftGames opened 3 years ago

ZandercraftGames commented 3 years ago

Describe the solution you'd like It currently does not include support for FabricMC. FabricMC's mod loader can be used with Technic Solder by adding a bin folder with their version.json file that is downloadable from their website. Generally, one could be used by uploading the version.json in a bin.zip (of the bin folder) and then adding that to the modpack, but Solder.cf will not allow mods or files to be added to a build unless a forge version is associated with it.

Describe alternatives you've considered There are two options on how to handle this, one would be to add a checkbox stating "I know what I'm doing" to the builds that will allow you to upload files to a build even if it doesn't have a specified forge version. I would however recommend that since FabricMC seems to be the future of modding, not to delay the inevitable and add a "Fabric Versions" tab to the settings page which pulls the version.json files and automatically sets up the bin/version.json structure. This would require a revamp of the "Forge Version" dropdown on the builds pages which would change it to "Modloader Version" and then append either "Forge: " or "Fabric: " to the front of each option depending on what it is. This would introduce additional functionality that not even the official Technic Solder has and would give the benefit of bringing even more people over to this version (essentially anyone wishing to make a Fabric modpack conveniently).

Additional context Documentation on solder support:

API Information To Help With This Change API Index: https://meta.fabricmc.net/ Versions API: https://meta.fabricmc.net/v2/versions/yarn/ Builds of Specific Versions: https://meta/fabricmc.net/v2/versions/yarn/<version number>[?limit=1] Loader Versions API: https://meta.fabricmc.net/v2/versions/loader/ Specific Loader Versions For Game Version: https://meta.fabricmc.net/v2/versions/loader/[game version]/[build number][?limit=1] Technic version.json File URL Format: https://fabricmc.net/download/technic/?yarn=<game version>%2Bbuild.7&loader=<loader version> The above URL will provide the version.json file as a download attachment.

ZandercraftGames commented 3 years ago

18 would do this. The issue that the PR author referenced has since been fixed by Technic and it should work entirely now without downloading the libraries from minecraft.net. It might just need some updates to make it compatible with the latest version of Solder.

Issue is fixed: https://github.com/TechnicPack/LauncherV3/issues/133#issuecomment-652559097