def executables(self):
     return [
         mobase.ExecutableInfo(
             "Mount & Blade II: Bannerlord (Launcher)",
             QFileInfo(
                 self.gameDirectory(),
                 "bin/Win64_Shipping_Client/TaleWorlds.MountAndBlade.Launcher.exe",
             ),
         ),
         mobase.ExecutableInfo(
             "Mount & Blade II: Bannerlord",
             QFileInfo(
                 self.gameDirectory(),
                 "bin/Win64_Shipping_Client/Bannerlord.exe",
             ),
         ),
         mobase.ExecutableInfo(
             "Mount & Blade II: Bannerlord (Native)",
             QFileInfo(
                 self.gameDirectory(),
                 "bin/Win64_Shipping_Client/Bannerlord.Native.exe",
             ),
         ),
         mobase.ExecutableInfo(
             "Mount & Blade II: Bannerlord (BE)",
             QFileInfo(
                 self.gameDirectory(),
                 "bin/Win64_Shipping_Client/Bannerlord_BE.exe",
             ),
         ),
     ]
Esempio n. 2
0
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "SMAPI",
             QFileInfo(self.gameDirectory(), "StardewModdingAPI.exe")),
         mobase.ExecutableInfo(
             "Stardew Valley",
             QFileInfo(self.gameDirectory(), "Stardew Valley.exe")),
     ]
Esempio n. 3
0
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "Anomaly Launcher",
             QFileInfo(self.gameDirectory(), "AnomalyLauncher.exe"),
         ),
         mobase.ExecutableInfo(
             "Anomaly (DX11-AVX)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX11AVX.exe"),
         ),
         mobase.ExecutableInfo(
             "Anomaly (DX11)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX11.exe")),
         mobase.ExecutableInfo(
             "Anomaly (DX10-AVX)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX10AVX.exe"),
         ),
         mobase.ExecutableInfo(
             "Anomaly (DX10)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX10.exe")),
         mobase.ExecutableInfo(
             "Anomaly (DX9-AVX)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX9AVX.exe"),
         ),
         mobase.ExecutableInfo(
             "Anomaly (DX9)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX9.exe")),
         mobase.ExecutableInfo(
             "Anomaly (DX8-AVX)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX8AVX.exe"),
         ),
         mobase.ExecutableInfo(
             "Anomaly (DX8)",
             QFileInfo(self.gameDirectory(), "bin/AnomalyDX8.exe")),
     ]
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "GTA: Vice City - Definitive Edition",
             QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
         ),
         mobase.ExecutableInfo(
             "GTA: Vice City - Definitive Edition (DirectX 12)",
             QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
         ).withArgument("-dx12"),
     ]
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "Train Simulator (32-bit)",
             QFileInfo(self.gameDirectory(), "RailWorks.exe"),
         ),
         mobase.ExecutableInfo(
             "Train Simulator (64-bit)",
             QFileInfo(self.gameDirectory(), "RailWorks64.exe"),
         ),
     ]
Esempio n. 6
0
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "No Man's Sky",
             QFileInfo(self.gameDirectory().absoluteFilePath(
                 self.binaryName())),
         ),
         mobase.ExecutableInfo(
             "No Man's Sky VR",
             QFileInfo(self.gameDirectory().absoluteFilePath(
                 self.binaryName())),
         ).withArgument("-HmdEnable 1"),
     ]
Esempio n. 7
0
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "Serious Sam Classic The Second Encounter", QFileInfo(self.gameDirectory(), "bin/serioussam.exe")
         ),
         mobase.ExecutableInfo(
             "Serious Editor", QFileInfo(self.gameDirectory(), "bin/SeriousEditor.exe")
         ),
         mobase.ExecutableInfo(
             "Serious Modeler", QFileInfo(self.gameDirectory(), "bin/SeriousModeler.exe")
         ),
         mobase.ExecutableInfo(
             "Dedicated Server", QFileInfo(self.gameDirectory(), "bin/DedicatedServer.exe")
         ),
     ]
Esempio n. 8
0
 def executables(self) -> List[mobase.ExecutableInfo]:
     execs = []
     if self.getLauncherName():
         execs.append(
             mobase.ExecutableInfo(
                 self.gameName(),
                 QFileInfo(self.gameDirectory().absoluteFilePath(
                     self.getLauncherName())),
             ))
     execs.append(
         mobase.ExecutableInfo(
             self.gameName(),
             QFileInfo(self.gameDirectory().absoluteFilePath(
                 self.binaryName())),
         ))
     return execs
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "Yu-Gi-Oh! Master Duel",
             QFileInfo(self.gameDirectory().absoluteFilePath(self.binaryName())),
         ).withArgument("-popupwindow"),
     ]
Esempio n. 10
0
 def executables(self):
     return [
         mobase.ExecutableInfo(
             "Darkest Dungeon",
             QFileInfo(self.gameDirectory(), "_windows//darkest.exe"),
         ),
     ]
 def executables(self):
     path = QFileInfo(self.gameDirectory(), "_windows/darkest.exe")
     if not path.exists():
         path = QFileInfo(self.gameDirectory(),
                          "_windowsnosteam/darkest.exe")
     return [
         mobase.ExecutableInfo("Darkest Dungeon", path),
     ]
Esempio n. 12
0
 def executables(self) -> List[mobase.ExecutableInfo]:
     return [
         mobase.ExecutableInfo(
             "STAR WARS Empire at War: Forces of Corruption",
             QFileInfo(self.gameDirectory().absoluteFilePath(
                 self.binaryName())),
         )
     ]
 def executables(self):
     execs = super().executables()
     execs.append(
         mobase.ExecutableInfo(
             "Dungeon Siege Video Configuration",
             QFileInfo(self.gameDirectory().absoluteFilePath("DS2VideoConfig.exe")),
         )
     )
     return execs
 def executables(self):
     if self.is_steam():
         path = QFileInfo(self.gameDirectory(), "_windows/darkest.exe")
     else:
         path = QFileInfo(self.gameDirectory(),
                          "_windowsnosteam/darkest.exe")
     return [
         mobase.ExecutableInfo("Darkest Dungeon",
                               path).withWorkingDirectory(
                                   self.gameDirectory()),
     ]
Esempio n. 15
0
 def executables(self) -> List[mobase.ExecutableInfo]:
     info = [
         ["Anomaly Launcher", "AnomalyLauncher.exe"],
         ["Anomaly (DX11-AVX)", "bin/AnomalyDX11AVX.exe"],
         ["Anomaly (DX11)", "bin/AnomalyDX11.exe"],
         ["Anomaly (DX10-AVX)", "bin/AnomalyDX10AVX.exe"],
         ["Anomaly (DX10)", "bin/AnomalyDX10.exe"],
         ["Anomaly (DX9-AVX)", "bin/AnomalyDX9AVX.exe"],
         ["Anomaly (DX9)", "bin/AnomalyDX9.exe"],
         ["Anomaly (DX8-AVX)", "bin/AnomalyDX8AVX.exe"],
         ["Anomaly (DX8)", "bin/AnomalyDX8.exe"],
     ]
     gamedir = self.gameDirectory()
     return [
         mobase.ExecutableInfo(inf[0], QFileInfo(gamedir, inf[1]))
         for inf in info
     ]
    def executables(self) -> List[mobase.ExecutableInfo]:
        execs = super().executables()
        """
        A bat file to load modded executables from VFS.
        """
        workaroundPath = self._gamePath + "/" + self.GameBinary[:-4] + ".bat"

        try:
            workaround = open(workaroundPath, "rt")
        except FileNotFoundError:
            with open(workaroundPath, "wt") as workaround:
                workaround.write('start "" "' + self.GameBinary + '"')
        workaround.close()

        execs.append(
            mobase.ExecutableInfo(self.GameShortName + " Modded Exec",
                                  QFileInfo(workaroundPath)))

        return execs
 def executables(self) -> List[mobase.ExecutableInfo]:
     path = QFileInfo(self.gameDirectory(), "System/witcher.exe")
     return [mobase.ExecutableInfo("The Witcher", path)]