mirror of
https://github.com/Threnklyn/nton.git
synced 2026-06-05 20:59:05 +02:00
Warn if a Game Title ID is manually specified
It already re-rolls the title ID in this case, if no title ID was manually provided.
This commit is contained in:
@@ -96,6 +96,8 @@ def build(
|
|||||||
if id_ in system_title_ids.ALL_SYSTEM:
|
if id_ in system_title_ids.ALL_SYSTEM:
|
||||||
log.critical(f"The Title ID \"{id_}\" is a reserved System Title! Using it is unsafe!")
|
log.critical(f"The Title ID \"{id_}\" is a reserved System Title! Using it is unsafe!")
|
||||||
return 2
|
return 2
|
||||||
|
if id_ in system_title_ids.game_title_ids:
|
||||||
|
log.warning(f"The Title ID \"{id_}\" is already used by \"{system_title_ids.game_title_ids[id_]}\".")
|
||||||
else:
|
else:
|
||||||
id_ = "0100000000000000"
|
id_ = "0100000000000000"
|
||||||
while id_ in system_title_ids.ALL:
|
while id_ in system_title_ids.ALL:
|
||||||
|
|||||||
Reference in New Issue
Block a user