-
Notifications
You must be signed in to change notification settings - Fork 55
/
game_thug.py
35 lines (29 loc) · 1.06 KB
/
game_thug.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# -*- encoding: utf-8 -*-
import mobase
from PyQt6.QtCore import QDir, QFileInfo
from ..basic_game import BasicGame
class THPS4Game(BasicGame):
Name = "Tony Hawk's Underground Support Plugin"
Author = "uwx"
Version = "1.0.0"
GameName = "Tony Hawk's Underground"
GameShortName = "thug"
GameBinary = "THUG.exe"
GameDataPath = "Data"
def executables(self):
return [
mobase.ExecutableInfo(
"Tony Hawk's Underground",
QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
),
mobase.ExecutableInfo(
"Tony Hawk's Underground Launcher",
QFileInfo(self.gameDirectory().absoluteFilePath("../Launcher.exe")),
).withWorkingDirectory(
QDir(QDir.cleanPath(self.gameDirectory().absoluteFilePath("..")))
),
mobase.ExecutableInfo(
"Tony Hawk's Underground (ClownJob'd)",
QFileInfo(self.gameDirectory().absoluteFilePath("THUGONE.exe")),
),
]