Recently someone reported in discord that a modpack he's trying to install is giving him this error:
I downloaded the modpack's zip file and edited the manifest.json, changing manifestVersion from 5 to 1, gave the modified zip file for him to try to see if that change fixed it and it actually fixed it!
it made me think... why manifestVersion exist? why manifest.json need to have a version? does exist multiple versions for it? imo it seems unnecessary but idk exactly what it does or why it exist so i'm here asking for someone to explain me...
Note: Idk if this is the right category, i thought the "Mod Packs" category could be the right place but by the category's description, i'm not sure now... so sorry in advance.
To my understanding the manifest files are for Curseforge modpacks. Using Twitch many times (obviously before the Curseforge/Overwolf deal) you exported modpacks with a mod list, manifest file and anything else you wanted like worlds, resource packs, etc.
The manifest file is important to import the version of the Minecraft, Forge and any other necessary stuff for applying a Modpack to Twitch or MultiMC (as MultiMC can import Curseforge modpacks).
I don't know much of the in and out of manifest files I just know the importing process and have looked at the files to understand why I might not have gotten my modpacks uploaded to Curseforge successfully and why it may have been rejected the first time I tried but now it's no problem.
I'd say make sure all mods are setup correctly as some won't work because mods are in the incorrect location or probably other factors.