Crashing after enabling new mod

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
SneakyDevil
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Nov 25, 2018 7:45 pm
Contact:

Crashing after enabling new mod

Post by SneakyDevil »

Just updated a bunch of mods for factorio as well as enabled one new mod, factorio proceeds to CTD on reload.

Unfortunately, this also means it CTDs on launch, which does make it difficult to enable/disable mods from the ingame mod manager.

I've included the logfile but if anyone knows a way to manage ingame downloaded mods I'd be willing to try my had at elimination myself.
Attachments
factorio-current.log
(29.12 KiB) Downloaded 9 times
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 436
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Crashing after enabling new mod

Post by Stringweasel »

You can disable mods by changing the `%appdata%/Factorio/mods/mod-list.json` file as well.
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 436
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Crashing after enabling new mod

Post by Stringweasel »

It crashed with something to do with Roboports. So you can try remove mods that add or change roboports.

Code: Select all

C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Entity\RoboportPrototype.cpp(129): RoboportPrototype::RoboportPrototype
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Data\PrototypeLoader.hpp(31): _Closure_wrapper_61c5dda9_670::<lambda_invoker_cdecl>
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\ID\PrototypeList.cpp(28): PrototypeList<EntityPrototype>::executeLoader
C:\Users\build\AppData\Local\Temp\factorio-build-Yo9xJd\src\Data\PrototypeLoader.cpp(284): PrototypeLoader::loadPrototypeForType
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Crashing after enabling new mod

Post by BlueTemplar »

A perhaps even easier and more robust way is, instead of modifying mod-list.json, to manually move these zipped mods (and/or unzipped mod folders) in/out of /mods/.
(For instance by making a _disabled_mods_ subfolder inside /mods/ and putting them there.)

P.S.: This also allows categorizing unused mods in different folders, for instance : /_broken_/, /_to_try_later_/, /_for_<modpack>_/, and of course easily backing them up...
BobDiggity (mod-scenario-pack)
SneakyDevil
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Nov 25, 2018 7:45 pm
Contact:

Re: Crashing after enabling new mod

Post by SneakyDevil »

Much thanks! Turns out it was the mod I had just downloaded (obviously), I hadn't realized it affected roboports which stumped me at first.
User avatar
Stringweasel
Filter Inserter
Filter Inserter
Posts: 436
Joined: Thu Apr 27, 2017 8:22 pm
Contact:

Re: Crashing after enabling new mod

Post by Stringweasel »

Seems this is already fixed in the newest experimental release.

118086
118349
Alt-F4 Author | Factorio Modder
Probably known for: (Configurable) Valves | Better Victory Screen | Space Spidertron | Fluidic Power
Official Contributor to Space Exploration
Post Reply

Return to “Technical Help”