[0.18.17] Update mods ingame doesn't remove old versions

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.
User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2638
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

[0.18.17] Update mods ingame doesn't remove old versions

Post by steinio »

Hi,

if i update mods via the ingame updater, the old mod versions don't get deleted anymore.

Cu, steinio.
Attachments
doublemod.png
doublemod.png (9.66 KiB) Viewed 807 times
factorio-previous.log
(6.24 KiB) Downloaded 63 times
Image

Transport Belt Repair Man

View unread Posts
Rseding91
Factorio Staff
Factorio Staff
Posts: 15985
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.17] Update mods ingame doesn't remove old versions

Post by Rseding91 »

Thanks for the report however yes they do.

If they don't get deleted it means something on your system is keeping locks on them. The game tells the operating system "delete this when you can" when it restarts to finish installing the mod(s).

The only time mods get kept in multiple versions is when you sync-mods-with-server since you require an exact version to join the server and deleting other versions isn't helpful.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15985
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.17] Update mods ingame doesn't remove old versions

Post by Rseding91 »

You can see in the log file at the end:
23.737 Error FileUtil.cpp:403: Can't remove D:\SteamLibrary\steamapps\common\Factorio\mods\creative-mod_1.2.0.zip: Falscher Parameter.
Which means the operating system failed the request to delete the file.
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.18.17] Update mods ingame doesn't remove old versions

Post by steinio »

Rseding91 wrote: Sun Mar 29, 2020 4:06 pm You can see in the log file at the end:
23.737 Error FileUtil.cpp:403: Can't remove D:\SteamLibrary\steamapps\common\Factorio\mods\creative-mod_1.2.0.zip: Falscher Parameter.
Which means the operating system failed the request to delete the file.
Maybe the game itself is locking it as the mod is loaded on startup?
Image

Transport Belt Repair Man

View unread Posts
Rseding91
Factorio Staff
Factorio Staff
Posts: 15985
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.18.17] Update mods ingame doesn't remove old versions

Post by Rseding91 »

steinio wrote: Sun Mar 29, 2020 5:07 pm
Rseding91 wrote: Sun Mar 29, 2020 4:06 pm You can see in the log file at the end:
23.737 Error FileUtil.cpp:403: Can't remove D:\SteamLibrary\steamapps\common\Factorio\mods\creative-mod_1.2.0.zip: Falscher Parameter.
Which means the operating system failed the request to delete the file.
Maybe the game itself is locking it as the mod is loaded on startup?
It's not. That logic specifically runs after the games file locks have been released.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Technical Help”