搭win建中转服务器,【图⽚】windows搭建服务器教程【异星
⼯⼚吧】_百度贴吧
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
写了写了,事⼉⼀多差点忘记了。⾸先是我在官⽹到别⼈出错的⼀个bat⽂件哈,我是放在这个⽂件⽬录下的
F:\Steam\steamapps\common\Factorio,⼤家可以到⾃⼰的⽬录。内容:
@echo off
::==========================================================================================
::Replace the appropriate entries below to suit your installation (Default install example shown)
::==============================================================================================
set FactorioExeLocation=F:\Steam\steamapps\common\Factorio\bin\x64 \\的⽬录
set SaveFileName=game.zip \\存档名字,需要⾃⼰先建个满意的存档
set SaveLocation=C:\Users\zzm\AppData\Roaming\Factorio\saves\ \\存档位置
set ample.json \\这个⽂件可以从data\下到,把他复 制到
F:\Steam\steamapps\common\Factorio⽂件夹下
set ServerSettingsLocation=F:\Steam\steamapps\common\Factorio\ \\ample.json⽂件的位置
::==========================================================================================
cd %FactorioExeLocation%
echo.
echo.
echo PREPARING TO LAUNCH
echo.
echo Save to be loaded:
echo %SaveLocation%%SaveFileName%
echo.
echo Server Settings to load:
echo %ServerSettingsLocation%%ServerSettingsFileName%
echo.
echo.
echo *** Remember to use Ctrl+C to ensure saving when finished instead of simply closing this window ***
echo.
echo.
pause 3
::==========================================================================================
:: ***NOTE: The line below launches factorio in headless mode with desired server settings, add any other
:: desired arguments to end of the line. Use " --help" for a list of all supported arguments.
::==========================================================================================
< --start-server "%SaveLocation%%SaveFileName%" --server-settings
服务器"%ServerSettingsLocation%%ServerSettingsFileName%"
pause 3
\\后⾯都是要删掉的东西
这样就可以了,然后我的完整的bat再复制⼀遍,放楼下