Files
Mikaël Capelle 71dbb8c557 Refactoring of game features for better management. (#149)
* Refactoring following uibase change for game features.
* Switch to ruff for linting and formatting.
* Bump stubs to 2.5.1a0.
2024-06-09 12:25:46 +02:00

36 lines
985 B
Python

# -*- encoding: utf-8 -*-
import mobase
from PyQt6.QtCore import QFileInfo
from ..basic_game import BasicGame
class TDUGame(BasicGame):
Name = "Test Drive Unlimited Support Plugin"
Author = "uwx"
Version = "1.0.0"
GameName = "Test Drive Unlimited"
GameShortName = "tdu"
GameNexusName = "testdriveunlimited"
GameNexusId = 4615
GameBinary = "TestDriveUnlimited.exe"
GameDataPath = ""
def executables(self):
return [
mobase.ExecutableInfo(
"Test Drive Unlimited",
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
).withArgument("-w -wx -vsync -bigbnks -offline"),
mobase.ExecutableInfo(
"Project Paradise Launcher",
QFileInfo(
self.gameDirectory().absoluteFilePath(
"TDU - Project Paradise Launcher.exe"
)
),
),
]