Can't upload mod to portal

Place to get help with not working mods / modding interface.
Post Reply
danielbrauer
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu May 18, 2017 2:22 pm
Contact:

Can't upload mod to portal

Post by danielbrauer »

I keep getting an error about not having the right directory structure, but it's as straightforward as could be. I created the zip with

Code: Select all

git archive --format zip
But I get this error from the form:
Error: Your mod ZIP has the wrong structure. Mod files including info.json must be in a directory. (code: 500)
Here is the zip file:
DiscoScience_0.0.3.zip
(1.03 MiB) Downloaded 44 times
Last edited by danielbrauer on Sun Mar 17, 2019 10:19 pm, edited 1 time in total.

Bilka
Factorio Staff
Factorio Staff
Posts: 3123
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Can't upload mod to portal

Post by Bilka »

Read the error message. You need another directory inside your zip file, and the mod files *inside* that.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

danielbrauer
Long Handed Inserter
Long Handed Inserter
Posts: 93
Joined: Thu May 18, 2017 2:22 pm
Contact:

Re: Can't upload mod to portal

Post by danielbrauer »

Ah of course, thank you! I forget that Mac OS creates a root folder when unzipping, even if it wasn't present in the zip.

Post Reply

Return to “Modding help”