thezigpc Posted March 20, 2016 Share Posted March 20, 2016 Worked out a small batch file to help you generate a dedicated_server_mods_setup.lua file based on the mods you have installed in your local DST game Change the path to match your own DST install and save as generatelua.bat @echo off dir "G:\Games\Steam\steamapps\common\Don't Starve Together\mods" /b /a:d > dedicated_server_mods_setup.lua SETLOCAL=ENABLEDELAYEDEXPANSION rename dedicated_server_mods_setup.lua dedicated_server_mods_setup.tmp for /f "tokens=2 delims=-" %%a in (dedicated_server_mods_setup.tmp) do ( set foo=ServerModSetup^("%%a"^) echo !foo! >> dedicated_server_mods_setup.lua) del dedicated_server_mods_setup.tmp Link to comment https://forums.kleientertainment.com/forums/topic/65580-small-batch-file-to-help-generate-your-dedicated_server_mods_setuplua-file/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.