Skip to content

Commit f527f65

Browse files
committed
rayman
1 parent 544d91a commit f527f65

File tree

2 files changed

+28
-15
lines changed

2 files changed

+28
-15
lines changed

openGOALModLauncher.py

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,8 @@ def getRefreshedTableData(sort_col_idx):
330330

331331
if matches_filter or secret_check:
332332
if mod["game"] == FILTER_GAME:
333-
# filter mods vs texture packs
334-
if (FILTER_CAT == "tex") == (mod["tags"] == "texture-mod"):
333+
# filter mods vs asset packs
334+
if (FILTER_CAT == "asset") == (mod["tags"] == "texture-mod" or mod["tags"] == "asset-pack"):
335335
if (
336336
INCLUDE_INSTALLED and mod["access_date"] != "Not Installed"
337337
) or (
@@ -408,7 +408,7 @@ def getRefreshedTableData(sort_col_idx):
408408

409409
# enable/disable jak3 section based on list of mods
410410
window["jak3/mods"].update(disabled=not seenJak3)
411-
window["jak3/tex"].update(disabled=not seenJak3)
411+
window["jak3/asset"].update(disabled=not seenJak3)
412412

413413
# print(mod_table_data)
414414
return mod_table_data
@@ -484,11 +484,11 @@ def getRefreshedTableData(sort_col_idx):
484484
],
485485
[
486486
sg.Radio(
487-
"Texture Packs",
487+
"Asset Packs",
488488
"filter",
489489
enable_events=True,
490490
font=("Helvetica", 12),
491-
key="jak1/tex",
491+
key="jak1/asset",
492492
)
493493
],
494494
[sg.Text("")],
@@ -504,11 +504,11 @@ def getRefreshedTableData(sort_col_idx):
504504
],
505505
[
506506
sg.Radio(
507-
"Texture Packs",
507+
"Asset Packs",
508508
"filter",
509509
font=("Helvetica", 12),
510510
enable_events=True,
511-
key="jak2/tex",
511+
key="jak2/asset",
512512
)
513513
],
514514
[sg.Text("")],
@@ -524,11 +524,11 @@ def getRefreshedTableData(sort_col_idx):
524524
],
525525
[
526526
sg.Radio(
527-
"Texture Packs",
527+
"Asset Packs",
528528
"filter",
529529
font=("Helvetica", 12),
530530
enable_events=True,
531-
key="jak3/tex",
531+
key="jak3/asset",
532532
)
533533
],
534534
[sg.VPush()],
@@ -1014,29 +1014,29 @@ def loading_screen_with_thread(thread):
10141014
FILTER_CAT = "mods"
10151015
LATEST_TABLE_DATA = getRefreshedTableData(None)
10161016
window["-MODTABLE-"].update(values=LATEST_TABLE_DATA)
1017-
elif event == "jak1/tex":
1017+
elif event == "jak1/asset":
10181018
FILTER_GAME = "jak1"
1019-
FILTER_CAT = "tex"
1019+
FILTER_CAT = "asset"
10201020
LATEST_TABLE_DATA = getRefreshedTableData(None)
10211021
window["-MODTABLE-"].update(values=LATEST_TABLE_DATA)
10221022
elif event == "jak2/mods":
10231023
FILTER_GAME = "jak2"
10241024
FILTER_CAT = "mods"
10251025
LATEST_TABLE_DATA = getRefreshedTableData(None)
10261026
window["-MODTABLE-"].update(values=LATEST_TABLE_DATA)
1027-
elif event == "jak2/tex":
1027+
elif event == "jak2/asset":
10281028
FILTER_GAME = "jak2"
1029-
FILTER_CAT = "tex"
1029+
FILTER_CAT = "asset"
10301030
LATEST_TABLE_DATA = getRefreshedTableData(None)
10311031
window["-MODTABLE-"].update(values=LATEST_TABLE_DATA)
10321032
elif event == "jak3/mods":
10331033
FILTER_GAME = "jak3"
10341034
FILTER_CAT = "mods"
10351035
LATEST_TABLE_DATA = getRefreshedTableData(None)
10361036
window["-MODTABLE-"].update(values=LATEST_TABLE_DATA)
1037-
elif event == "jak3/tex":
1037+
elif event == "jak3/asset":
10381038
FILTER_GAME = "jak3"
1039-
FILTER_CAT = "tex"
1039+
FILTER_CAT = "asset"
10401040
LATEST_TABLE_DATA = getRefreshedTableData(None)
10411041
window["-MODTABLE-"].update(values=LATEST_TABLE_DATA)
10421042
elif event == "-VIEWISOFOLDER-":

resources/jak1_mods.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,5 +909,18 @@
909909
"image_override_url": "https://raw.githubusercontent.com/dallmeyer/modimages/main/spec-ops.JPG",
910910
"website_url": "https://github.com/ruhphorte/spec-ops-jak",
911911
"game": "jak2"
912+
},
913+
"rayman": {
914+
"name": "Rayman - The Precursor Legacy",
915+
"desc": "Almost Rayman 4",
916+
"contributors": ["Clankape"],
917+
"tags": [
918+
"asset-pack"
919+
],
920+
"release_date": "2024-08-03",
921+
"URL": "https://github.com/dallmeyer/OG-rayman/releases",
922+
"image_override_url": "https://i.ytimg.com/vi/iVhPEnZxric/hqdefault.jpg",
923+
"website_url": "https://github.com/dallmeyer/OG-rayman",
924+
"game": "jak1"
912925
}
913926
}

0 commit comments

Comments
 (0)