1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-05 07:50:23 +08:00

update hsr to 4.2

This commit is contained in:
Escartem
2026-04-24 22:44:24 -04:00
parent b99b5dcf79
commit 448122b8c3
3 changed files with 7 additions and 3 deletions

View File

@@ -48,7 +48,11 @@ class Mapper:
print(f"> Loading mapping for {infos['game']} v{infos['version']}, this may take a few seconds...") print(f"> Loading mapping for {infos['game']} v{infos['version']}, this may take a few seconds...")
# sectors # sectors
int24 = lambda: int.from_bytes(reader.ReadBytes(3), "big") def int24():
val = int.from_bytes(reader.ReadBytes(3), "big")
if val == 0:
int.from_bytes(reader.ReadBytes(4), "big")
return val
sectors = { sectors = {
# offset | size # offset | size

Binary file not shown.

View File

@@ -1,6 +1,6 @@
{ {
"version": 223, "version": 223,
"mapsVersion": 131, "mapsVersion": 132,
"maps": [ "maps": [
{ {
"name": "hk4e.map", "name": "hk4e.map",
@@ -10,7 +10,7 @@
{ {
"name": "hkrpg.map", "name": "hkrpg.map",
"game": "Honkai: Star Rail", "game": "Honkai: Star Rail",
"version": "4.1" "version": "4.2"
}, },
{ {
"name": "nap.map", "name": "nap.map",