Skip to content

Commit f5a26fc

Browse files
authored
Add Trackmania United Forever support (#144)
* Support Trackmania United Forever --------- Co-authored-by: uwx <uwx@users.noreply.github.com>
1 parent 5e21de8 commit f5a26fc

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic
7171
| 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> |
7272
| 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> |
7373
| 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> |
74+
| 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) | |
7475
| 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) | |
7576
| 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> |
7677

games/game_tmuf.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# -*- encoding: utf-8 -*-
2+
3+
from __future__ import annotations
4+
5+
import mobase
6+
from PyQt6.QtCore import QFileInfo
7+
8+
from ..basic_game import BasicGame
9+
10+
11+
class TmufGame(BasicGame):
12+
13+
Name = "Trackmania United Forever Support Plugin"
14+
Author = "uwx"
15+
Version = "1.0.0"
16+
Description = "Adds support for Trackmania United Forever game folder mods."
17+
18+
GameName = "Trackmania United Forever"
19+
GameShortName = "tmuf"
20+
GameNexusName = "trackmaniaunited"
21+
GameNexusId = 1500
22+
GameSteamId = 7200
23+
GameBinary = "TmForeverLauncher.exe"
24+
GameDataPath = "GameData"
25+
26+
def executables(self):
27+
return [
28+
mobase.ExecutableInfo(
29+
"Trackmania United Forever",
30+
QFileInfo(
31+
self.gameDirectory(),
32+
self.binaryName(),
33+
),
34+
),
35+
]

0 commit comments

Comments
 (0)