diff --git a/pyproject.toml b/pyproject.toml index daa605b..cbc78eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "libWiiPy_NinjaCheetah" +name = "libWiiPy" version = "0.0.1" authors = [ { name="NinjaCheetah", email="ninjacheetah@ncxprogramming.com" }, diff --git a/src/libWiiPy_NinjaCheetah/__init__.py b/src/libWiiPy/__init__.py similarity index 100% rename from src/libWiiPy_NinjaCheetah/__init__.py rename to src/libWiiPy/__init__.py diff --git a/src/libWiiPy_NinjaCheetah/commonkey.py b/src/libWiiPy/commonkey.py similarity index 100% rename from src/libWiiPy_NinjaCheetah/commonkey.py rename to src/libWiiPy/commonkey.py diff --git a/src/libWiiPy_NinjaCheetah/shared.py b/src/libWiiPy/shared.py similarity index 100% rename from src/libWiiPy_NinjaCheetah/shared.py rename to src/libWiiPy/shared.py diff --git a/src/libWiiPy_NinjaCheetah/tmd.py b/src/libWiiPy/tmd.py similarity index 91% rename from src/libWiiPy_NinjaCheetah/tmd.py rename to src/libWiiPy/tmd.py index 22c9ccc..a34a2c1 100644 --- a/src/libWiiPy_NinjaCheetah/tmd.py +++ b/src/libWiiPy/tmd.py @@ -95,12 +95,15 @@ class TMD: self.boot_index = tmdfile.read(2) def get_title_id(self): + """Returns the TID of the TMD's associated title.""" return self.title_id def get_title_version(self): + """Returns the version of the TMD's associated title.""" return self.title_version def get_title_region(self): + """Returns the region of the TMD's associated title.""" match self.region: case 0: return "JAP" @@ -114,18 +117,22 @@ class TMD: return "KOR" def get_is_vwii_title(self): + """Returns whether the TMD is designed for the vWii or not.""" if self.vwii == 1: return True else: return False def get_required_ios_tid(self): + """Returns the TID of the required IOS for the title.""" return self.ios_tid def get_required_ios(self): + """Returns the required IOS version for the title.""" return self.ios_version def get_title_type(self): + """Returns the type of the TMD's associated title.""" title_id_high = self.title_id[:8] match title_id_high: case '00000001':