mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-26 05:11:02 -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
|
# "title/__init__.py" from libWiiPy by NinjaCheetah & Contributors
|
||||||
# https://github.com/NinjaCheetah/libWiiPy
|
# https://github.com/NinjaCheetah/libWiiPy
|
||||||
|
|
||||||
|
from .banner import *
|
||||||
from .content import *
|
from .content import *
|
||||||
from .crypto import *
|
from .crypto import *
|
||||||
from .iospatcher import *
|
from .iospatcher import *
|
||||||
|
@ -58,9 +58,9 @@ class Title:
|
|||||||
self.content.load(self.wad.get_content_data(), self.tmd.content_records)
|
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
|
# 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.
|
# 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()):
|
#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 "
|
# raise ValueError("The Title IDs of the TMD and Ticket in this WAD do not match. This WAD appears to be "
|
||||||
"invalid.")
|
# "invalid.")
|
||||||
|
|
||||||
def dump_wad(self) -> bytes:
|
def dump_wad(self) -> bytes:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user