Page 1 of 1

FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 8:13 am
by Normal69
Howdy?

Could you help me please about how to make the necesary things to upload a modpack to the Mod Portal?

I've googled for it, and searched here, but haven't found anything useful.
Looking into a modpack-zip I saw that the info.json is the key, but I've rather automate the naming and version numbers, wouldn't do it without the exactt knowledge.

The best would be a written description, if possibble, or a link to one.

Thank you, and Happy This Year.

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 9:36 am
by vjbone
Like this? viewtopic.php?f=190&t=93136
Make modpack mod that has needed dependences. Use that mod to make edit things in other mods and your own scripts

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 10:30 am
by BlueTemplar
Technically, the mod portal does NOT support mod packs, only (separate) mods with dependencies.

One reason why the the above official version of the Sea Block modpack is NOT on the mod portal is because the mods it depends on (themselves by a variety of modders) could in new versions decide to break compatibility (or just change the balance in unexpected ways).

There's probably a way to force the dependencies to use a specific (range of ?) versions, but I'm guessing that Sea Block doesn't do it because it would be *not* flexible enough, and involve too much faffing around in text files, while there's a much easier workflow of just zipping the mods ?

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 1:44 pm
by robot256
If you do upload a mod using dependencies to form a pack, do make sure to put your name in the title so people don't confuse it with something else.

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 5:55 pm
by Normal69
vjbone wrote:
Sat Jan 08, 2022 9:36 am
Like this? viewtopic.php?f=190&t=93136
Make modpack mod that has needed dependences. Use that mod to make edit things in other mods and your own scripts
Thank you for beginning communication!

Like here: https://mods.factorio.com/tag/mod-packs?version=1.1

More exactly from where I could get the dependent mod names into the info.json, like these for example:

Code: Select all

  "dependencies": [
    "aai-containers >= 0.2.9",
    "aai-industry >= 0.5.11",
    "aai-programmable-structures >= 0.7.3",
    "aai-programmable-vehicles >= 0.7.15",
    "aai-signals >= 0.6.1",
    "aai-signal-transmission >= 0.4.4",
    "aai-vehicles-chaingunner >= 0.6.1",
    "aai-vehicles-flame-tank >= 0.5.1",
    "aai-vehicles-flame-tumbler >= 0.6.1",
    "aai-vehicles-hauler >= 0.6.1",
    "aai-vehicles-laser-tank >= 0.6.4",
    "aai-vehicles-miner >= 0.6.1",
    "aai-vehicles-warden >= 0.5.3",
    "aai-zones >= 0.6.4",
I'd rather don't mistype anything, so just wanna be sure from where I could get the exact name field identifiers?

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 6:11 pm
by vjbone
Normal69 wrote:
Sat Jan 08, 2022 5:55 pm


More exactly from where I could get the dependent mod names into the info.json, like these for example:


I'd rather don't mistype anything, so just wanna be sure from where I could get the exact name field identifiers?
In info.json of mods that will be in modpack. there you can find line name and version

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sat Jan 08, 2022 7:20 pm
by Normal69
vjbone wrote:
Sat Jan 08, 2022 6:11 pm
Normal69 wrote:
Sat Jan 08, 2022 5:55 pm


More exactly from where I could get the dependent mod names into the info.json, like these for example:


I'd rather don't mistype anything, so just wanna be sure from where I could get the exact name field identifiers?
In info.json of mods that will be in modpack. there you can find line name and version
You see my problem finely - where can I find that info.json?
I've searched (with total commander) for it in the game/settings-saves/ModMyFactory directories, but haven't found it:
c:\Users\Normal\AppData\Roaming\Factorio\
g:\Games\ModMyFactory\
g:\Games\Steam\steamapps\common\Factorio\

Share your knowledge with me please!
Unless you mean I should go separately into all mod zips, and take the names from their info.json.
I'm a bit sleepy, thanks. :)

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sun Jan 09, 2022 12:24 am
by BlueTemplar
Yes, from their info.jsons... but which should also be the same as the name of the mods zips/folders themselves (give or take some capitalization ?)

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sun Jan 09, 2022 5:53 am
by vjbone
In tc there is search in zip archives. Every mod has this file inside main directory.
Yes you can copy paste archive names but IMO check files :D

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Mon Jan 10, 2022 3:49 pm
by Normal69
Thanks!

So as usual, no more amount of work and tries, as configuring a minecraft modpack. :)

I cross my fingers to work for the first time:
https://mods.factorio.com/mod/unholy_legacy

Re: FAQ of how to make a modpack for the Mod Portal?

Posted: Sun Apr 10, 2022 11:26 am
by Qon
Normal69 wrote:
Sat Jan 08, 2022 7:20 pm
Share your knowledge with me please!
Unless you mean I should go separately into all mod zips, and take the names from their info.json.
I'm a bit sleepy, thanks. :)
Yes. But the file "mod-list.json" in your mod folder contains the internal names of all your mods. It doesn't contain version number though, but you can see that from the file names of the mods. If you want a faster way to find the internal names of the mods that is.