mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2026-02-27 14:05:29 -05:00
Disable TMD/Ticket TID match check
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# "title/__init__.py" from libWiiPy by NinjaCheetah & Contributors
|
||||
# https://github.com/NinjaCheetah/libWiiPy
|
||||
|
||||
from .banner import *
|
||||
from .content import *
|
||||
from .crypto import *
|
||||
from .iospatcher import *
|
||||
|
||||
@@ -58,9 +58,9 @@ class Title:
|
||||
self.content.load(self.wad.get_content_data(), self.tmd.content_records)
|
||||
# Ensure that the Title IDs of the TMD and Ticket match before doing anything else. If they don't, throw an
|
||||
# error because clearly something strange has gone on with the WAD and editing it probably won't work.
|
||||
if self.tmd.title_id != str(self.ticket.title_id.decode()):
|
||||
raise ValueError("The Title IDs of the TMD and Ticket in this WAD do not match. This WAD appears to be "
|
||||
"invalid.")
|
||||
#if self.tmd.title_id != str(self.ticket.title_id.decode()):
|
||||
# raise ValueError("The Title IDs of the TMD and Ticket in this WAD do not match. This WAD appears to be "
|
||||
# "invalid.")
|
||||
|
||||
def dump_wad(self) -> bytes:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user