mirror of
https://github.com/NinjaCheetah/WiiPy.git
synced 2025-04-27 05:41:01 -04:00
Output when a WAD fails to install during bulk EmuNAND installs
This commit is contained in:
parent
bc1b6623bb
commit
3062a739d6
@ -133,8 +133,11 @@ def handle_emunand_title(args):
|
|||||||
for wad in wad_files:
|
for wad in wad_files:
|
||||||
title = libWiiPy.title.Title()
|
title = libWiiPy.title.Title()
|
||||||
title.load_wad(open(wad, "rb").read())
|
title.load_wad(open(wad, "rb").read())
|
||||||
_do_wad_install(emunand_struct, title, skip_hash)
|
try:
|
||||||
wad_count += 1
|
_do_wad_install(emunand_struct, title, skip_hash)
|
||||||
|
wad_count += 1
|
||||||
|
except ValueError:
|
||||||
|
print(f"WAD {wad} could not be installed!")
|
||||||
print(f"Successfully installed {wad_count} WAD(s) to EmuNAND!")
|
print(f"Successfully installed {wad_count} WAD(s) to EmuNAND!")
|
||||||
else:
|
else:
|
||||||
title = libWiiPy.title.Title()
|
title = libWiiPy.title.Title()
|
||||||
|
@ -71,7 +71,7 @@ def _print_ticket_info(ticket: libWiiPy.title.Ticket):
|
|||||||
key = "Common"
|
key = "Common"
|
||||||
case 1:
|
case 1:
|
||||||
key = "Korean"
|
key = "Korean"
|
||||||
case 3:
|
case 2:
|
||||||
key = "vWii"
|
key = "vWii"
|
||||||
case _:
|
case _:
|
||||||
key = "Unknown (Likely Common)"
|
key = "Unknown (Likely Common)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user