![]() ![]() Create a copy of this file in the same folder and re-name it 'config-server.ini'. Go into the 'config' folder ( C:\Users\Slurr\AppData\Roaming\Factorio\config) and you will find a file named 'config.ini'. Pick one and drag it over to the other folder you just created. There is a folder named 'saves' there where your saves are kept by default. This will bring you to your appdata location, which for me is C:\Users\Slurr\AppData\Roaming. To find your existing saves, open up file explorer and type in %appdata%. You will need to drag over an existing save file over to this folder. This is where you will keep the server's save file. Make sure it is still in the same directory as factorio.exe.Ĭreate a new folder in the directory that contains factorio.exe and name it 'saves'. In the Save as type box, select 'All Files'. This will turn it from a text file to a batch file that you can double click to start the server. no-auto-pause don't automatically pause when no players are connectedĬlick 'Save-As.' In the File name box, type "server.bat". peer-to-peer use peer-to-peer communication disallow-commands disallow use of the command console autosave-slots N (=3) server autosave slots autosave-interval N (=2) server autosave interval, in minutes latency-ms N multiplayer server latency, in milliseconds latency N multiplayer server latency, in ticks start-server SAVE start a multiplayer server apply-update arg immediately apply update package Here is a list of more commands you could use if you want. This is needed to allow your game to be found through public matchmaking. This is needed so you can play Factorio from the same computer that you are hosting the headless server on. c %appdata%\Factorio\config\config-server.ini You might increase the interval if each autosave takes a long time. This tells the server to save the game automatically every 3 minutes. Make sure the exact name of your save game is here, including capital letters. Putting this in shows the file where to find your saved game. start-server saves/name_of_your_save_here.zip Write the following in that text document: Factorio.exe -start-server saves/name_of_your_save_here.zip -autosave-interval 3 -c %appdata%\Factorio\config\config-server.ini -server-settings server-settings.json In my case, it is here:Ĭ:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\圆4. Second, create a text file in the directory that contains factorio.exe. I will show how I configured my personal router, but this will differ slightly if you have a different router. If you have any suggestions/improvments, or if I forgot something, please let me know.įirst, set up your router's port-forwarding. This is not the only way to do it, but it works for me. Thanks to some help from members on the Factorio Discord server, I was able to start up a headless server. ![]() I created this guide because the wiki does not do a good job of covering all the necessary information you need to set up a server, which made it very difficult to get up and running. ![]() With a quick shout out to dillinger.io for making MD editing a more pleasant experience.Here I will explain how I set up my headless server on the same computer that I play Factorio on, using Steam.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |