Skip to content

Commit 571b167

Browse files
authored
Add support for Test Drive Unlimited (#146)
* TDU Support --------- Co-authored-by: uwx <uwx@users.noreply.github.com>
1 parent f5a26fc commit 571b167

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ You can rename `modorganizer-basic_games-xxx` to whatever you want (e.g., `basic
6969
| 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> |
7070
| Train Simulator Classic — [STEAM](https://store.steampowered.com/app/24010/) | [Ryan Young](https://github.com/YoRyan) | [game_trainsimulator.py](games/game_trainsimulator.py) | |
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> |
72+
| Test Drive Unlimited | [uwx](https://github.com/uwx) | [game_tdu.py](games/game_tdu.py) | |
7273
| 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> |
7374
| 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> |
7475
| 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) | |

games/game_tdu.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# -*- encoding: utf-8 -*-
2+
3+
import mobase
4+
from PyQt6.QtCore import QFileInfo
5+
6+
from ..basic_game import BasicGame
7+
8+
9+
class TDUGame(BasicGame):
10+
11+
Name = "Test Drive Unlimited Support Plugin"
12+
Author = "uwx"
13+
Version = "1.0.0"
14+
15+
GameName = "Test Drive Unlimited"
16+
GameShortName = "tdu"
17+
GameNexusName = "testdriveunlimited"
18+
GameNexusId = 4615
19+
GameBinary = "TestDriveUnlimited.exe"
20+
GameDataPath = ""
21+
22+
def executables(self):
23+
return [
24+
mobase.ExecutableInfo(
25+
"Test Drive Unlimited",
26+
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
27+
).withArgument("-w -wx -vsync -bigbnks -offline"),
28+
mobase.ExecutableInfo(
29+
"Project Paradise Launcher",
30+
QFileInfo(
31+
self.gameDirectory().absoluteFilePath(
32+
"TDU - Project Paradise Launcher.exe"
33+
)
34+
),
35+
),
36+
]

0 commit comments

Comments
 (0)