error util.cpp:57: duplicate mod base

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.
playedspades
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Nov 24, 2016 7:09 am
Contact:

error util.cpp:57: duplicate mod base

Post by playedspades »

Setting up a headless linux server on CentOS 7. Everything looks basically good to go, until I try to generate a new map.

The command I'm using to create the map is:

Code: Select all

# sudo /opt/factorio/bin/x64/factorio --create /opt/factorio/saves/1.zip --mod-directory /opt/factorio/data/ --map-gen-settings /opt/factorio/data/map-gen-settings.json --server-settings /opt/factorio/data/server-settings.json
Which results in this output:

Code: Select all

   0.009 2016-11-24 02:13:53; Factorio 0.14.20 (build 25315, linux64, headless)
   0.009 Operating system: Linux
   0.009 Program arguments: "/opt/factorio/bin/x64/factorio" "--create" "/opt/factorio/saves/1" "--mod-directory" "/opt/factorio/data" "--map-gen-settings" "/opt/factorio/data/map-gen-settings.json" "--server-settings" "/opt/factorio/data/server-settings.json" 
   0.009 Read data path: /opt/factorio/data
   0.010 Write data path: /opt/factorio
   0.010 Binaries path: /opt/factorio/bin
   0.043 System info: [CPU:           Intel(R) Celeron(R) CPU 847 @ 1.10GHz, 2 cores, RAM: 7710MB]
   0.044 Running in headless mode
   0.048 Info ModManager.cpp:98: Found duplicate mod Aircraft, using folder version (1.1.4).
   0.050 Error Util.cpp:57: Filename of mod /opt/factorio/data/base doesn't match the expected base_0.14.20 (case sensitive!)
I skipped troubleshooting the Aircraft mod because I just wanted to see if the save file would create at all. I removed the aircraft mod directory and rename the base mod directory to base_0.14.20, and ran the same command. Results in this output:

Code: Select all

   0.002 2016-11-24 02:20:15; Factorio 0.14.20 (build 25315, linux64, headless)
   0.002 Operating system: Linux
   0.002 Program arguments: "/opt/factorio/bin/x64/factorio" "--create" "/opt/factorio/saves/1" "--mod-directory" "/opt/factorio/data" "--map-gen-settings" "/opt/factorio/data/map-gen-settings.json" "--server-settings" "/opt/factorio/data/server-settings.json" 
   0.002 Read data path: /opt/factorio/data
   0.002 Write data path: /opt/factorio
   0.002 Binaries path: /opt/factorio/bin
   0.053 System info: [CPU:           Intel(R) Celeron(R) CPU 847 @ 1.10GHz, 2 cores, RAM: 7710MB]
   0.054 Running in headless mode
   0.060 Error Util.cpp:57: Duplicate mod base.
This util.cpp:57: duplicate mod error is literally nowhere on the internet, and this is my first excursion into advanced linux, so I'm really at a loss. If anybody has any clue, please let me know.
playedspades
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Nov 24, 2016 7:09 am
Contact:

Re: error util.cpp:57: duplicate mod base

Post by playedspades »

nevermind, I figured it out. Don't specify your mod directory as the same directory core and base are in.
Post Reply

Return to “Technical Help”