What key do I need to write a file .bat to start the server?
What key do I need to write a file .bat to start the server?
What key do I need to write a file .bat to start the server?
My native language is russian. Sorry if my messages are difficult to read.
Re: What key do I need to write a file .bat to start the server?
Not sure what you mean by "Key" but I will guess you mean the command to start the server.
In the folder you got your factorio.exe create following files:
Create_map.txt
Start_Factorio.txt
Inside of the Create_map.txt. file, type the following:
Rename Create_map.txt to Create_map.bat
Inside of the Start_Factorio.txt file, type the following:
Rename Start_Factorio.txt to Start_Factorio.bat
First, run Create_map.bat (to generate a map).
When the map generation is done, run the Start_Factorio.bat file and you will now have a server up and running.
In the folder you got your factorio.exe create following files:
Create_map.txt
Start_Factorio.txt
Inside of the Create_map.txt. file, type the following:
Code: Select all
Factorio --create *NameOfSaveFile*
Inside of the Start_Factorio.txt file, type the following:
Code: Select all
Factorio --start-server-load-latest
First, run Create_map.bat (to generate a map).
When the map generation is done, run the Start_Factorio.bat file and you will now have a server up and running.