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

35 lines
857 B
Python

# -*- encoding: utf-8 -*-
from __future__ import annotations
import mobase
from PyQt6.QtCore import QFileInfo
from ..basic_game import BasicGame
class TmufGame(BasicGame):
Name = "Trackmania United Forever Support Plugin"
Author = "uwx"
Version = "1.0.0"
Description = "Adds support for Trackmania United Forever game folder mods."
GameName = "Trackmania United Forever"
GameShortName = "tmuf"
GameNexusName = "trackmaniaunited"
GameNexusId = 1500
GameSteamId = 7200
GameBinary = "TmForeverLauncher.exe"
GameDataPath = "GameData"
def executables(self):
return [
mobase.ExecutableInfo(
"Trackmania United Forever",
QFileInfo(
self.gameDirectory(),
self.binaryName(),
),
),
]