mirror of
https://github.com/Escartem/AnimeWwise.git
synced 2026-06-10 03:28:21 +08:00
star rail: update to 3.0 and fix paths
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
BIN
maps/hkrpg.map
BIN
maps/hkrpg.map
Binary file not shown.
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user