Sync LocalMods and config with SERVER.xml; update autogen

This commit is contained in:
2026-06-09 03:02:07 +03:00
parent 312a96ccd0
commit 9db66e427b
5910 changed files with 17917 additions and 86 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
"""Copy workshop mods from ACTUAL_SERVER.xml into LocalMods/ with readable names."""
"""Copy workshop mods from SERVER.xml into LocalMods/ with readable names."""
import shutil
import sys
@@ -7,7 +7,7 @@ import os
import xml.etree.ElementTree as ET
WORKSHOP_DIR = "/mnt/nvme/B/SteamLibrary/steamapps/workshop/content/602960"
MODLIST_PATH = "/mnt/nvme/B/SteamLibrary/steamapps/common/Barotrauma/ModLists/ACTUAL_SERVER.xml"
MODLIST_PATH = "/mnt/nvme/B/SteamLibrary/steamapps/common/Barotrauma/ModLists/SERVER.xml"
LOCALMODS_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), "LocalMods")
@@ -62,7 +62,7 @@ def copy_mod(src: str, dst: str) -> bool:
def main():
print()
print("╔══════════════════════════════════════════╗")
print("║ Prepare Local Mods from ACTUAL_SERVER ║")
print("║ Prepare Local Mods from SERVER ║")
print("╚══════════════════════════════════════════╝")
print()