-
Notifications
You must be signed in to change notification settings - Fork 55
/
game_tdu2.py
34 lines (28 loc) · 905 Bytes
/
game_tdu2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- encoding: utf-8 -*-
import mobase
from PyQt6.QtCore import QFileInfo
from ..basic_game import BasicGame
class TDU2Game(BasicGame):
Name = "Test Drive Unlimited 2 Support Plugin"
Author = "uwx"
Version = "1.0.0"
GameName = "Test Drive Unlimited 2"
GameShortName = "tdu2"
GameNexusName = "testdriveunlimited2"
GameNexusId = 2353
GameSteamId = 9930
GameBinary = "UpLauncher.exe"
GameDataPath = ""
def executables(self):
return [
mobase.ExecutableInfo(
"Test Drive Unlimited 2",
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
),
mobase.ExecutableInfo(
"TDU2 Universal Launcher",
QFileInfo(
self.gameDirectory().absoluteFilePath("TDU2_Universal_Launcher.exe")
),
),
]