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

Doesn't fit in the other categories, like libraries, small fixes or modpacks.
User avatar
Normal69
Inserter
Inserter
Posts: 38
Joined: Sun Jan 02, 2022 12:46 am
Contact:

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

Post 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.
vjbone
Fast Inserter
Fast Inserter
Posts: 143
Joined: Sun Feb 14, 2016 10:02 am
Contact:

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

Post 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
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3026
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

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

Post 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 ?
BobDiggity (mod-scenario-pack)
robot256
Filter Inserter
Filter Inserter
Posts: 874
Joined: Sun Mar 17, 2019 1:52 am
Contact:

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

Post 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.
Last edited by robot256 on Sat Jan 08, 2022 6:28 pm, edited 1 time in total.
User avatar
Normal69
Inserter
Inserter
Posts: 38
Joined: Sun Jan 02, 2022 12:46 am
Contact:

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

Post 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?
vjbone
Fast Inserter
Fast Inserter
Posts: 143
Joined: Sun Feb 14, 2016 10:02 am
Contact:

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

Post 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
User avatar
Normal69
Inserter
Inserter
Posts: 38
Joined: Sun Jan 02, 2022 12:46 am
Contact:

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

Post 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. :)
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3026
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

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

Post 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 ?)
BobDiggity (mod-scenario-pack)
vjbone
Fast Inserter
Fast Inserter
Posts: 143
Joined: Sun Feb 14, 2016 10:02 am
Contact:

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

Post 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
User avatar
Normal69
Inserter
Inserter
Posts: 38
Joined: Sun Jan 02, 2022 12:46 am
Contact:

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

Post 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
Qon
Smart Inserter
Smart Inserter
Posts: 2164
Joined: Thu Mar 17, 2016 6:27 am
Contact:

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

Post 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.
My mods: Capsule Ammo | HandyHands - Automatic handcrafting | ChunkyChunks - Configurable Gridlines
Some other creations: Combinassembly Language GitHub w instructions and link to run it in your browser | 0~drain Laser
Post Reply

Return to “Mod Packs / Libs / Special Interest”