[SOLVED] Mod will not work

Place to get help with not working mods / modding interface.
Staplergun
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Sun Mar 25, 2018 5:34 am
Contact:

[SOLVED] Mod will not work

Post by Staplergun »

I created a mod but when I place it in the game file, the game launches but does not detect the mod. It has all the correct files needed.
If I go into the modlist.json file and place it in there as an entry, the game edits it out and resaves it.
Last edited by Staplergun on Sun Mar 25, 2018 3:28 pm, edited 1 time in total.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: Mod will not work

Post by steinio »

Please attach the mod to this thread so we can have a look at the code to see what's wrong.

First idea is, you forgot

Code: Select all

"factorio_version":"0.16"
in info.json

cu, steinio
Image

Transport Belt Repair Man

View unread Posts
Staplergun
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Sun Mar 25, 2018 5:34 am
Contact:

Re: Mod will not work

Post by Staplergun »

No actually, I did the zipped file wrong. I was zipping the outer shell folder instead of the folder one layer up from the data, so it was two layers deep and had no idea what was in it. I just got it to appear in my game client for the first time and I'm really excited about it.

I looked over other peoples mods and copied explicit formats that work but removed all data pertaining to the design to create a "Test mod" effectively with a fake renamed entity from base. I appreciate you taking the time to answer, and if I have any further issues I will come reply to this thread.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: Mod will not work

Post by steinio »

Ok thanks for the update.

If you like you can change the title of your first post to

Code: Select all

[SOLVED] Mod will not work
to help others with similiar questions.

cu, steinio
Image

Transport Belt Repair Man

View unread Posts
Staplergun
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Sun Mar 25, 2018 5:34 am
Contact:

Re: [SOLVED] Mod will not work

Post by Staplergun »

Too easy. Done!
Post Reply

Return to “Modding help”