1
This commit is contained in:
parent
7cc0f0eb1f
commit
01a84d1905
1
hlna.py
1
hlna.py
@ -420,6 +420,7 @@ def modextract(id_mods_ark, id_game_workshop):
|
||||
modnamelen = len(modname)
|
||||
modpath = ("../../../" + "ShooterGame" + "/Content/Mods/" + id_mods_ark + "\x00").encode('utf-8')
|
||||
modpathlen = len(modpath)
|
||||
print(id_mods_ark, 0, modnamelen, modname, modpathlen, modpath)
|
||||
modfile_bytes += struct.pack('<LLL{}sL{}s'.format(modnamelen, modpathlen), id_mods_ark, 0, modnamelen, modname, modpathlen, modpath)
|
||||
for _ in range(nummaps):
|
||||
mapfilelen = struct.unpack_from('<L', data, offset=pos)
|
||||
|
Loading…
Reference in New Issue
Block a user