[0.15.33] crash if unknown zip file exists in mod dir

Bugs that are actually features.
Post Reply
Oipo
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Aug 23, 2017 6:28 pm
Contact:

[0.15.33] crash if unknown zip file exists in mod dir

Post by Oipo »

OS: Linux Mint 18.2
Current behaviour: if you simply select all your mods and zip them in the same directory (e.g. /home/oipo/.factorio/mods/mods.zip), starting the game results in a brief loading screen and an abrupt exit of the program with the following output:

Code: Select all

GameAction [AppID 427520, ActionID 2] : LaunchApp changed task to Completed with ""
>>> Adding process 14397 for game ID 427520
   0.052 Operating system: Linux (LinuxMint 18.2)
   0.052 Program arguments: "/home/oipo/.steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.052 Read data path: /home/oipo/.steam/steamapps/common/Factorio/data
   0.052 Write data path: /home/oipo/.factorio
   0.052 Binaries path: /home/oipo/.steam/steamapps/common/Factorio/bin
   0.058 System info: [CPU: Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz, 4 cores, RAM: 7922MB]
   0.058 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255] [Lang: en]
>>> Adding process 14398 for game ID 427520
>>> Adding process 14399 for game ID 427520
>>> Adding process 14400 for game ID 427520
   0.204 Available display adapters: 2
   0.204  [0]: resolution 1920x1080px at [0,0]
   0.204  [1]: resolution 1920x1080px at [1920,0]
   0.204 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.472 Initialised OpenGL:[0] AMD PITCAIRN (DRM 2.50.0 / 4.12.7-custom, LLVM 5.0.0); driver: 3.0 Mesa 17.3.0-devel
   0.472     Video memory size (dedicated/total available/current available): 2048/4091/2039 MB
   0.504 Graphics settings preset: high
   0.504 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: false]
Installing breakpad exception handler for appid(gameoverlayui)/version(20170717231013)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
   0.597 Error Util.cpp:62: Failed to load mod "mods": Filename of mod /home/oipo/.factorio/mods/mods.zip doesn't match the expected AsphaltRoads_1.0.5.zip (case sensitive!)
Expected behaviour: Game to work just fine but ignore the weird mods.zip file
How to reproduce: go to /home/<user>/.factorio/mods and zip all directories available in there into a zip in that very same directory. Proceed to start game.

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

Re: [0.15.33] crash if unknown zip file exists in mod dir

Post by Rseding91 »

Thanks for the report however that's working correctly.

The presence of a zip file in the mods directory is indication to the game that it's a mod and that the game should try to load it.

Don't leave random zipped files in the directory if you don't want the game to try to load them as mods :)
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Not a bug”