[0.13.0] Mods without a "factorio_version" header are silently ignored

Bugs that are actually features.
User avatar
Narc
Filter Inserter
Filter Inserter
Posts: 284
Joined: Mon Feb 11, 2013 7:25 am
Contact:

[0.13.0] Mods without a "factorio_version" header are silently ignored

Post by Narc »

See the title.

There's nothing mentioned anywhere, no popup, no warning in the log, nothing to tell me that I have a mod that isn't for Factorio 0.13 and that it will be ignored.

How about at least a log message so us mod developers can be told wtf is going on?
MindWorX
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed May 18, 2016 10:46 pm
Contact:

Re: [0.13.0] Mods without a "factorio_version" header are silently ignored

Post by MindWorX »

While having it in the log will be useful, this requirement is explicitly stated in the release notes for .13.
slindenau
Long Handed Inserter
Long Handed Inserter
Posts: 73
Joined: Fri Mar 25, 2016 1:46 pm
Contact:

Re: [0.13.0] Mods without a "factorio_version" header are silently ignored

Post by slindenau »

And the mods are red in the "Mods" screen, with a clear message that the version is incompatible.
My mod: "Auto Deploy Destroyers" (follower robots) viewtopic.php?f=97&t=24545
User avatar
Narc
Filter Inserter
Filter Inserter
Posts: 284
Joined: Mon Feb 11, 2013 7:25 am
Contact:

Re: [0.13.0] Mods without a "factorio_version" header are silently ignored

Post by Narc »

MindWorX wrote:While having it in the log will be useful, this requirement is explicitly stated in the release notes for .13.
slindenau wrote:And the mods are red in the "Mods" screen, with a clear message that the version is incompatible.
Yes, the latter is what made me notice something was wrong, but of course it doesn't specify what it's looking for and not finding. Reading the release notes is not an option -- I can't tell you how many times I've missed a single line like that in a piece of documentation.

The correct behaviour for software is to give as much information as possible: when it does something unusual (like ignoring a mod because it's got a field missing in its info.json), then it should say what happened and why.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15871
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.0] Mods without a "factorio_version" header are silently ignored

Post by Rseding91 »

It's in the release notes, highlights the mod red and gives a red message indicating why the mod won't be used.

Not a bug.
If you want to get ahold of me I'm almost always on Discord.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [0.13.0] Mods without a "factorio_version" header are silently ignored

Post by steinio »

Base mod has also no factorio_version!
Image

Transport Belt Repair Man

View unread Posts
orzelek
Smart Inserter
Smart Inserter
Posts: 3928
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.13.0] Mods without a "factorio_version" header are silently ignored

Post by orzelek »

steinio wrote:Base mod has also no factorio_version!
This is what got me actually - I was comparing my json with base one.
Post Reply

Return to “Not a bug”