Edited SPT MO2 Plugin for New Executables
This commit is contained in:
parent
b3cab2e572
commit
410ca6d0be
|
@ -259,7 +259,7 @@ Centering On Player Zoom Level = 0.15
|
||||||
# Setting type: Single
|
# Setting type: Single
|
||||||
# Default value: 0
|
# Default value: 0
|
||||||
# Acceptable value range: From 0 to 15
|
# Acceptable value range: From 0 to 15
|
||||||
Main map zoom = 15
|
Main map zoom = 1.342218
|
||||||
|
|
||||||
## The keyboard shortcut to peek at the map
|
## The keyboard shortcut to peek at the map
|
||||||
# Setting type: KeyboardShortcut
|
# Setting type: KeyboardShortcut
|
||||||
|
|
|
@ -31,6 +31,13 @@ class SPTGame(BasicGame, mobase.IPluginFileMapper):
|
||||||
|
|
||||||
def executables(self) -> List[mobase.ExecutableInfo]:
|
def executables(self) -> List[mobase.ExecutableInfo]:
|
||||||
execs = super().executables()
|
execs = super().executables()
|
||||||
|
info = [
|
||||||
|
["Multiplayer", "SPT.Launcher.exe"],
|
||||||
|
]
|
||||||
|
gamedir = self.gameDirectory()
|
||||||
|
return [
|
||||||
|
mobase.ExecutableInfo(inf[0], QFileInfo(gamedir, inf[1])) for inf in info
|
||||||
|
]
|
||||||
|
|
||||||
"""
|
"""
|
||||||
A bat script file to bridge the environment to server and launcher.
|
A bat script file to bridge the environment to server and launcher.
|
||||||
|
@ -64,7 +71,7 @@ endlocal
|
||||||
workaround.close()
|
workaround.close()
|
||||||
|
|
||||||
execs.append(
|
execs.append(
|
||||||
mobase.ExecutableInfo("Launch SP Tarkov", QFileInfo(workaroundPath))
|
mobase.ExecutableInfo("Singleplayer", QFileInfo(workaroundPath))
|
||||||
)
|
)
|
||||||
execs.pop(0)
|
execs.pop(0)
|
||||||
return execs
|
return execs
|
||||||
|
|
Loading…
Reference in New Issue