13.1 Game doesn't check supported versions of mods on update

Bugs that are actually features.
Post Reply
Dahn94
Inserter
Inserter
Posts: 34
Joined: Fri Apr 29, 2016 6:32 pm
Contact:

13.1 Game doesn't check supported versions of mods on update

Post by Dahn94 »

After the update to 0.13.1, an older version of BigBags (1.0.9) mod was installed. The game refused to launch due to the changed names for logistic-robot-storage and logistic-robot-speed modifiers. Error displayed is in screenshot below and the game immediately quits.

Obvious workaround is removing the offending mod manually but if we are to rely on the mod portal, this behaviour should be changed to disable mods that are failing to load.

The current Mod Portal behavior of restarting the game after each mod install also seems very tedious when trying to browse/install several mods. Happy to open a new issue for that if warranted.

Screenshot:
Screen Shot 2016-06-29 at 8.08.42 AM.png
Screen Shot 2016-06-29 at 8.08.42 AM.png (275.88 KiB) Viewed 3863 times

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by Loewchen »

Mods have to be tested by the mod developer, not the game developer.
NaB

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by orzelek »

Loewchen wrote:Mods have to be tested by the mod developer, not the game developer.
NaB
I wouldn't be so hasty with this one.
When game update breaks mod there is no way for mod developer to prevent the issue.

And if you got mod through in game install you can't update it even if fixed version exists since game won't start up with it. And manual removal of it will prevent it's automated upgrade.

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by Loewchen »

orzelek wrote:
Loewchen wrote:Mods have to be tested by the mod developer, not the game developer.
NaB
I wouldn't be so hasty with this one.
When game update breaks mod there is no way for mod developer to prevent the issue.

And if you got mod through in game install you can't update it even if fixed version exists since game won't start up with it. And manual removal of it will prevent it's automated upgrade.
But how would you as a game dev be able to prevent mod developers from adding mods to the server that break the game?

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by orzelek »

Loewchen wrote:
orzelek wrote:
Loewchen wrote:Mods have to be tested by the mod developer, not the game developer.
NaB
I wouldn't be so hasty with this one.
When game update breaks mod there is no way for mod developer to prevent the issue.

And if you got mod through in game install you can't update it even if fixed version exists since game won't start up with it. And manual removal of it will prevent it's automated upgrade.
But how would you as a game dev be able to prevent mod developers from adding mods to the server that break the game?
It would need to be game update based event not mod update based.
Might be tricky to implement properly and belong to ideas and suggestions.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by prg »

Current behavior when a mod is broken: display error message, quit.
Better behavior: display error message, disable mod and run anyway so mod can be updated ingame.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by Loewchen »

orzelek wrote:It would need to be game update based event not mod update based.
Might be tricky to implement properly and belong to ideas and suggestions.
All the game would really need to do is look into the supported-versions-field of each mod before updating and deactivate those mods who would not support the updated version.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by Rseding91 »

Loewchen wrote:Mods have to be tested by the mod developer, not the game developer.
NaB
Yes.

If we disabled a mod the first time it had an error during loading making a mod would be a giant pain the ass. Contact the mod author about fixing their mods.
If you want to get ahold of me I'm almost always on Discord.

User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by prg »

Rseding91 wrote:If we disabled a mod the first time it had an error during loading making a mod would be a giant pain the ass. Contact the mod author about fixing their mods.
Now what if a mod gets broken by a game update and users can't run the game anymore to update the mod which might already have been fixed but would still need to be downloaded through the game if you want to avoid making users have to find the mod directory and move files around manually?
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by Loewchen »

Rseding91 wrote:If we disabled a mod the first time it had an error during loading making a mod would be a giant pain the ass. Contact the mod author about fixing their mods.
That would not be the idea. Add a field in the mod portal what versions of factorio are supported. Before updating factorio deactivates all mods that would not be supported by the new version.
Pretty much the same way firefox does it with add-ons.

ixnorp
Inserter
Inserter
Posts: 48
Joined: Mon Jun 27, 2016 11:06 pm
Contact:

Re: [0.13.1] Close to desktop after upgrade breaks installed mod

Post by ixnorp »

Rseding91 wrote:
Loewchen wrote:Mods have to be tested by the mod developer, not the game developer.
NaB
Yes.

If we disabled a mod the first time it had an error during loading making a mod would be a giant pain the ass. Contact the mod author about fixing their mods.
Perhaps a config file directive along the lines of AutoDisableMods=bool would allow mod authors to retain the current behavior where as normal users would probably want to not have their game crash immediately upon load. My reasoning being that with the game having the mod portal integrated into it, it's no longer guaranteed that a player will know how to uninstall a mod manually.

Dahn94
Inserter
Inserter
Posts: 34
Joined: Fri Apr 29, 2016 6:32 pm
Contact:

Re: 13.1 Game doesn't check supported versions of mods on update

Post by Dahn94 »

The mod portal is unavailable with the current behavior. The ONLY solution is to work outside the game UI and Mod Portal which seems contrary to the goal of integrating the portal in the first place.

A user would have to
a) remove the offending mod, relaunch, find and re-install it (hoping it's been updated in the Mod Portal) and then wait for a 3rd relaunch after install

b) Manually edit modlist.json, relaunch, update via mod portal and then re-enable for a 3rd relaunch

I believe your primary audience is the game player, not the mod developer. Alternatively, if the Mod Portal was made available before processing of mods that would be a better UX experience for users.

Dahn94
Inserter
Inserter
Posts: 34
Joined: Fri Apr 29, 2016 6:32 pm
Contact:

Re: 13.1 Game doesn't check supported versions of mods on update

Post by Dahn94 »

And if I wasn't clear in the earlier discussion, another option is to disable mods with an old supported version tag once and only once after an upgrade of the game. This might require a new flag to enable/force loading old mods but this approach might balance the competing concerns.

Dahn94
Inserter
Inserter
Posts: 34
Joined: Fri Apr 29, 2016 6:32 pm
Contact:

Re: 13.1 Game doesn't check supported versions of mods on update

Post by Dahn94 »

I believe this has been addressed/fixed in 0.14. Thanks!

Post Reply

Return to “Not a bug”