Page 1 of 1

Corrected a Mod, Now Won't Show

Posted: Sat Aug 04, 2018 8:31 pm
by Maddhawk
So I wanted to give the mod "Extra Large Chests" a try and was given an error. A fast look at the mod portal showed that others had the same error occur and someone posted that a "then" was missing on line 3 of a file. I unzipped the mod and made the necessary correction and then rezipped the folder for the mod. Now it no longer shows up in my list of mods in game. How can I get the mod to show up so I can test it out?

Re: Corrected a Mod, Now Won't Show

Posted: Sun Aug 05, 2018 4:32 am
by Maddhawk
Let me try this question then since no one has an answer for my first one, how do you manually install a mod?

Re: Corrected a Mod, Now Won't Show

Posted: Sun Aug 05, 2018 8:35 am
by steinio
Did you zipped it or rared it?
It needs to be a zip file and the mod folder needs to be the only first element.

You may upload your file and we can have a quick look at it.

Manual installation can be done by copying the file into the mod folder.

See here: viewtopic.php?f=18&t=21495 and the wiki link posted there.

Cu, steinio

Re: Corrected a Mod, Now Won't Show

Posted: Sun Aug 05, 2018 1:25 pm
by Maddhawk
Yes, I did zip it. However, I did so by right clicking the folder and "sending to zipped folder" using the Windows interface. I don't have a separate stand alone zip program. I followed the directions given on the wiki.

I was trying to modify the addon: https://mods.factorio.com/mod/XL_Chests
When you try to load or make a game with it enabled as it comes when downloaded from in game you get the following error: Error while applying migration: Extra Large Chests: XL_Chests_1.0.0.lua
XL_Chests/migrations/XL_Chests_1.0.0.lua:4: 'then' expected near 'force'


There is a discussion thread for it on the mod page with a correction posted by someone else. I extracted the mod and made the correction to the file listed using notepad++ and then rezipped the folder using the method above. However, the mod will no longer appear in game.

I then decided to find an alternative way to increase my storage capacity by trying the merged chests mod and Noxy's Stack Multiplier. They both work, however I want to tweak them. Trying to do so results in the same problems as above. Once tweaked they stop showing up in game under the mods listed as available.
https://mods.factorio.com/mod/WideChests
https://mods.factorio.com/mod/Noxys_StackSizeMultiplier

With the first I want to increase the size of the number of rows or columns a chest can be merged, default is 42 and author states the settings file can be edited to change this. With the second I want to reduce the multiplier from 20 to 5.

Re: Corrected a Mod, Now Won't Show

Posted: Sun Aug 05, 2018 2:09 pm
by Maddhawk
I managed to get a hold of Noxy/CobaltSky and another modder in Nilhaus' discord and solve my problem. Thanks all who read.

Re: Corrected a Mod, Now Won't Show

Posted: Thu Apr 11, 2019 6:53 am
by Sir_Jeffrey_Q
So, I know this is a bit of an older thread at this point, but would you mind sharing how you were able to get it to work? This is the exact same issue I have run into lately (editing a mod, then not being able to get the game to recognize it exists), and I haven't been able to find any posts about how to solve this issue, until I completely accidentally ran into this one. Thanks heaps!

Re: Corrected a Mod, Now Won't Show

Posted: Thu Apr 11, 2019 9:54 am
by eduran
Does it work when unzipped?

If no, your directory structure or info.json file are somehow wrong. The mod folder has to be named <internal mod name>_<version> and be compatible with the info.json file, i.e. name and version have to match.

If yes, make sure that your zip file contains only a single folder (the one described above).

Also, you can post your log file (or have a look yourself). It should tell you why the mod is not loaded.