没root的可以:
https://l1-prod-patch-lgmx.bilibiligame.net/resource/AssetVersions/Android/CN/s930/packet_config
名称,md5,大小,拆分数量
d = 0
for i in range(gamejson['decjson'][gamefile]):
b = data[d:d + 64]
nl = int.from_bytes(b[:4], byteorder='big')
n = b[4:4 + nl].decode('utf-8')
fl = int.from_bytes(b[4 + nl:4 + nl + 4], byteorder='big')
f = b[4 + nl + 4:4 + nl + 4 + fl].decode('utf-8')
s = int.from_bytes(b[4 + nl + 4 + fl:4 + nl + 4 + fl + 4], byteorder='big')
d += 4 + nl + 4 + fl + 4
n = os.path.join(assets_path, f, n)
dec = data[d:d + s]
拆分部分
if dec.startswith(b'UnityFS'):
deca = dec[:0x32]
decb = dec[0x32:0x32 + 78]
decc = dec[0x32 + 78:]
key = decb[1]
decd = bytes([decb[j] ^ key for j in range(78)])
dec = deca + decd + decc
解密部分