This commit is contained in:
2023-05-14 14:02:34 +03:00
parent 33f6b2bc7a
commit 8bdca45ba4

View File

@ -421,6 +421,7 @@ def modextract(id_mods_ark, id_game_workshop):
modpath = ("../../../" + "ShooterGame" + "/Content/Mods/" + id_mods_ark + "\x00").encode('utf-8')
modpathlen = len(modpath)
print(id_mods_ark, 0, modnamelen, modname, modpathlen, modpath)
print(type(id_mods_ark))
modfile_bytes += struct.pack('<L', id_mods_ark)
for _ in range(nummaps):
mapfilelen = struct.unpack_from('<L', data, offset=pos)