forked from NinjaCheetah/NUSGet
Add region to WAD file names if title is not region free
This commit is contained in:
parent
0ca2cc272a
commit
bc1858a5a5
@ -202,7 +202,10 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
|||||||
# Load the WAD name, assuming it exists. This shouldn't ever be able to fail as the database has a WAD name
|
# Load the WAD name, assuming it exists. This shouldn't ever be able to fail as the database has a WAD name
|
||||||
# for every single title, regardless of whether it can be packed or not.
|
# for every single title, regardless of whether it can be packed or not.
|
||||||
try:
|
try:
|
||||||
archive_name = f"{selected_title.archive_name}-v{selected_title.version}"
|
archive_name = f"{selected_title.archive_name}"
|
||||||
|
if selected_title.category != "System" and selected_title.category != "IOS":
|
||||||
|
archive_name += f"-{str(bytes.fromhex(tid).decode())[-4:]}"
|
||||||
|
archive_name += f"-v{selected_title.version}"
|
||||||
if selected_title.region != "World":
|
if selected_title.region != "World":
|
||||||
archive_name += f"-{selected_title.region.split('/')[0]}"
|
archive_name += f"-{selected_title.region.split('/')[0]}"
|
||||||
if self.ui.console_select_dropdown.currentText() == "DSi":
|
if self.ui.console_select_dropdown.currentText() == "DSi":
|
||||||
|
@ -338,7 +338,8 @@
|
|||||||
"Versions": {
|
"Versions": {
|
||||||
"USA/NTSC": [1, 256, 512],
|
"USA/NTSC": [1, 256, 512],
|
||||||
"Europe/PAL": [1, 256, 512],
|
"Europe/PAL": [1, 256, 512],
|
||||||
"Japan": [1, 256, 512]
|
"Japan": [1, 256, 512],
|
||||||
|
"Korea": [512]
|
||||||
},
|
},
|
||||||
"Ticket": true,
|
"Ticket": true,
|
||||||
"Archive Name": "Wii-Speak-Channel"
|
"Archive Name": "Wii-Speak-Channel"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user