mirror of
https://github.com/NinjaCheetah/WiiPy.git
synced 2025-04-26 13:21:01 -04:00
Don't remove vWii flag when building vWii cIOSes
This commit is contained in:
parent
bcdb4fed21
commit
a4c06cae36
@ -129,7 +129,6 @@ def build_cios(args):
|
||||
title_key_common = libWiiPy.title.encrypt_title_key(title_key_dec, 0, title.tmd.title_id)
|
||||
title.ticket.title_key_enc = title_key_common
|
||||
title.ticket.common_key_index = 0
|
||||
title.tmd.vwii = 0
|
||||
|
||||
# Ensure the WAD is fakesigned.
|
||||
title.fakesign()
|
||||
|
@ -370,7 +370,6 @@ def handle_wad_v2w(args):
|
||||
title_key_common = libWiiPy.title.encrypt_title_key(title_key_dec, 0, title.tmd.title_id)
|
||||
title.ticket.title_key_enc = title_key_common
|
||||
title.ticket.common_key_index = 0
|
||||
title.tmd.vwii = 0
|
||||
title.fakesign()
|
||||
output_path.write_bytes(title.dump_wad())
|
||||
print(f"Successfully re-encrypted vWii WAD to regular WAD \"{output_path.name}\"!")
|
||||
|
Loading…
x
Reference in New Issue
Block a user