Merge remote-tracking branch 'upstream/main'

# Conflicts:
#	README.md
#	modules/download_wii.py
This commit is contained in:
2025-02-18 21:27:16 -05:00
20 changed files with 644 additions and 462 deletions

View File

@@ -1,5 +1,5 @@
# "modules/download_wii.py", licensed under the MIT license
# Copyright 2024 NinjaCheetah
# Copyright 2024-2025 NinjaCheetah
import pathlib
from typing import List, Tuple
@@ -146,7 +146,7 @@ def run_nus_download_wii(out_folder: pathlib.Path, tid: str, version: str, pack_
title.ticket.title_key_enc = title_key_common
# Get the WAD certificate chain, courtesy of libWiiPy.
progress_callback.emit(" - Building certificate...")
title.wad.set_cert_data(libWiiPy.title.download_cert(wiiu_endpoint=wiiu_nus_enabled))
title.load_cert_chain(libWiiPy.title.download_cert_chain(wiiu_endpoint=wiiu_nus_enabled))
# Use a typed WAD name if there is one, and auto generate one based on the TID and version if there isn't.
progress_callback.emit(" - Packing WAD...")
if wad_file_name != "" and wad_file_name is not None: