From 7c5af6ebe079bcdc02dc90f5341526d936636628 Mon Sep 17 00:00:00 2001 From: NinjaCheetah <58050615+NinjaCheetah@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:20:09 -0500 Subject: [PATCH] Always user all uppercase when getting installed titles on EmuNAND --- src/libWiiPy/nand/emunand.py | 4 ++-- src/libWiiPy/title/title.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libWiiPy/nand/emunand.py b/src/libWiiPy/nand/emunand.py index 8bc1c25..ed880bc 100644 --- a/src/libWiiPy/nand/emunand.py +++ b/src/libWiiPy/nand/emunand.py @@ -199,8 +199,8 @@ class EmuNAND: valid_lows = [] for low in tid_lows: if low.joinpath("content", "title.tmd").exists(): - valid_lows.append(low.name) - installed_titles.append(self.InstalledTitles(high.name, valid_lows)) + valid_lows.append(low.name.upper()) + installed_titles.append(self.InstalledTitles(high.name.upper(), valid_lows)) return installed_titles def get_title_tmd(self, tid: str) -> TMD: diff --git a/src/libWiiPy/title/title.py b/src/libWiiPy/title/title.py index b84df50..0ed14c1 100644 --- a/src/libWiiPy/title/title.py +++ b/src/libWiiPy/title/title.py @@ -433,6 +433,10 @@ class Title: ------- bool Whether the title is properly signed or not. + + See Also + -------- + libWiiPy.title.cert """ # The entire chain needs to be verified, so start with the CA cert and work our way down. If anything fails # along the way, future steps don't matter so exit the descending if's and return False.