Skip to content

Commit ebff449

Browse files
committed
Standardize author fields, add Windrose game support
- Update Author fields to "ModWorkshop" for consistency. - Change BK2 "Video" icon path to ":/MO/gui/content/modgroup". - Update Payday 3 GameDocumentsDirectory to use %LOCALAPPDATA%. - Add Windrose game support: mod data/content classes, UI tabs, forced DLL loading, and profile initialization. - Improve code consistency and mod content handling.
1 parent 5602c2a commit ebff449

16 files changed

Lines changed: 345 additions & 23 deletions

games/game_cassettebeasts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def getMetadata(p: Path, save: mobase.ISaveGame) -> Mapping[str, str] | None:
179179

180180
class CassetteBeastsGame(BasicGame):
181181
Name = "Cassette Beasts Support Plugin"
182-
Author = "modworkshop"
182+
Author = "ModWorkshop"
183183
Version = "1"
184184
GameName = "Cassette Beasts"
185185
GameShortName = "cassette-beasts"

games/game_crimeboss.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class CrimeBossModDataContent(mobase.ModDataContent):
3333
(Content.PAK, "PAK", ":/MO/gui/content/geometries"),
3434
(Content.UE4SS, "UE4SS", ":/MO/gui/content/script"),
3535
(Content.DLL, "DLL", ":/MO/gui/content/skse"),
36-
(Content.BK2, "Video", ":/MO/gui/content/skse"),
36+
(Content.BK2, "Video", ":/MO/gui/content/modgroup"),
3737
]
3838

3939
def getAllContents(self) -> list[mobase.ModDataContent.Content]:
@@ -241,7 +241,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
241241

242242
class CrimeBossGame(BasicGame):
243243
Name = "Crime Boss Support Plugin"
244-
Author = "modworkshop, MaskPlague and Silarn"
244+
Author = "ModWorkshop, MaskPlague and Silarn"
245245
Version = "1"
246246
GameName = "Crime Boss Rockay City"
247247
GameShortName = "crimeboss"

games/game_emuvr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
5454

5555
class EmuVRGame(BasicGame):
5656
Name = "Emu VR Support Plugin"
57-
Author = "modworkshop"
57+
Author = "ModWorkshop"
5858
Version = "1"
5959
GameName = "Emu VR"
6060
GameShortName = "emuvr"

games/game_hitman3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
117117

118118
class Hitman3Game(BasicGame):
119119
Name = "Hitman 3 Support Plugin"
120-
Author = "modworkshop"
120+
Author = "ModWorkshop"
121121
Version = "1"
122122
GameName = "Hitman: World of Assassination"
123123
GameShortName = "hitman3"

games/game_noita.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
8787

8888
class NoitaGame(BasicGame):
8989
Name = "Noita Support Plugin"
90-
Author = "modworkshop"
90+
Author = "ModWorkshop"
9191
Version = "1"
9292
GameName = "Noita"
9393
GameShortName = "noita"

games/game_ovkwalkingdead.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class OTWDModDataContent(mobase.ModDataContent):
3333
(Content.PAK, "PAK", ":/MO/gui/content/geometries"),
3434
(Content.UE4SS, "UE4SS", ":/MO/gui/content/script"),
3535
(Content.DLL, "DLL", ":/MO/gui/content/skse"),
36-
(Content.BK2, "Video", ":/MO/gui/content/skse"),
36+
(Content.BK2, "Video", ":/MO/gui/content/modgroup"),
3737
]
3838

3939
def getAllContents(self) -> list[mobase.ModDataContent.Content]:
@@ -207,7 +207,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
207207

208208
class OTWDGame(BasicGame):
209209
Name = "OVERKILL's The Walking Dead Support Plugin"
210-
Author = "modworkshop, MaskPlague and Silarn"
210+
Author = "ModWorkshop, MaskPlague and Silarn"
211211
Version = "1"
212212
GameName = "OVERKILL's The Walking Dead"
213213
GameShortName = "otwd"

games/game_pacificdrive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PacificDriveModDataContent(mobase.ModDataContent):
3333
(Content.PAK, "PAK", ":/MO/gui/content/geometries"),
3434
(Content.UE4SS, "UE4SS", ":/MO/gui/content/script"),
3535
(Content.DLL, "DLL", ":/MO/gui/content/skse"),
36-
(Content.BK2, "Video", ":/MO/gui/content/skse"),
36+
(Content.BK2, "Video", ":/MO/gui/content/modgroup"),
3737
]
3838

3939
def getAllContents(self) -> list[mobase.ModDataContent.Content]:
@@ -207,7 +207,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
207207

208208
class PacificDriveGame(BasicGame):
209209
Name = "Pacific Drive Support Plugin"
210-
Author = "modworkshop"
210+
Author = "ModWorkshop"
211211
Version = "1"
212212
GameName = "Pacific Drive"
213213
GameLauncher = "PenDriverPro.exe"

games/game_payday1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
221221

222222
class Payday1Game(BasicGame):
223223
Name = "Payday 1 Support Plugin"
224-
Author = "modworkshop"
224+
Author = "ModWorkshop"
225225
Version = "1"
226226
GameName = "Payday: The Heist"
227227
GameShortName = "pdth"

games/game_payday2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
222222

223223
class Payday2Game(BasicGame):
224224
Name = "Payday 2 Support Plugin"
225-
Author = "modworkshop"
225+
Author = "ModWorkshop"
226226
Version = "1"
227227
GameName = "Payday 2"
228228
GameShortName = "payday-2"

games/game_payday3.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Payday3ModDataContent(mobase.ModDataContent):
3434
(Content.PAK, "PAK", ":/MO/gui/content/geometries"),
3535
(Content.UE4SS, "UE4SS", ":/MO/gui/content/script"),
3636
(Content.DLL, "DLL", ":/MO/gui/content/skse"),
37-
(Content.BK2, "Video", ":/MO/gui/content/skse"),
37+
(Content.BK2, "Video", ":/MO/gui/content/modgroup"),
3838
]
3939

4040
def getAllContents(self) -> list[mobase.ModDataContent.Content]:
@@ -208,19 +208,18 @@ def fix(self, filetree: mobase.IFileTree) -> mobase.IFileTree | None:
208208

209209
class Payday3Game(BasicGame):
210210
Name = "Payday 3 Support Plugin"
211-
Author = "modworkshop, MaskPlague and Silarn"
211+
Author = "ModWorkshop, MaskPlague and Silarn"
212212
Version = "1"
213213
GameName = "Payday 3"
214+
GameLauncher = "PAYDAY3.exe"
214215
GameShortName = "payday-3"
215216
GameSteamId = 1272080
216217
GameBinary = "PAYDAY3/Binaries/Win64/PAYDAY3-Win64-Shipping.exe"
217218
GameDataPath = "PAYDAY3"
218219
GameDataUE4SSMods = "Binaries/Win64/Mods"
219220
GameDataPakMods = "Content/Paks/~Mods"
220221
GameDataMovieMods = "Content/Movies"
221-
GameDocumentsDirectory = (
222-
"%USERPROFILE%/AppData/Local/PAYDAY3/Saved/Config/WindowsClient"
223-
)
222+
GameDocumentsDirectory = "%LOCALAPPDATA%/PAYDAY3/Saved/Config/WindowsClient"
224223
GameSaveExtension = "sav"
225224
_main_window: QMainWindow
226225
_ue4ss_tab: UE4SSTabWidget

0 commit comments

Comments
 (0)