https://steamcommunity.com/sharedfiles/ ... 2843949020
In summary:
- Created a new folder to hold my server
•C:\Users\musad\OneDrive\Documents\Factorio-Servers\2.0.42 - Went in-game and created my map, and saved it.
- Copied my game files from steam over to that new folder
- Copied the map ZIP from AppData to my server root folder.
- Downloaded the headless files from Factorio.com, and copied/pasted the example server settings file into my root dir for the server, making sure it's just `server-settings.json`
• Typed in my credentials and server name info - Gone to my appdata and copied my config folder, pasting a copy in my server folder.
- Edited config.ini
• read-data=[server dir]\data
• write-data=[server dir] - Edited config-path.cfg to point to `config-path=[server dir]\config`
- Created `server.bat` with the following:
Despite this, whenever I run the `server.bat` file, a LOCK file is generated in my AppData folder. This means that when I go to boot up Factorio, it says I cannot because the process is locked.start /wait C:\Users\musad\OneDrive\Documents\Factorio-Servers\2.0.42\bin\x64\factorio.exe --start-server C:\Users\musad\OneDrive\Documents\Factorio-Servers\2.0.42\saves\servermap.zip --server-settings C:\Users\musad\OneDrive\Documents\Factorio-Servers\2.0.42\server-settings.json --no-log-rotation
pause
Here is my config.ini file:
But the Command Line window still shows AppData as my write data path: