Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.18 KB | None | 0 0
  1. @echo off
  2. ::==============================================================================================================
  3. :: Replace the appropriate entries below to suit your installation (OldVamp's Tutorial example shown)
  4. ::==============================================================================================================
  5.  
  6. set FactorioExeLocation=C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\
  7.  
  8. set SaveFileName=wearebestfriens.zip
  9. set SaveLocation=C:\Users\bcfnj\AppData\Roaming\Factorio\multiplayerserver\
  10.  
  11. set ServerSettingsFileName=server-settings.json
  12. set ServerSettingsLocation=C:\Users\bcfnj\AppData\Roaming\Factorio\multiplayerserver\
  13.  
  14. set ServerConfigFileName=configserver.ini
  15. set ServerConfigLocation=C:\Users\bcfnj\AppData\Roaming\Factorio\multiplayerserver\
  16.  
  17. set MapConfigFileName=map-gen-settings.json
  18. set MapConfigLocation=C:\Users\bcfnj\AppData\Roaming\Factorio\multiplayerserver\
  19.  
  20. ::==============================================================================================================
  21.  
  22. cd %FactorioExeLocation%
  23.  
  24. echo.
  25. echo.
  26. echo PREPARING TO LAUNCH FACTORIO SERVER...
  27. echo.
  28. echo Save to be loaded:
  29. echo %SaveLocation%%SaveFileName%
  30. echo.
  31. echo Server Settings to load:
  32. echo %ServerSettingsLocation%%ServerSettingsFileName%
  33. echo.
  34. echo.
  35. echo *** Remember to use Ctrl+C to close the server and save instead of simply closing this window ***
  36. echo *** If asked to terminate the batch job, type y (yes) ***
  37. echo.
  38. pause 3
  39.  
  40. ::==============================================================================================================
  41. :: ***NOTE: The line below launches factorio in headless mode with desired server settings, add any other
  42. :: desired arguments to end of the line. Use "factorio.exe --help" for a list of all supported arguments.
  43. ::==============================================================================================================
  44. factorio.exe --start-server "%SaveLocation%%SaveFileName%" --server-settings "%ServerSettingsLocation%%ServerSettingsFileName%" -c "%ServerConfigLocation%%ServerConfigFileName%"
  45.  
  46. pause 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement