-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Need for Speed: High Stakes (#148)
* Add support for Need for Speed: High Stakes --------- Co-authored-by: uwx <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 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
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())), | ||
) | ||
] |