Add Trackmania United Forever support (#144)

* Support Trackmania United Forever

---------

Co-authored-by: uwx <uwx@users.noreply.github.com>
This commit is contained in:
uwx
2024-04-12 11:13:12 +02:00
committed by GitHub
co-authored by uwx
parent 5e21de8f24
commit f5a26fcfce
2 changed files with 36 additions and 0 deletions
+1
View File
@@ -71,6 +71,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic
| Valheim — [STEAM](https://store.steampowered.com/app/892970/Valheim/) | [Zash](https://github.com/ZashIn) | [game_valheim.py](games/game_valheim.py) | <ul><li>mod data checker</li><li>overwrite config sync</li><li>save game support (no preview)</li></ul> |
| The Witcher: Enhanced Edition - [GOG](https://www.gog.com/game/the_witcher) / [STEAM](https://store.steampowered.com/app/20900/The_Witcher_Enhanced_Edition_Directors_Cut/) | [erri120](https://github.com/erri120) | [game_witcher1.py](games/game_witcher1.py) | <ul><li>save game parsing (no preview)</li></ul> |
| The Witcher 3: Wild Hunt — [GOG](https://www.gog.com/game/the_witcher_3_wild_hunt) / [STEAM](https://store.steampowered.com/app/292030/The_Witcher_3_Wild_Hunt/) | [Holt59](https://github.com/holt59/) | [game_witcher3.py](games/game_witcher3.py) | <ul><li>save game preview</li></ul> |
| Trackmania United Forever — [STEAM](https://store.steampowered.com/app/7200/Trackmania_United_Forever/) | [uwx](https://github.com/uwx) | [game_tmuf.py](games/game_tmuf.py) | |
| Yu-Gi-Oh! Master Duel — [STEAM](https://store.steampowered.com/app/1449850/) | [The Conceptionist](https://github.com/the-conceptionist) & [uwx](https://github.com/uwx) | [game_masterduel.py](games/game_masterduel.py) | |
| Zeus and Poseidon — [GOG](https://www.gog.com/game/zeus_poseidon) / [STEAM](https://store.steampowered.com/app/566050/Zeus__Poseidon/) | [Holt59](https://github.com/holt59/) | [game_zeusandpoiseidon.py](games/game_zeusandpoiseidon.py) | <ul><li>mod data checker</li></ul> |
+35
View File
@@ -0,0 +1,35 @@
# -*- 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(),
),
),
]