1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-09 18:40:35 +08:00

star rail: update to 3.0 and fix paths

This commit is contained in:
Escartem
2025-01-13 15:23:41 +01:00
parent 85bd0c6596
commit ed7d0733e8
3 changed files with 4 additions and 4 deletions

View File

@@ -171,6 +171,7 @@ class Mapper:
self.keys_data = keys_data self.keys_data = keys_data
# read banks sector # read banks sector
bank_keys = {}
if infos["useBanksSector"] == "TRUE": if infos["useBanksSector"] == "TRUE":
reader.SetBufferPos(sectors["BANKS"]["offset"]) reader.SetBufferPos(sectors["BANKS"]["offset"])
@@ -180,7 +181,6 @@ class Mapper:
global_path = raw(global_path_size) global_path = raw(global_path_size)
n_bank_keys = val(2) n_bank_keys = val(2)
bank_keys = {}
for i in range(n_bank_keys): for i in range(n_bank_keys):
key_length = val(1) key_length = val(1)
@@ -190,7 +190,7 @@ class Mapper:
bank_keys[key] = f"{global_path}\\{value}" bank_keys[key] = f"{global_path}\\{value}"
self.bank_keys = bank_keys self.bank_keys = bank_keys
# done # done
print(f"> Finished loading mapping") print(f"> Finished loading mapping")

Binary file not shown.

View File

@@ -7,8 +7,8 @@
}, },
{ {
"name": "hkrpg.map", "name": "hkrpg.map",
"game": "Star Rail", "game": "Honkai: Star Rail",
"version": "2.6" "version": "3.0"
}, },
{ {
"name": "nap.map", "name": "nap.map",