Programatically detect and delegate WoT/MT launchers and clients.
Based on original code from OpenWG.Utils and rewritten in Python.
Currently supports only Windows.
pip install wotclientdetection
from wotclientdetection import LauncherManager
manager = LauncherManager()
launchers = manager.get_launchers()
for launcher in launchers:
clients = launcher.get_clients()
for client in clients:
print(client.path)
from wotclientdetection import LauncherManager, LauncherFlavour, ClientBranch, ClientRealm
manager = LauncherManager()
launcher = manager.get_launcher(LauncherFlavour.WG)
client = launcher.get_client(realm=ClientRealm.EU)
from wotclientdetection import LauncherManager, LauncherFlavour, ClientBranch, ClientRealm
STANDALONE_GAME_PATH = 'C:\Games\wot_standalone'
manager = LauncherManager()
launcher = manager.get_launcher(LauncherFlavour.STANDALONE)
launcher.register_client(STANDALONE_GAME_PATH)