@@ -330,8 +330,8 @@ def getRefreshedTableData(sort_col_idx):
330
330
331
331
if matches_filter or secret_check :
332
332
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 " ):
335
335
if (
336
336
INCLUDE_INSTALLED and mod ["access_date" ] != "Not Installed"
337
337
) or (
@@ -408,7 +408,7 @@ def getRefreshedTableData(sort_col_idx):
408
408
409
409
# enable/disable jak3 section based on list of mods
410
410
window ["jak3/mods" ].update (disabled = not seenJak3 )
411
- window ["jak3/tex " ].update (disabled = not seenJak3 )
411
+ window ["jak3/asset " ].update (disabled = not seenJak3 )
412
412
413
413
# print(mod_table_data)
414
414
return mod_table_data
@@ -484,11 +484,11 @@ def getRefreshedTableData(sort_col_idx):
484
484
],
485
485
[
486
486
sg .Radio (
487
- "Texture Packs" ,
487
+ "Asset Packs" ,
488
488
"filter" ,
489
489
enable_events = True ,
490
490
font = ("Helvetica" , 12 ),
491
- key = "jak1/tex " ,
491
+ key = "jak1/asset " ,
492
492
)
493
493
],
494
494
[sg .Text ("" )],
@@ -504,11 +504,11 @@ def getRefreshedTableData(sort_col_idx):
504
504
],
505
505
[
506
506
sg .Radio (
507
- "Texture Packs" ,
507
+ "Asset Packs" ,
508
508
"filter" ,
509
509
font = ("Helvetica" , 12 ),
510
510
enable_events = True ,
511
- key = "jak2/tex " ,
511
+ key = "jak2/asset " ,
512
512
)
513
513
],
514
514
[sg .Text ("" )],
@@ -524,11 +524,11 @@ def getRefreshedTableData(sort_col_idx):
524
524
],
525
525
[
526
526
sg .Radio (
527
- "Texture Packs" ,
527
+ "Asset Packs" ,
528
528
"filter" ,
529
529
font = ("Helvetica" , 12 ),
530
530
enable_events = True ,
531
- key = "jak3/tex " ,
531
+ key = "jak3/asset " ,
532
532
)
533
533
],
534
534
[sg .VPush ()],
@@ -1014,29 +1014,29 @@ def loading_screen_with_thread(thread):
1014
1014
FILTER_CAT = "mods"
1015
1015
LATEST_TABLE_DATA = getRefreshedTableData (None )
1016
1016
window ["-MODTABLE-" ].update (values = LATEST_TABLE_DATA )
1017
- elif event == "jak1/tex " :
1017
+ elif event == "jak1/asset " :
1018
1018
FILTER_GAME = "jak1"
1019
- FILTER_CAT = "tex "
1019
+ FILTER_CAT = "asset "
1020
1020
LATEST_TABLE_DATA = getRefreshedTableData (None )
1021
1021
window ["-MODTABLE-" ].update (values = LATEST_TABLE_DATA )
1022
1022
elif event == "jak2/mods" :
1023
1023
FILTER_GAME = "jak2"
1024
1024
FILTER_CAT = "mods"
1025
1025
LATEST_TABLE_DATA = getRefreshedTableData (None )
1026
1026
window ["-MODTABLE-" ].update (values = LATEST_TABLE_DATA )
1027
- elif event == "jak2/tex " :
1027
+ elif event == "jak2/asset " :
1028
1028
FILTER_GAME = "jak2"
1029
- FILTER_CAT = "tex "
1029
+ FILTER_CAT = "asset "
1030
1030
LATEST_TABLE_DATA = getRefreshedTableData (None )
1031
1031
window ["-MODTABLE-" ].update (values = LATEST_TABLE_DATA )
1032
1032
elif event == "jak3/mods" :
1033
1033
FILTER_GAME = "jak3"
1034
1034
FILTER_CAT = "mods"
1035
1035
LATEST_TABLE_DATA = getRefreshedTableData (None )
1036
1036
window ["-MODTABLE-" ].update (values = LATEST_TABLE_DATA )
1037
- elif event == "jak3/tex " :
1037
+ elif event == "jak3/asset " :
1038
1038
FILTER_GAME = "jak3"
1039
- FILTER_CAT = "tex "
1039
+ FILTER_CAT = "asset "
1040
1040
LATEST_TABLE_DATA = getRefreshedTableData (None )
1041
1041
window ["-MODTABLE-" ].update (values = LATEST_TABLE_DATA )
1042
1042
elif event == "-VIEWISOFOLDER-" :
0 commit comments