Package: mmc-export
MultiMC advanced exporterSince MultiMC export features are very limited, I created a script that solves this problem, with this script you can export MultiMC pack to any popular format (e.g. curseforge, modrinth, packwiz). MultiMC forks which didn't changed export format much also supported.PrismLauncherapparently already have builtin Modrinth export feature starting with version 7.0⚠️mmc-export development is currently inthe maintenance-only mode.
        This is to show that any abnormal lack of activity isn't going to mean it is
        no longer maintained. mmc-export considered feature-complete, and only will be updated when bugs arrive.FeaturesSupport conversion to:CurseForgeModrinthpackwizDetects downloadable resourcepacks and shadersSupports github parsing¹Loose modrinth searchUser friendly toml configMultiple output formats at onceGitHub rate limitsGitHub has limited requests per hour (up to 60), this means that if you have more than 60 mods, the rest will be excluded from github search.
If you authenticate with GitHub usingmmc-export gh-login, the limit will be removed and requests will be faster. You can always log out withmmc-export gh-logout.If you don't want to use github search by some reason, you can specify--exclude-providers GitHubas argument.How to Usemmc-export -i modpack.zip -c config.toml -f Modrinth packwiz -o converted_modpacksIt's recommended to fill config at least with basic info like name and version, some launchers can fail import if these values are empty.Sub-commandsgh-login- to authrize GitHubgh-logout- to get info how to deauthorize GitHubpurge-cache- to purge cache. Available arguments:--web: to delete requests cache and downloaded mods
--files: to delete hashes cache
--all: equivalent to --web --files, deletes all cache (default)Syntaxmmc-export [sub-command] [-h] [-c CONFIG] -i INPUT -f FORMAT [-o OUTPUT] [-v VERSION] [--modrinth-search SEARCH_TYPE] [--exclude-providers PROVIDERS]Explanation-h --help: prints help
-i --input: path to modpack, must be zip file exported from MultiMC.
-c --config: path to config, used to fill the gaps like description or lost mods.
-f --format: output formats, must be separated by spaces.
-o --output: directory where converted zip files will be stored.
-v --version: specify modpack version, will be overriden by config's value if exists
--modrinth-search: modrinth search accuracy
--exclude-providers: providers you wish to exclude from search
--provider-priority: providers priority used for packwiz
--skip-cache: don't use web cache in this run
--scheme: output filename formatting scheme, more info in #scheme-formattingAll paths can be relative to current working directory or absolute.--formatoptions (case-sensitive):CurseForgeModrinthpackwizIntermediate(only for debugging, may contain sensitive data like username)--exclude-providersoptions (case-sensitive):CurseForgeModrinthGitHub--provider-priorityoptions (case-sensitive):CurseForgeModrinthOtherorGitHub--modrinth-searchoptions:exact- by hash (default)accurate- by hash or slugloose- by hash, slug or long nameThe example for the optional--configfilecan be found here.For example, if the script saysNo config entry found for resource: ModNameThen you should addoneof the following entries to the end of the config:Specify source URL[[Resource]]
name = "ModName"
filename = "the_name_of_the.jar" 
url = "https://cdn.modrinth.com/data/abcdefg/versions/1.0.0/the_name_of_the.jar"Hide the warning[[Resource]]
name = "ModName"
filename = "the_name_of_the.jar" 
action = "ignore"Explicitly move to overrides[[Resource]]
name = "ModName"
filename = "the_name_of_the.jar" 
action = "override"Delete the file altogether[[Resource]]
name = "ModName"
filename = "the_name_of_the.jar" 
action = "remove"Make the mod optionalAppendoptional = trueto any of aboveDelete any fileThis can be defined to delete any file that isn't downloadable from CurseForge/Modrinth, e.g. mod config or metadata file.[[File]]
name = "Useless file.txt"
action = "remove"Scheme FormattingMust be used as--scheme "{keyword}_Literally any text"without file extension, follows python'sformat string syntaxAvailable keywords:abbr- provider abbreviation, usually 2 capitals, e.g.MR,CFformat- full format name, e.g.CurseForge,Packwiznamesame aspack.name- modpack nameversionsame aspack.version- modpack versionpack- pointer toIntermediatestructureDefault scheme is as simple as{abbr}_{name}Caution: if you don't use any format specifc keywords, output files will overwrite the same file several times, can be ignored if you output to only one format.
Also, be aware of your filesystem limitations, unsupported characters may lead to an error, or inaccesible file.How to Install / Updatepip install -U mmc-export