id = "tmodloader" name = "tModLoader" version = "1.0" steam_appid = 1281930 max_players = 4 # A file that must exist in the game root. Used to recognise the game when you add it by hand. marker = "tModLoader.dll" accent = "#5fbf5a" hint = "Pick tModLoader.dll or start-tModLoader.bat. On Steam they are in steamapps/common/tModLoader." notes = """ Launched through tModLoader's own start script, which installs the right .NET runtime \ on first run. Each player gets their own save folder (characters, worlds, mod settings) \ via -tmlsavedirectory. Host a world in one instance and join 127.0.0.1 from the others.""" [launch] exe = "start-tModLoader.bat" # {save_dir} is replaced with the player's profile save folder for this game. instance_args = ["-tmlsavedirectory", "{save_dir}"] # The script may install .NET on first run; give it time before starting the next copy. stagger_ms = 4000 # The script ends up running the game under dotnet.exe; that's where input hooks go. process = "dotnet.exe"