1
This commit is contained in:
parent
a0d5b7f7df
commit
ea7b80e0d5
3
hlna.py
3
hlna.py
@ -520,9 +520,6 @@ def modextract(id_mod, id_game_workshop):
|
|||||||
with open(f"{dir_mods_ark}.mod", "wb") as f_out:
|
with open(f"{dir_mods_ark}.mod", "wb") as f_out:
|
||||||
f_out.write(b'\x01\x00\x00\x00\x08\x00\x00\x00ModType\x00\x02\x00\x00\x001\x00')
|
f_out.write(b'\x01\x00\x00\x00\x08\x00\x00\x00ModType\x00\x02\x00\x00\x001\x00')
|
||||||
|
|
||||||
with open(f"{dir_extract}.mod", 'wb') as f:
|
|
||||||
f.write(modfile_bytes)
|
|
||||||
|
|
||||||
if dir_extract != dir_ark_mods:
|
if dir_extract != dir_ark_mods:
|
||||||
if not os.path.isdir(dir_ark_mods):
|
if not os.path.isdir(dir_ark_mods):
|
||||||
os.makedirs(dir_ark_mods)
|
os.makedirs(dir_ark_mods)
|
||||||
|
Loading…
Reference in New Issue
Block a user