1
0
mirror of https://github.com/Escartem/AnimeWwise.git synced 2026-06-04 23:40:25 +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...")
# 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 = {
# offset | size

Binary file not shown.

View File

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