mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-25 21:01:01 -04:00
Disable TMD/Ticket TID match check
This commit is contained in:
parent
855200bb98
commit
57b2ed63d4
@ -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:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user