Page 1 of 1

info.json not found?! (Creating new mod for mod portal)

Posted: Fri Nov 29, 2024 4:22 pm
by pseudo3d
From following the tutorial and investigating another mod to see how it works, I have created my first mod—a recipe for the Chemical plant for freezing water, an exact reverse of melting it (at least in terms of input/output). Part of it is a desire to make Space Age a little less annoying in water handling and add more usable water to space platforms without fiddling with asteroid crushing.

After creating the mod and testing it, I added a picture to the mod portal for proof-of-concept (a useless loop that turns water into ice, ice into water, water into steam, steam into water, repeat process).

When I tried to submit it, however, it spat out an error message..."Error: info.json file not found. (code: 500)" which it clearly does since the previous error was complaining about the syntax of the code version inside said info.json file.

There is clearly an info.json file in there. Here's the mod if you would like to play around with it and more importantly help me figure out why the mod portal isn't playing nice. Thank you!
water_freezing_1.0.0.zip
(15.98 KiB) Downloaded 10 times

Re: info.json not found?! (Creating new mod for mod portal)

Posted: Fri Nov 29, 2024 5:27 pm
by picklock
Hi,

your info.jaon is in the subfolder waterfreezing but it has to be in the root-folder of your mod. The same applies to data.lua and thumbnail.png.

Re: info.json not found?! (Creating new mod for mod portal)

Posted: Fri Nov 29, 2024 7:31 pm
by pseudo3d
Thank you!

It's been uploaded here. https://mods.factorio.com/mod/water_freezing