-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
141 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
import mobase | ||
from PyQt6.QtCore import QFileInfo | ||
|
||
from ..basic_game import BasicGame | ||
|
||
|
||
class NFSHSGame(BasicGame): | ||
|
||
Name = "Need for Speed: High Stakes Support Plugin" | ||
Author = "uwx" | ||
Version = "1.0.0" | ||
|
||
GameName = "Need for Speed: High Stakes" | ||
GameShortName = "nfshs" | ||
GameNexusName = "needforspeedhighstakes" | ||
GameNexusId = 6032 | ||
GameBinary = "nfshs.exe" | ||
GameDataPath = "" | ||
|
||
def executables(self): | ||
return [ | ||
mobase.ExecutableInfo( | ||
"Need for Speed: High Stakes", | ||
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())), | ||
) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
) | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(), | ||
), | ||
), | ||
] |