mirror of
https://github.com/ModOrganizer2/modorganizer-basic_games.git
synced 2026-07-27 14:07:29 -07:00
Add support for Test Drive Unlimited (#146)
* TDU Support --------- Co-authored-by: uwx <uwx@users.noreply.github.com>
This commit is contained in:
@@ -69,6 +69,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic
|
||||
| Subnautica: Below Zero — [STEAM](https://store.steampowered.com/app/848450/) | [dekart811](https://github.com/dekart811), [Zash](https://github.com/ZashIn) | [game_subnautica-below-zero.py](games/game_subnautica-below-zero.py) | <ul><li>mod data checker</li><li>save game preview</li></ul> |
|
||||
| Train Simulator Classic — [STEAM](https://store.steampowered.com/app/24010/) | [Ryan Young](https://github.com/YoRyan) | [game_trainsimulator.py](games/game_trainsimulator.py) | |
|
||||
| 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> |
|
||||
| Test Drive Unlimited | [uwx](https://github.com/uwx) | [game_tdu.py](games/game_tdu.py) | |
|
||||
| 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) | |
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
|
||||
import mobase
|
||||
from PyQt6.QtCore import QFileInfo
|
||||
|
||||
from ..basic_game import BasicGame
|
||||
|
||||
|
||||
class TDUGame(BasicGame):
|
||||
|
||||
Name = "Test Drive Unlimited Support Plugin"
|
||||
Author = "uwx"
|
||||
Version = "1.0.0"
|
||||
|
||||
GameName = "Test Drive Unlimited"
|
||||
GameShortName = "tdu"
|
||||
GameNexusName = "testdriveunlimited"
|
||||
GameNexusId = 4615
|
||||
GameBinary = "TestDriveUnlimited.exe"
|
||||
GameDataPath = ""
|
||||
|
||||
def executables(self):
|
||||
return [
|
||||
mobase.ExecutableInfo(
|
||||
"Test Drive Unlimited",
|
||||
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
|
||||
).withArgument("-w -wx -vsync -bigbnks -offline"),
|
||||
mobase.ExecutableInfo(
|
||||
"Project Paradise Launcher",
|
||||
QFileInfo(
|
||||
self.gameDirectory().absoluteFilePath(
|
||||
"TDU - Project Paradise Launcher.exe"
|
||||
)
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user