fix: made ongeki compatible with refresh (given manual mysql commands)

This commit is contained in:
RogueNoire committed 2026-07-25 23:15:17 +02:00
1 parent aaaab7168a
commit 56521b625a
5 files changed
+514

No files matched your search

+13
View File
@@ -15,6 +15,8 @@ class OngekiConstants:
VER_ONGEKI_RED_PLUS = 5
VER_ONGEKI_BRIGHT = 6
VER_ONGEKI_BRIGHT_MEMORY = 7
VER_ONGEKI_REFRESH = 8 # NEW: O.N.G.E.K.I. ReFresh
VER_ONGEKI_REFRESH_PLUS = 9 # NEW: Future-proofing
EVT_TYPES: Enum = Enum(
"EVT_TYPES",
@@ -40,6 +42,10 @@ class OngekiConstants:
"SilverJewelEvent",
"Max",
"None",
"MapEvent", # NEW: Map/Stage unlock events
"AreaEvent", # NEW: Area-based events
"StoryEvent", # NEW: Story progression events
"CollaboEvent", # NEW: Collaboration events
],
)
@@ -67,6 +73,11 @@ class OngekiConstants:
"Attachment",
"UnlockItem",
"Max",
"Sizuku", # NEW: Droplet/Water currency (ReFresh)
"SkillStone", # NEW: Skill enhancement item
"CharacterSkin", # NEW: Alternate character appearances
"StoryKey", # NEW: Story unlock items
"EventPoint", # NEW: Event-specific currency
"None",
],
)
@@ -102,6 +113,8 @@ class OngekiConstants:
"ONGEKI R.E.D. +",
"ONGEKI bright",
"ONGEKI bright MEMORY",
"ONGEKI ReFresh", # NEW
"ONGEKI ReFresh +", # NEW
)
@classmethod
+2
View File
@@ -53,6 +53,8 @@ class OngekiReader(BaseReader):
"1025": OngekiConstants.VER_ONGEKI_RED_PLUS,
"1030": OngekiConstants.VER_ONGEKI_BRIGHT,
"1035": OngekiConstants.VER_ONGEKI_BRIGHT_MEMORY,
"1045": OngekiConstants.VER_ONGEKI_REFRESH, # NEW: ReFresh
"1050": OngekiConstants.VER_ONGEKI_REFRESH_PLUS, # NEW: ReFresh +
}
for root, dirs, files in os.walk(base_dir):