Skip to content

Commit

Permalink
Add Trackmania United Forever support (#144)
Browse files Browse the repository at this point in the history
* Support Trackmania United Forever

---------

Co-authored-by: uwx <[email protected]>
  • Loading branch information
uwx and uwx authored Apr 12, 2024
1 parent 5e21de8 commit f5a26fc
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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> |

Expand Down
35 changes: 35 additions & 0 deletions games/game_tmuf.py
Original file line number Diff line number Diff line change
@@ -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(),
),
),
]

0 comments on commit f5a26fc

Please sign in to comment.