mirror of
https://github.com/NinjaCheetah/WiiPy.git
synced 2025-04-26 13:21: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:
|
||||
title = libWiiPy.title.Title()
|
||||
title.load_wad(open(wad, "rb").read())
|
||||
_do_wad_install(emunand_struct, title, skip_hash)
|
||||
wad_count += 1
|
||||
try:
|
||||
_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!")
|
||||
else:
|
||||
title = libWiiPy.title.Title()
|
||||
|
@ -71,7 +71,7 @@ def _print_ticket_info(ticket: libWiiPy.title.Ticket):
|
||||
key = "Common"
|
||||
case 1:
|
||||
key = "Korean"
|
||||
case 3:
|
||||
case 2:
|
||||
key = "vWii"
|
||||
case _:
|
||||
key = "Unknown (Likely Common)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user