diff --git a/mapper.py b/mapper.py index 6359e98..0cdace8 100644 --- a/mapper.py +++ b/mapper.py @@ -171,6 +171,7 @@ class Mapper: self.keys_data = keys_data # read banks sector + bank_keys = {} if infos["useBanksSector"] == "TRUE": reader.SetBufferPos(sectors["BANKS"]["offset"]) @@ -180,7 +181,6 @@ class Mapper: global_path = raw(global_path_size) n_bank_keys = val(2) - bank_keys = {} for i in range(n_bank_keys): key_length = val(1) @@ -190,7 +190,7 @@ class Mapper: bank_keys[key] = f"{global_path}\\{value}" - self.bank_keys = bank_keys + self.bank_keys = bank_keys # done print(f"> Finished loading mapping") diff --git a/maps/hkrpg.map b/maps/hkrpg.map index caa6bc7..2ea8135 100644 Binary files a/maps/hkrpg.map and b/maps/hkrpg.map differ diff --git a/maps/index.json b/maps/index.json index 19db8a5..b6719ec 100644 --- a/maps/index.json +++ b/maps/index.json @@ -7,8 +7,8 @@ }, { "name": "hkrpg.map", - "game": "Star Rail", - "version": "2.6" + "game": "Honkai: Star Rail", + "version": "3.0" }, { "name": "nap.map",