Skip to content

Commit

Permalink
Add TDU2 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
uwx committed Apr 11, 2024
1 parent 975506f commit c0ada11
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions games/game_tdu2.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# -*- 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")
),
),
]

0 comments on commit c0ada11

Please sign in to comment.