aboutsummaryrefslogtreecommitdiff
path: root/libs/basic_games/games/game_tmuf.py
blob: 648da6d107f6cf4c6901ba25d0090c0193559be0 (plain)
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
35
# -*- encoding: utf-8 -*-

from __future__ import annotations

from PyQt6.QtCore import QFileInfo

import mobase

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(),
                ),
            ),
        ]