forked from NinjaCheetah/NUSGet
Compare commits
55 Commits
v1.1.0
...
a361a45314
| Author | SHA1 | Date | |
|---|---|---|---|
|
a361a45314
|
|||
|
9dcaa22e89
|
|||
|
724c7e554b
|
|||
|
20439f8785
|
|||
|
469cd96392
|
|||
|
4ec15d0eb3
|
|||
|
2142dbad7e
|
|||
|
398654609b
|
|||
|
31f47f2acd
|
|||
|
87da32d62e
|
|||
|
6660e129a8
|
|||
|
78f98b2c73
|
|||
|
5872ca4676
|
|||
|
62fa5ef7b1
|
|||
|
c1eb80fbb6
|
|||
|
147e72c8c9
|
|||
|
|
08c2bd27f5 | ||
|
dadcc02701
|
|||
|
c716291c2d
|
|||
|
|
7c35e2090d | ||
| 1ae712918e | |||
|
|
85763cae60 | ||
| a1b071b9c6 | |||
|
|
96e2f5fa0d | ||
| ffac804ada | |||
| 74acfff007 | |||
|
|
6ae2a71e5c | ||
| b655dd161b | |||
|
|
3700154578 | ||
|
a272fbc097
|
|||
|
3a8dfb95a1
|
|||
| 58d3f7bd3e | |||
|
|
f55cb05703 | ||
|
|
33b30b4aa5 | ||
|
|
dd79be0b48 | ||
|
|
9c15eac1fd | ||
|
|
0dbe28914d | ||
|
bc1858a5a5
|
|||
|
0ca2cc272a
|
|||
|
ac42de6efc
|
|||
|
e2decf8d6f
|
|||
|
bcf82a011f
|
|||
|
1b4324e9b8
|
|||
|
cbbac55743
|
|||
|
adc8be9cbb
|
|||
|
8e326aeb56
|
|||
|
807e632505
|
|||
| 911c01a066 | |||
|
|
f4c61ed020 | ||
|
|
6d1e53c777 | ||
|
|
9829ae0365 | ||
|
f21357c01d
|
|||
|
439aebbdb8
|
|||
|
bf09f3b18e
|
|||
|
7f788ae36c
|
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
26
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve NUSGet.
|
||||
title: ''
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
### Describe the bug
|
||||
|
||||
|
||||
### Steps to Reproduce
|
||||
|
||||
|
||||
### Screenshot(s) (if applicable)
|
||||
|
||||
|
||||
### System information:
|
||||
- **OS and version:**
|
||||
- **NUSGet version:**
|
||||
|
||||
If you're running the app from source, provide the below information:
|
||||
- **Are you compiling NUSGet, or running the Python script directly?**
|
||||
- **Python version:**
|
||||
- **Installed libWiiPy version:**
|
||||
10
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
10
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for NUSGet!
|
||||
title: ''
|
||||
labels: enhancement
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Your idea...**
|
||||
80
.github/workflows/python-build.yml
vendored
80
.github/workflows/python-build.yml
vendored
@@ -1,5 +1,4 @@
|
||||
# This workflow will install Python dependencies, run tests and lint with a single version of Python
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
|
||||
# This workflow will install Python dependencies and then build NUSGet for all platforms
|
||||
|
||||
name: Python application
|
||||
|
||||
@@ -21,57 +20,80 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install ccache for Nuitka
|
||||
run: sudo apt update && sudo apt install -y ccache libicu70
|
||||
- name: Set up Python 3.11
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Build Package
|
||||
run: |
|
||||
pyside6-project build
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
run: make all
|
||||
- name: Prepare Package for Upload
|
||||
run: |
|
||||
mv NUSGet.bin ~/NUSGet.bin
|
||||
mv NUSGet ~/NUSGet
|
||||
cd ~
|
||||
tar cvf NUSGet.tar NUSGet.bin
|
||||
tar cvf NUSGet.tar NUSGet
|
||||
- name: Upload Package
|
||||
uses: actions/upload-artifact@v4.3.0
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ~/NUSGet.tar
|
||||
name: NUSGet-linux-bin
|
||||
name: NUSGet-Linux-bin
|
||||
|
||||
build-macos:
|
||||
build-macos-x86:
|
||||
|
||||
runs-on: macos-12
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python 3.11
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Build Package
|
||||
run: |
|
||||
pyside6-project build
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --standalone --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png
|
||||
run: ARCH_FLAGS=--macos-target-arch=x86_64 make all
|
||||
- name: Prepare Package for Upload
|
||||
run: |
|
||||
mv NUSGet.app ~/NUSGet.app
|
||||
cd ~
|
||||
tar cvf NUSGet.tar NUSGet.app
|
||||
- name: Upload Package
|
||||
uses: actions/upload-artifact@v4.3.0
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ~/NUSGet.tar
|
||||
name: NUSGet-macos-bin
|
||||
name: NUSGet-macOS-x86_64-bin
|
||||
|
||||
build-macos-arm64:
|
||||
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Build Package
|
||||
run: ARCH_FLAGS=--macos-target-arch=arm64 make all
|
||||
- name: Prepare Package for Upload
|
||||
run: |
|
||||
mv NUSGet.app ~/NUSGet.app
|
||||
cd ~
|
||||
tar cvf NUSGet.tar NUSGet.app
|
||||
- name: Upload Package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ~/NUSGet.tar
|
||||
name: NUSGet-macOS-arm64-bin
|
||||
|
||||
build-windows:
|
||||
|
||||
@@ -81,21 +103,23 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Enable Developer Command Prompt
|
||||
uses: ilammy/msvc-dev-cmd@v1.13.0
|
||||
- name: Set up Python 3.11
|
||||
- name: Set up Python 3.12
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
python-version: "3.12"
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Build Package
|
||||
run: |
|
||||
pyside6-project build
|
||||
nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --windows-console-mode=disable
|
||||
run: .\Build.ps1
|
||||
- name: Upload Package
|
||||
uses: actions/upload-artifact@v4.3.0
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: D:\a\NUSGet\NUSGet\NUSGet.dist
|
||||
name: NUSGet-Windows-bin
|
||||
- name: Upload Onefile Package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: D:\a\NUSGet\NUSGet\NUSGet.exe
|
||||
name: NUSGet-windows-bin
|
||||
|
||||
name: NUSGet-Windows-onefile-bin
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -27,7 +27,7 @@ main.dist/
|
||||
NUSGet.build/
|
||||
NUSGet.dist/
|
||||
NUSGet.onefile-build/
|
||||
NUSGet.bin
|
||||
NUSGet
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
33
Build.ps1
Normal file
33
Build.ps1
Normal file
@@ -0,0 +1,33 @@
|
||||
# Build.ps1 for NUSGet
|
||||
|
||||
# Default option is to run build, like a Makefile
|
||||
param(
|
||||
[string]$Task = "build"
|
||||
)
|
||||
|
||||
$buildNUSGet = {
|
||||
Write-Host "Building NUSGet..."
|
||||
python build_translations.py
|
||||
python -m nuitka --show-progress --assume-yes-for-downloads NUSGet.py
|
||||
}
|
||||
|
||||
$cleanNUSGet = {
|
||||
Write-Host "Cleaning..."
|
||||
Remove-Item -Recurse -Force NUSGet.exe, ./NUSGet.build/, ./NUSGet.dist/, ./NUSGet.onefile-build/
|
||||
}
|
||||
|
||||
switch ($Task.ToLower()) {
|
||||
"build" {
|
||||
& $buildNUSGet
|
||||
break
|
||||
}
|
||||
"clean" {
|
||||
& $cleanNUSGet
|
||||
break
|
||||
}
|
||||
default {
|
||||
Write-Host "Unknown task: $Task" -ForegroundColor Red
|
||||
Write-Host "Available tasks: build, clean"
|
||||
break
|
||||
}
|
||||
}
|
||||
17
Makefile
17
Makefile
@@ -1,9 +1,18 @@
|
||||
linux:
|
||||
pyside6-project build
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
CC=python -m nuitka
|
||||
ARCH_FLAGS?=
|
||||
|
||||
all:
|
||||
python build_translations.py
|
||||
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
|
||||
|
||||
install:
|
||||
install -d /opt/NUSGet
|
||||
install NUSGet /opt/NUSGet/
|
||||
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
|
||||
install ./packaging/NUSGet.desktop /usr/share/applications
|
||||
|
||||
clean:
|
||||
rm NUSGet.bin
|
||||
rm NUSGet
|
||||
rm -rd NUSGet.build/
|
||||
rm -rd NUSGet.dist/
|
||||
rm -rd NUSGet.onefile-build/
|
||||
|
||||
752
NUSGet.py
752
NUSGet.py
@@ -1,24 +1,44 @@
|
||||
# NUSGet.py, licensed under the MIT license
|
||||
# "NUSGet.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
import sys
|
||||
|
||||
# Nuitka options. These determine compilation settings based on the current OS.
|
||||
# nuitka-project-if: {OS} == "Darwin":
|
||||
# nuitka-project: --standalone
|
||||
# nuitka-project: --macos-create-app-bundle
|
||||
# nuitka-project: --macos-app-icon={MAIN_DIRECTORY}/resources/icon.png
|
||||
# nuitka-project-if: {OS} == "Windows":
|
||||
# nuitka-project: --onefile
|
||||
# nuitka-project: --windows-icon-from-ico={MAIN_DIRECTORY}/resources/icon.png
|
||||
# nuitka-project: --windows-console-mode=disable
|
||||
# nuitka-project-if: {OS} in ("Linux", "FreeBSD", "OpenBSD"):
|
||||
# nuitka-project: --onefile
|
||||
|
||||
# These are standard options that are needed on all platforms.
|
||||
# nuitka-project: --plugin-enable=pyside6
|
||||
# nuitka-project: --include-data-dir={MAIN_DIRECTORY}/data=data
|
||||
# nuitka-project: --include-data-dir={MAIN_DIRECTORY}/resources=resources
|
||||
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
import pathlib
|
||||
import platform
|
||||
import webbrowser
|
||||
from importlib.metadata import version
|
||||
|
||||
import libWiiPy
|
||||
import libTWLPy
|
||||
|
||||
from PySide6.QtGui import QIcon
|
||||
|
||||
from PySide6.QtWidgets import (QApplication, QMainWindow, QMessageBox, QTreeWidgetItem, QHeaderView, QStyle,
|
||||
QStyleFactory)
|
||||
from PySide6.QtWidgets import QApplication, QMainWindow, QMessageBox, QStyleFactory, QFileDialog
|
||||
from PySide6.QtCore import QRunnable, Slot, QThreadPool, Signal, QObject, QLibraryInfo, QTranslator, QLocale
|
||||
|
||||
from qt.py.ui_MainMenu import Ui_MainWindow
|
||||
|
||||
nusget_version = "1.1"
|
||||
from modules.core import *
|
||||
from modules.tree import NUSGetTreeModel, TIDFilterProxyModel
|
||||
from modules.download_batch import run_nus_download_batch
|
||||
from modules.download_wii import run_nus_download_wii
|
||||
from modules.download_dsi import run_nus_download_dsi
|
||||
|
||||
nusget_version = "1.3.0"
|
||||
|
||||
regions = {"World": ["41"], "USA/NTSC": ["45"], "Europe/PAL": ["50"], "Japan": ["4A"], "Korea": ["4B"], "China": ["43"],
|
||||
"Australia/NZ": ["55"]}
|
||||
@@ -26,15 +46,16 @@ regions = {"World": ["41"], "USA/NTSC": ["45"], "Europe/PAL": ["50"], "Japan": [
|
||||
|
||||
# Signals needed for the worker used for threading the downloads.
|
||||
class WorkerSignals(QObject):
|
||||
result = Signal(int)
|
||||
result = Signal(object)
|
||||
progress = Signal(str)
|
||||
|
||||
|
||||
# Worker class used to thread the downloads.
|
||||
class Worker(QRunnable):
|
||||
def __init__(self, fn, **kwargs):
|
||||
def __init__(self, fn, *args, **kwargs):
|
||||
super(Worker, self).__init__()
|
||||
self.fn = fn
|
||||
self.args = args
|
||||
self.kwargs = kwargs
|
||||
self.signals = WorkerSignals()
|
||||
|
||||
@@ -46,7 +67,7 @@ class Worker(QRunnable):
|
||||
# unlikely event that an unexpected error happens, it can only possibly be a ValueError, so handle that and
|
||||
# return code 1.
|
||||
try:
|
||||
result = self.fn(**self.kwargs)
|
||||
result = self.fn(*self.args, **self.kwargs)
|
||||
except ValueError:
|
||||
self.signals.result.emit(1)
|
||||
else:
|
||||
@@ -58,155 +79,164 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
super(MainWindow, self).__init__()
|
||||
self.ui = Ui_MainWindow()
|
||||
self.ui.setupUi(self)
|
||||
self.log_text = ""
|
||||
self.threadpool = QThreadPool()
|
||||
self.ui.download_btn.clicked.connect(self.download_btn_pressed)
|
||||
self.ui.script_btn.clicked.connect(self.script_btn_pressed)
|
||||
self.ui.pack_archive_chkbox.clicked.connect(self.pack_wad_chkbox_toggled)
|
||||
# noinspection PyUnresolvedReferences
|
||||
self.ui.wii_title_tree.header().setSectionResizeMode(QHeaderView.ResizeToContents)
|
||||
# noinspection PyUnresolvedReferences
|
||||
self.ui.vwii_title_tree.header().setSectionResizeMode(QHeaderView.ResizeToContents)
|
||||
# noinspection PyUnresolvedReferences
|
||||
self.ui.dsi_title_tree.header().setSectionResizeMode(QHeaderView.ResizeToContents)
|
||||
self.ui.tid_entry.textChanged.connect(self.tid_updated)
|
||||
# Basic intro text set to automatically show when the app loads. This may be changed in the future.
|
||||
libwiipy_version = "v" + version("libWiiPy")
|
||||
libtwlpy_version = "v" + version("libTWLPy")
|
||||
log_message = self.tr(f"NUSGet v{nusget_version}\nDeveloped by NinjaCheetah\nPowered by libWiiPy "
|
||||
f"{libwiipy_version}\nDSi support provided by libTWLPy {libtwlpy_version}\n\n"
|
||||
f"Select a title from the list on the left, or enter a Title ID to begin.\n\n"
|
||||
f"Titles marked with a checkmark are free and have a ticket available, and can"
|
||||
f" be decrypted and/or packed into a WAD or TAD. Titles with an X do not have "
|
||||
f"a ticket, and only their encrypted contents can be saved.\n\nTitles will be "
|
||||
f"downloaded to a folder named \"NUSGet\" inside your downloads folder.")
|
||||
self.ui.log_text_browser.setText(log_message)
|
||||
self.log_text = (app.translate("MainWindow", "NUSGet v{nusget_version}\nDeveloped by NinjaCheetah\nPowered by libWiiPy "
|
||||
"{libwiipy_version}\nDSi support provided by libTWLPy {libtwlpy_version}\n\n"
|
||||
"Select a title from the list on the left, or enter a Title ID to begin.\n\n"
|
||||
"Titles marked with a checkmark are free and have a ticket available, and can"
|
||||
" be decrypted and/or packed into a WAD or TAD. Titles with an X do not have "
|
||||
"a ticket, and only their encrypted contents can be saved.\n\nTitles will be "
|
||||
"downloaded to a folder named \"NUSGet\" inside your downloads folder.")
|
||||
.format(nusget_version=nusget_version, libwiipy_version=libwiipy_version,
|
||||
libtwlpy_version=libtwlpy_version))
|
||||
self.ui.log_text_browser.setText(self.log_text)
|
||||
# Add console entries to dropdown and attach on change signal.
|
||||
self.ui.console_select_dropdown.addItem("Wii")
|
||||
self.ui.console_select_dropdown.addItem("vWii")
|
||||
self.ui.console_select_dropdown.addItem("DSi")
|
||||
self.ui.console_select_dropdown.currentIndexChanged.connect(self.selected_console_changed)
|
||||
# Title tree building code.
|
||||
wii_tree = self.ui.wii_title_tree
|
||||
vwii_tree = self.ui.vwii_title_tree
|
||||
dsi_tree = self.ui.dsi_title_tree
|
||||
self.trees = [[wii_tree, wii_database], [vwii_tree, vwii_database], [dsi_tree, dsi_database]]
|
||||
for tree in self.trees:
|
||||
self.tree_categories = []
|
||||
global regions
|
||||
# Iterate over each category in the database file.
|
||||
for key in tree[1]:
|
||||
new_category = QTreeWidgetItem()
|
||||
new_category.setText(0, key)
|
||||
# Iterate over each title in the current category.
|
||||
for title in tree[1][key]:
|
||||
new_title = QTreeWidgetItem()
|
||||
new_title.setText(0, title["TID"] + " - " + title["Name"])
|
||||
# Build the list of regions and what versions are offered for each region.
|
||||
for region in title["Versions"]:
|
||||
new_region = QTreeWidgetItem()
|
||||
new_region.setText(0, region)
|
||||
for title_version in title["Versions"][region]:
|
||||
new_version = QTreeWidgetItem()
|
||||
new_version.setText(0, "v" + str(title_version))
|
||||
new_region.addChild(new_version)
|
||||
new_title.addChild(new_region)
|
||||
# Set an indicator icon to show if a ticket is offered for this title or not.
|
||||
if title["Ticket"] is True:
|
||||
new_title.setIcon(0, self.style().standardIcon(QStyle.StandardPixmap.SP_DialogApplyButton))
|
||||
else:
|
||||
new_title.setIcon(0, self.style().standardIcon(QStyle.StandardPixmap.SP_DialogCancelButton))
|
||||
new_category.addChild(new_title)
|
||||
self.tree_categories.append(new_category)
|
||||
tree[0].insertTopLevelItems(0, self.tree_categories)
|
||||
# Connect the double click signal for handling when titles are selected.
|
||||
tree[0].itemDoubleClicked.connect(self.onItemClicked)
|
||||
# Title tree loading code. Now powered by Models:tm:
|
||||
wii_model = NUSGetTreeModel(wii_database, root_name="Wii Titles")
|
||||
vwii_model = NUSGetTreeModel(vwii_database, root_name="vWii Titles")
|
||||
dsi_model = NUSGetTreeModel(dsi_database, root_name="DSi Titles")
|
||||
self.tree_models = [wii_model, vwii_model, dsi_model]
|
||||
self.trees = [self.ui.wii_title_tree, self.ui.vwii_title_tree, self.ui.dsi_title_tree]
|
||||
# Build proxy models required for searching
|
||||
self.proxy_models = [TIDFilterProxyModel(self.ui.wii_title_tree), TIDFilterProxyModel(self.ui.vwii_title_tree),
|
||||
TIDFilterProxyModel(self.ui.dsi_title_tree)]
|
||||
for model in range(len(self.proxy_models)):
|
||||
self.proxy_models[model].setSourceModel(self.tree_models[model])
|
||||
self.proxy_models[model].setFilterKeyColumn(0)
|
||||
self.ui.tree_filter_input.textChanged.connect(lambda: self.filter_text_updated(self.ui.platform_tabs.currentIndex()))
|
||||
self.ui.tree_filter_reset_btn.clicked.connect(lambda: self.ui.tree_filter_input.setText(""))
|
||||
for tree in range(len(self.trees)):
|
||||
self.trees[tree].setModel(self.proxy_models[tree])
|
||||
self.trees[tree].doubleClicked.connect(self.title_double_clicked)
|
||||
self.trees[tree].expanded.connect(lambda: self.resize_tree(self.ui.platform_tabs.currentIndex()))
|
||||
self.trees[tree].collapsed.connect(lambda: self.resize_tree(self.ui.platform_tabs.currentIndex()))
|
||||
# Prevent resizing.
|
||||
self.setFixedSize(self.size())
|
||||
# Do a quick check to see if there's a newer release available, and inform the user if there is.
|
||||
worker = Worker(check_nusget_updates, app, nusget_version)
|
||||
worker.signals.result.connect(self.prompt_for_update)
|
||||
worker.signals.progress.connect(self.update_log_text)
|
||||
self.threadpool.start(worker)
|
||||
|
||||
@Slot(QTreeWidgetItem, int)
|
||||
def onItemClicked(self, item, col):
|
||||
def title_double_clicked(self, index):
|
||||
if self.ui.download_btn.isEnabled() is True:
|
||||
# Check to make sure that this is a version and nothing higher. If you've doubled clicked on anything other
|
||||
# than a version, this returns an AttributeError and the click can be ignored.
|
||||
try:
|
||||
category = item.parent().parent().parent().text(0)
|
||||
except AttributeError:
|
||||
return
|
||||
for tree in self.trees:
|
||||
try:
|
||||
for title in tree[1][category]:
|
||||
# Check to see if the current title matches the selected one, and if it does, pass that info on.
|
||||
if item.parent().parent().text(0) == (title["TID"] + " - " + title["Name"]):
|
||||
selected_title = title
|
||||
selected_version = item.text(0)
|
||||
selected_region = item.parent().text(0)
|
||||
# Need to map the proxy index to the source index because we're using a proxy model for searching. If we
|
||||
# don't, this for some reason isn't handled by PySide and causes a segfault.
|
||||
source_index = self.proxy_models[self.ui.platform_tabs.currentIndex()].mapToSource(index)
|
||||
title = source_index.internalPointer().metadata
|
||||
if title is not None:
|
||||
self.ui.console_select_dropdown.setCurrentIndex(self.ui.platform_tabs.currentIndex())
|
||||
self.load_title_data(selected_title, selected_version, selected_region)
|
||||
except KeyError:
|
||||
pass
|
||||
selected_title = TitleData(title.tid, title.name, title.archive_name, title.version, title.ticket,
|
||||
title.region, title.category, title.danger)
|
||||
self.load_title_data(selected_title)
|
||||
|
||||
def filter_text_updated(self, target: int):
|
||||
text = self.ui.tree_filter_input.text()
|
||||
if text != "":
|
||||
self.trees[target].expandToDepth(0)
|
||||
else:
|
||||
self.trees[target].collapseAll()
|
||||
self.proxy_models[target].setFilterRegularExpression(text)
|
||||
self.trees[target].resizeColumnToContents(0)
|
||||
|
||||
def resize_tree(self, target: int):
|
||||
text = self.ui.tree_filter_input.text()
|
||||
if text == "":
|
||||
tree = self.trees[target]
|
||||
tree.resizeColumnToContents(0)
|
||||
|
||||
def tid_updated(self):
|
||||
tid = self.ui.tid_entry.text()
|
||||
if len(tid) == 16:
|
||||
if tid[:8] == "00000001" and int(tid[-2:], 16) > 2:
|
||||
self.ui.patch_ios_chkbox.setEnabled(True)
|
||||
return
|
||||
self.ui.patch_ios_chkbox.setEnabled(False)
|
||||
|
||||
def update_log_text(self, new_text):
|
||||
# This function primarily exists to be the handler for the progress signal emitted by the worker thread.
|
||||
# This method primarily exists to be the handler for the progress signal emitted by the worker thread.
|
||||
self.log_text += new_text + "\n"
|
||||
self.ui.log_text_browser.setText(self.log_text)
|
||||
# Always auto-scroll to the bottom of the log.
|
||||
scroll_bar = self.ui.log_text_browser.verticalScrollBar()
|
||||
scroll_bar.setValue(scroll_bar.maximum())
|
||||
|
||||
def load_title_data(self, selected_title, selected_version, selected_region=None):
|
||||
def prompt_for_update(self, new_version):
|
||||
# This method is designed to display a message box informing the user that a new NUSGet version is available.
|
||||
if new_version is not None:
|
||||
msg_box = QMessageBox()
|
||||
msg_box.setIcon(QMessageBox.Icon.Information)
|
||||
msg_box.setStandardButtons(QMessageBox.StandardButton.Yes | QMessageBox.StandardButton.No)
|
||||
msg_box.setDefaultButton(QMessageBox.StandardButton.Yes)
|
||||
msg_box.setWindowTitle(app.translate("MainWindow", "NUSGet Update Available"))
|
||||
msg_box.setText(app.translate("MainWindow", "There's a newer version of NUSGet available!"))
|
||||
msg_box.setInformativeText(app.translate("MainWindow", "You're currently running v{nusget_version}, "
|
||||
"but v{new_version} is available on GitHub. Would you like to view"
|
||||
" the latest version?"
|
||||
.format(nusget_version=nusget_version, new_version=new_version)))
|
||||
ret = msg_box.exec()
|
||||
if ret == QMessageBox.StandardButton.Yes:
|
||||
webbrowser.open("https://github.com/NinjaCheetah/NUSGet/releases/latest")
|
||||
|
||||
def load_title_data(self, selected_title: TitleData):
|
||||
# Use the information passed from the double click callback to prepare a title for downloading.
|
||||
selected_version = selected_version[1:]
|
||||
# If the last two characters are "XX", then this title has multiple regions, and each region uses its own
|
||||
# two-digit code. Use the region info passed to load the correct code.
|
||||
if selected_title["TID"][-2:] == "XX":
|
||||
if selected_title.tid[-2:] == "XX":
|
||||
global regions
|
||||
region_code = regions[selected_region][0]
|
||||
tid = selected_title["TID"][:-2] + region_code
|
||||
region_code = regions[selected_title.region][0]
|
||||
tid = selected_title.tid[:-2] + region_code
|
||||
else:
|
||||
tid = selected_title["TID"]
|
||||
tid = selected_title.tid
|
||||
# Load the TID and version into the entry boxes.
|
||||
self.ui.tid_entry.setText(tid)
|
||||
self.ui.version_entry.setText(selected_version)
|
||||
self.ui.version_entry.setText(str(selected_title.version))
|
||||
# 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.
|
||||
try:
|
||||
archive_name = 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":
|
||||
archive_name += f"-{selected_title.region.split('/')[0]}"
|
||||
if self.ui.console_select_dropdown.currentText() == "DSi":
|
||||
archive_name = selected_title["TAD Name"] + "-v" + selected_version + ".tad"
|
||||
archive_name += ".tad"
|
||||
elif self.ui.console_select_dropdown.currentText() == "vWii":
|
||||
if selected_title.category.find("System") != -1 or selected_title.category == "IOS":
|
||||
archive_name += "-vWii"
|
||||
archive_name += ".wad"
|
||||
else:
|
||||
archive_name = selected_title["WAD Name"] + "-v" + selected_version + ".wad"
|
||||
if selected_title.category.find("System") != -1 or selected_title.category == "IOS":
|
||||
archive_name += "-Wii"
|
||||
archive_name += ".wad"
|
||||
self.ui.archive_file_entry.setText(archive_name)
|
||||
except KeyError:
|
||||
pass
|
||||
# Same idea for the danger string, however this only exists for certain titles and will frequently be an error.
|
||||
danger_text = ""
|
||||
try:
|
||||
danger_text = selected_title["Danger"]
|
||||
except KeyError:
|
||||
pass
|
||||
danger_text = selected_title.danger
|
||||
# Add warning text to the log if the selected title has no ticket.
|
||||
if selected_title["Ticket"] is False:
|
||||
if selected_title.ticket is False:
|
||||
danger_text = danger_text + ("Note: This Title does not have a Ticket available, so it cannot be decrypted"
|
||||
" or packed into a WAD/TAD.")
|
||||
# Print log info about the selected title and version.
|
||||
self.log_text = (tid + " - " + selected_title["Name"] + "\n" + "Version: " + selected_version + "\n\n" +
|
||||
danger_text + "\n")
|
||||
self.log_text = f"{tid} - {selected_title.name}\nVersion: {selected_title.version}\n\n{danger_text}\n"
|
||||
self.ui.log_text_browser.setText(self.log_text)
|
||||
|
||||
def download_btn_pressed(self):
|
||||
# Throw an error and make a message box appear if you haven't selected any options to output the title.
|
||||
if (self.ui.pack_archive_chkbox.isChecked() is False and self.ui.keep_enc_chkbox.isChecked() is False and
|
||||
self.ui.create_dec_chkbox.isChecked() is False):
|
||||
msg_box = QMessageBox()
|
||||
msg_box.setIcon(QMessageBox.Icon.Critical)
|
||||
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setWindowTitle("No Output Selected")
|
||||
msg_box.setText("You have not selected any format to output the data in!")
|
||||
msg_box.setInformativeText("Please select at least one option for how you would like the download to be "
|
||||
"saved.")
|
||||
msg_box.exec()
|
||||
return
|
||||
def lock_ui(self):
|
||||
# Lock the UI prior to the download beginning to avoid spawning multiple threads or changing info part way in.
|
||||
# Also resets the log.
|
||||
self.ui.tid_entry.setEnabled(False)
|
||||
self.ui.version_entry.setEnabled(False)
|
||||
self.ui.download_btn.setEnabled(False)
|
||||
self.ui.script_btn.setEnabled(False)
|
||||
self.ui.pack_archive_chkbox.setEnabled(False)
|
||||
self.ui.keep_enc_chkbox.setEnabled(False)
|
||||
self.ui.create_dec_chkbox.setEnabled(False)
|
||||
@@ -217,11 +247,50 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
self.ui.console_select_dropdown.setEnabled(False)
|
||||
self.log_text = ""
|
||||
self.ui.log_text_browser.setText(self.log_text)
|
||||
|
||||
def unlock_ui(self):
|
||||
# Unlock the UI again after the current download finishes.
|
||||
self.ui.tid_entry.setEnabled(True)
|
||||
self.ui.version_entry.setEnabled(True)
|
||||
self.ui.download_btn.setEnabled(True)
|
||||
self.ui.script_btn.setEnabled(True)
|
||||
self.ui.pack_archive_chkbox.setEnabled(True)
|
||||
self.ui.keep_enc_chkbox.setEnabled(True)
|
||||
self.ui.create_dec_chkbox.setEnabled(True)
|
||||
self.ui.use_local_chkbox.setEnabled(True)
|
||||
self.ui.use_wiiu_nus_chkbox.setEnabled(True)
|
||||
self.ui.console_select_dropdown.setEnabled(True)
|
||||
if self.ui.pack_archive_chkbox.isChecked() is True:
|
||||
self.ui.archive_file_entry.setEnabled(True)
|
||||
|
||||
def download_btn_pressed(self):
|
||||
# Throw an error and make a message box appear if you haven't selected any options to output the title.
|
||||
if (self.ui.pack_archive_chkbox.isChecked() is False and self.ui.keep_enc_chkbox.isChecked() is False and
|
||||
self.ui.create_dec_chkbox.isChecked() is False):
|
||||
msg_box = QMessageBox()
|
||||
msg_box.setIcon(QMessageBox.Icon.Critical)
|
||||
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setWindowTitle(app.translate("MainWindow", "No Output Selected"))
|
||||
msg_box.setText(app.translate("MainWindow", "You have not selected any format to output the data in!"))
|
||||
msg_box.setInformativeText(app.translate("MainWindow", "Please select at least one option for how you would "
|
||||
"like the download to be saved."))
|
||||
msg_box.exec()
|
||||
return
|
||||
self.lock_ui()
|
||||
# Create a new worker object to handle the download in a new thread.
|
||||
if self.ui.console_select_dropdown.currentText() == "DSi":
|
||||
worker = Worker(self.run_nus_download_dsi)
|
||||
worker = Worker(run_nus_download_dsi, out_folder, self.ui.tid_entry.text(),
|
||||
self.ui.version_entry.text(), self.ui.pack_archive_chkbox.isChecked(),
|
||||
self.ui.keep_enc_chkbox.isChecked(), self.ui.create_dec_chkbox.isChecked(),
|
||||
self.ui.use_local_chkbox.isChecked(), self.ui.archive_file_entry.text())
|
||||
else:
|
||||
worker = Worker(self.run_nus_download_wii)
|
||||
worker = Worker(run_nus_download_wii, out_folder, self.ui.tid_entry.text(),
|
||||
self.ui.version_entry.text(), self.ui.pack_archive_chkbox.isChecked(),
|
||||
self.ui.keep_enc_chkbox.isChecked(), self.ui.create_dec_chkbox.isChecked(),
|
||||
self.ui.use_wiiu_nus_chkbox.isChecked(), self.ui.use_local_chkbox.isChecked(),
|
||||
self.ui.pack_vwii_mode_chkbox.isChecked(), self.ui.patch_ios_chkbox.isChecked(),
|
||||
self.ui.archive_file_entry.text())
|
||||
worker.signals.result.connect(self.check_download_result)
|
||||
worker.signals.progress.connect(self.update_log_text)
|
||||
self.threadpool.start(worker)
|
||||
@@ -233,331 +302,78 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
|
||||
if result == -1:
|
||||
window_title = self.tr("Invalid Title ID")
|
||||
title_text = self.tr("The Title ID you have entered is not in a valid format!")
|
||||
body_text = self.tr("Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly "
|
||||
window_title = app.translate("MainWindow", "Invalid Title ID")
|
||||
title_text = app.translate("MainWindow", "The Title ID you have entered is not in a valid format!")
|
||||
body_text = app.translate("MainWindow", "Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly "
|
||||
"formatted Title ID, or select one from the menu on the left.")
|
||||
elif result == -2:
|
||||
window_title = self.tr("Title ID/Version Not Found")
|
||||
title_text = self.tr("No title with the provided Title ID or version could be found!")
|
||||
body_text = self.tr("Please make sure that you have entered a valid Title ID, or selected one from the "
|
||||
"title database, and that the provided version exists for the title you are attempting "
|
||||
"to download.")
|
||||
window_title = app.translate("MainWindow", "Title ID/Version Not Found")
|
||||
title_text = app.translate("MainWindow", "No title with the provided Title ID or version could be found!")
|
||||
body_text = app.translate("MainWindow", "Please make sure that you have entered a valid Title ID, or selected one from the "
|
||||
"title database, and that the provided version exists for the title you are attempting to download.")
|
||||
elif result == -3:
|
||||
window_title = self.tr("Content Decryption Failed")
|
||||
title_text = self.tr("Content decryption was not successful! Decrypted contents could not be created.")
|
||||
body_text = self.tr("Your TMD or Ticket may be damaged, or they may not correspond with the content being "
|
||||
window_title = app.translate("MainWindow", "Content Decryption Failed")
|
||||
title_text = app.translate("MainWindow", "Content decryption was not successful! Decrypted contents could not be created.")
|
||||
body_text = app.translate("MainWindow", "Your TMD or Ticket may be damaged, or they may not correspond with the content being "
|
||||
"decrypted. If you have checked \"Use local files, if they exist\", try disabling that "
|
||||
"option before trying the download again to fix potential issues with local data.")
|
||||
elif result == 1:
|
||||
msg_box.setIcon(QMessageBox.Icon.Warning)
|
||||
window_title = self.tr("Ticket Not Available")
|
||||
title_text = self.tr("No Ticket is Available for the Requested Title!")
|
||||
body_text = self.tr("A ticket could not be downloaded for the requested title, but you have selected \"Pack"
|
||||
window_title = app.translate("MainWindow", "Ticket Not Available")
|
||||
title_text = app.translate("MainWindow", "No Ticket is Available for the Requested Title!")
|
||||
body_text = app.translate("MainWindow", "A ticket could not be downloaded for the requested title, but you have selected \"Pack"
|
||||
" installable archive\" or \"Create decrypted contents\". These options are not "
|
||||
"available for titles without a ticket. Only encrypted contents have been saved.")
|
||||
else:
|
||||
window_title = self.tr("Unknown Error")
|
||||
title_text = self.tr("An Unknown Error has Occurred!")
|
||||
body_text = self.tr("Please try again. If this issue persists, please open a new issue on GitHub detailing"
|
||||
window_title = app.translate("MainWindow", "Unknown Error")
|
||||
title_text = app.translate("MainWindow", "An Unknown Error has Occurred!")
|
||||
body_text = app.translate("MainWindow", "Please try again. If this issue persists, please open a new issue on GitHub detailing"
|
||||
" what you were trying to do when this error occurred.")
|
||||
if result != 0:
|
||||
msg_box.setWindowTitle(window_title)
|
||||
msg_box.setText(title_text)
|
||||
msg_box.setInformativeText(body_text)
|
||||
msg_box.exec()
|
||||
# Now that the thread has closed, unlock the UI to allow for the next download.
|
||||
self.ui.tid_entry.setEnabled(True)
|
||||
self.ui.version_entry.setEnabled(True)
|
||||
self.ui.download_btn.setEnabled(True)
|
||||
self.ui.pack_archive_chkbox.setEnabled(True)
|
||||
self.ui.keep_enc_chkbox.setEnabled(True)
|
||||
self.ui.create_dec_chkbox.setEnabled(True)
|
||||
self.ui.use_local_chkbox.setEnabled(True)
|
||||
self.ui.use_wiiu_nus_chkbox.setEnabled(True)
|
||||
self.ui.console_select_dropdown.setEnabled(True)
|
||||
if self.ui.pack_archive_chkbox.isChecked() is True:
|
||||
self.ui.archive_file_entry.setEnabled(True)
|
||||
self.unlock_ui()
|
||||
# Call the dropdown callback because this will automagically handle setting console-specific settings based
|
||||
# on the currently selected console, and saves on duplicate code.
|
||||
self.selected_console_changed()
|
||||
|
||||
def run_nus_download_wii(self, progress_callback):
|
||||
# Actual NUS download function that runs in a separate thread.
|
||||
tid = self.ui.tid_entry.text()
|
||||
# Immediately knock out any invalidly formatted Title IDs.
|
||||
if len(tid) != 16:
|
||||
return -1
|
||||
# An error here is acceptable, because it may just mean the box is empty. Or the version string is nonsense.
|
||||
# Either way, just fall back on downloading the latest version of the title.
|
||||
try:
|
||||
title_version = int(self.ui.version_entry.text())
|
||||
except ValueError:
|
||||
title_version = None
|
||||
# Set variables for these two options so that their state can be compared against the user's choices later.
|
||||
pack_wad_enabled = self.ui.pack_archive_chkbox.isChecked()
|
||||
decrypt_contents_enabled = self.ui.create_dec_chkbox.isChecked()
|
||||
# Check whether we're going to be using the (faster) Wii U NUS or not.
|
||||
wiiu_nus_enabled = self.ui.use_wiiu_nus_chkbox.isChecked()
|
||||
# Create a new libWiiPy Title.
|
||||
title = libWiiPy.title.Title()
|
||||
# Make a directory for this title if it doesn't exist.
|
||||
title_dir = pathlib.Path(os.path.join(out_folder, tid))
|
||||
if not title_dir.is_dir():
|
||||
title_dir.mkdir()
|
||||
# Announce the title being downloaded, and the version if applicable.
|
||||
if title_version is not None:
|
||||
progress_callback.emit("Downloading title " + tid + " v" + str(title_version) + ", please wait...")
|
||||
def check_batch_result(self, result: BatchResults):
|
||||
if result.code != 0:
|
||||
print(result.warning_titles)
|
||||
print(result.failed_titles)
|
||||
msg_box = QMessageBox()
|
||||
if result.failed_titles:
|
||||
msg_box.setIcon(QMessageBox.Icon.Critical)
|
||||
else:
|
||||
progress_callback.emit("Downloading title " + tid + " vLatest, please wait...")
|
||||
progress_callback.emit(" - Downloading and parsing TMD...")
|
||||
# Download a specific TMD version if a version was specified, otherwise just download the latest TMD.
|
||||
try:
|
||||
if title_version is not None:
|
||||
title.load_tmd(libWiiPy.title.download_tmd(tid, title_version, wiiu_endpoint=wiiu_nus_enabled))
|
||||
else:
|
||||
title.load_tmd(libWiiPy.title.download_tmd(tid, wiiu_endpoint=wiiu_nus_enabled))
|
||||
title_version = title.tmd.title_version
|
||||
# If libWiiPy returns an error, that means that either the TID or version doesn't exist, so return code -2.
|
||||
except ValueError:
|
||||
return -2
|
||||
# Make a directory for this version if it doesn't exist.
|
||||
version_dir = pathlib.Path(os.path.join(title_dir, str(title_version)))
|
||||
if not version_dir.is_dir():
|
||||
version_dir.mkdir()
|
||||
# Write out the TMD to a file.
|
||||
tmd_out = open(os.path.join(version_dir, "tmd." + str(title_version)), "wb")
|
||||
tmd_out.write(title.tmd.dump())
|
||||
tmd_out.close()
|
||||
# Use a local ticket, if one exists and "use local files" is enabled.
|
||||
if self.ui.use_local_chkbox.isChecked() is True and os.path.exists(os.path.join(version_dir, "tik")):
|
||||
progress_callback.emit(" - Parsing local copy of Ticket...")
|
||||
local_ticket = open(os.path.join(version_dir, "tik"), "rb")
|
||||
title.load_ticket(local_ticket.read())
|
||||
else:
|
||||
progress_callback.emit(" - Downloading and parsing Ticket...")
|
||||
try:
|
||||
title.load_ticket(libWiiPy.title.download_ticket(tid, wiiu_endpoint=wiiu_nus_enabled))
|
||||
ticket_out = open(os.path.join(version_dir, "tik"), "wb")
|
||||
ticket_out.write(title.ticket.dump())
|
||||
ticket_out.close()
|
||||
except ValueError:
|
||||
# If libWiiPy returns an error, then no ticket is available. Log this, and disable options requiring a
|
||||
# ticket so that they aren't attempted later.
|
||||
progress_callback.emit(" - No Ticket is available!")
|
||||
pack_wad_enabled = False
|
||||
decrypt_contents_enabled = False
|
||||
# Load the content records from the TMD, and begin iterating over the records.
|
||||
title.load_content_records()
|
||||
content_list = []
|
||||
for content in range(len(title.tmd.content_records)):
|
||||
# Generate the correct file name by converting the content ID into hex, minus the 0x, and then appending
|
||||
# that to the end of 000000. I refuse to believe there isn't a better way to do this here and in libWiiPy.
|
||||
content_file_name = hex(title.tmd.content_records[content].content_id)[2:]
|
||||
while len(content_file_name) < 8:
|
||||
content_file_name = "0" + content_file_name
|
||||
# Check for a local copy of the current content if "use local files" is enabled, and use it.
|
||||
if self.ui.use_local_chkbox.isChecked() is True and os.path.exists(os.path.join(version_dir,
|
||||
content_file_name)):
|
||||
progress_callback.emit(" - Using local copy of content " + str(content + 1) + " of " +
|
||||
str(len(title.tmd.content_records)))
|
||||
local_file = open(os.path.join(version_dir, content_file_name), "rb")
|
||||
content_list.append(local_file.read())
|
||||
else:
|
||||
progress_callback.emit(" - Downloading content " + str(content + 1) + " of " +
|
||||
str(len(title.tmd.content_records)) + " (Content ID: " +
|
||||
str(title.tmd.content_records[content].content_id) + ", Size: " +
|
||||
str(title.tmd.content_records[content].content_size) + " bytes)...")
|
||||
content_list.append(libWiiPy.title.download_content(tid, title.tmd.content_records[content].content_id,
|
||||
wiiu_endpoint=wiiu_nus_enabled))
|
||||
progress_callback.emit(" - Done!")
|
||||
# If keep encrypted contents is on, write out each content after its downloaded.
|
||||
if self.ui.keep_enc_chkbox.isChecked() is True:
|
||||
enc_content_out = open(os.path.join(version_dir, content_file_name), "wb")
|
||||
enc_content_out.write(content_list[content])
|
||||
enc_content_out.close()
|
||||
title.content.content_list = content_list
|
||||
# If decrypt local contents is still true, decrypt each content and write out the decrypted file.
|
||||
if decrypt_contents_enabled is True:
|
||||
try:
|
||||
for content in range(len(title.tmd.content_records)):
|
||||
progress_callback.emit(" - Decrypting content " + str(content + 1) + " of " +
|
||||
str(len(title.tmd.content_records)) + " (Content ID: " +
|
||||
str(title.tmd.content_records[content].content_id) + ")...")
|
||||
dec_content = title.get_content_by_index(content)
|
||||
content_file_name = hex(title.tmd.content_records[content].content_id)[2:]
|
||||
while len(content_file_name) < 8:
|
||||
content_file_name = "0" + content_file_name
|
||||
content_file_name = content_file_name + ".app"
|
||||
dec_content_out = open(os.path.join(version_dir, content_file_name), "wb")
|
||||
dec_content_out.write(dec_content)
|
||||
dec_content_out.close()
|
||||
except ValueError:
|
||||
# If libWiiPy throws an error during decryption, return code -3. This should only be possible if using
|
||||
# local encrypted contents that have been altered at present.
|
||||
return -3
|
||||
# If pack WAD is still true, pack the TMD, ticket, and contents all into a WAD.
|
||||
if pack_wad_enabled is True:
|
||||
# If the option to pack for vWii mode instead of Wii U mode is enabled, then the Title Key needs to be
|
||||
# re-encrypted with the common key instead of the vWii key, so that the title can be installed from within
|
||||
# vWii mode. (vWii mode does not have access to the vWii key, only Wii U mode has that.)
|
||||
if self.ui.pack_vwii_mode_chkbox.isChecked() is True and (tid[3] == "7" or tid[7] == "7"):
|
||||
progress_callback.emit(" - Re-encrypting Title Key with the common key...")
|
||||
title_key_dec = title.ticket.get_title_key()
|
||||
title_key_common = libWiiPy.title.encrypt_title_key(title_key_dec, 0, title.tmd.title_id)
|
||||
title.ticket.common_key_index = 0
|
||||
title.ticket.title_key_enc = title_key_common
|
||||
# Get the WAD certificate chain, courtesy of libWiiPy.
|
||||
progress_callback.emit(" - Building certificate...")
|
||||
title.wad.set_cert_data(libWiiPy.title.download_cert(wiiu_endpoint=wiiu_nus_enabled))
|
||||
# Use a typed WAD name if there is one, and auto generate one based on the TID and version if there isn't.
|
||||
progress_callback.emit("Packing WAD...")
|
||||
if self.ui.archive_file_entry.text() != "":
|
||||
wad_file_name = self.ui.archive_file_entry.text()
|
||||
if wad_file_name[-4:] != ".wad":
|
||||
wad_file_name = wad_file_name + ".wad"
|
||||
else:
|
||||
wad_file_name = tid + "-v" + str(title_version) + ".wad"
|
||||
# Have libWiiPy dump the WAD, and write that data out.
|
||||
file = open(os.path.join(version_dir, wad_file_name), "wb")
|
||||
file.write(title.dump_wad())
|
||||
file.close()
|
||||
progress_callback.emit("Download complete!")
|
||||
# This is where the variables come in. If the state of these variables doesn't match the user's choice by this
|
||||
# point, it means that they enabled decryption or WAD packing for a title that doesn't have a ticket. Return
|
||||
# code 1 so that a warning popup is shown informing them of this.
|
||||
if ((not pack_wad_enabled and self.ui.pack_archive_chkbox.isChecked()) or
|
||||
(not decrypt_contents_enabled and self.ui.create_dec_chkbox.isChecked())):
|
||||
return 1
|
||||
return 0
|
||||
|
||||
def run_nus_download_dsi(self, progress_callback):
|
||||
# Actual NUS download function that runs in a separate thread, but DSi flavored.
|
||||
tid = self.ui.tid_entry.text()
|
||||
# Immediately knock out any invalidly formatted Title IDs.
|
||||
if len(tid) != 16:
|
||||
return -1
|
||||
# An error here is acceptable, because it may just mean the box is empty. Or the version string is nonsense.
|
||||
# Either way, just fall back on downloading the latest version of the title.
|
||||
try:
|
||||
title_version = int(self.ui.version_entry.text())
|
||||
except ValueError:
|
||||
title_version = None
|
||||
# Set variables for these two options so that their state can be compared against the user's choices later.
|
||||
pack_tad_enabled = self.ui.pack_archive_chkbox.isChecked()
|
||||
decrypt_contents_enabled = self.ui.create_dec_chkbox.isChecked()
|
||||
# Create a new libTWLPy Title.
|
||||
title = libTWLPy.Title()
|
||||
# Make a directory for this title if it doesn't exist.
|
||||
title_dir = pathlib.Path(os.path.join(out_folder, tid))
|
||||
if not title_dir.is_dir():
|
||||
title_dir.mkdir()
|
||||
# Announce the title being downloaded, and the version if applicable.
|
||||
if title_version is not None:
|
||||
progress_callback.emit("Downloading title " + tid + " v" + str(title_version) + ", please wait...")
|
||||
else:
|
||||
progress_callback.emit("Downloading title " + tid + " vLatest, please wait...")
|
||||
progress_callback.emit(" - Downloading and parsing TMD...")
|
||||
# Download a specific TMD version if a version was specified, otherwise just download the latest TMD.
|
||||
try:
|
||||
if title_version is not None:
|
||||
title.load_tmd(libTWLPy.download_tmd(tid, title_version))
|
||||
else:
|
||||
title.load_tmd(libTWLPy.download_tmd(tid))
|
||||
title_version = title.tmd.title_version
|
||||
# If libTWLPy returns an error, that means that either the TID or version doesn't exist, so return code -2.
|
||||
except ValueError:
|
||||
return -2
|
||||
# Make a directory for this version if it doesn't exist.
|
||||
version_dir = pathlib.Path(os.path.join(title_dir, str(title_version)))
|
||||
if not version_dir.is_dir():
|
||||
version_dir.mkdir()
|
||||
# Write out the TMD to a file.
|
||||
tmd_out = open(os.path.join(version_dir, "tmd." + str(title_version)), "wb")
|
||||
tmd_out.write(title.tmd.dump())
|
||||
tmd_out.close()
|
||||
# Use a local ticket, if one exists and "use local files" is enabled.
|
||||
if self.ui.use_local_chkbox.isChecked() is True and os.path.exists(os.path.join(version_dir, "tik")):
|
||||
progress_callback.emit(" - Parsing local copy of Ticket...")
|
||||
local_ticket = open(os.path.join(version_dir, "tik"), "rb")
|
||||
title.load_ticket(local_ticket.read())
|
||||
else:
|
||||
progress_callback.emit(" - Downloading and parsing Ticket...")
|
||||
try:
|
||||
title.load_ticket(libTWLPy.download_ticket(tid))
|
||||
ticket_out = open(os.path.join(version_dir, "tik"), "wb")
|
||||
ticket_out.write(title.ticket.dump())
|
||||
ticket_out.close()
|
||||
except ValueError:
|
||||
# If libTWLPy returns an error, then no ticket is available. Log this, and disable options requiring a
|
||||
# ticket so that they aren't attempted later.
|
||||
progress_callback.emit(" - No Ticket is available!")
|
||||
pack_tad_enabled = False
|
||||
decrypt_contents_enabled = False
|
||||
# Load the content record from the TMD, and download the content it lists. DSi titles only have one content.
|
||||
title.load_content_records()
|
||||
content_file_name = hex(title.tmd.content_record.content_id)[2:]
|
||||
while len(content_file_name) < 8:
|
||||
content_file_name = "0" + content_file_name
|
||||
# Check for a local copy of the current content if "use local files" is enabled, and use it.
|
||||
if self.ui.use_local_chkbox.isChecked() is True and os.path.exists(os.path.join(version_dir,
|
||||
content_file_name)):
|
||||
progress_callback.emit(" - Using local copy of content")
|
||||
local_file = open(os.path.join(version_dir, content_file_name), "rb")
|
||||
content = local_file.read()
|
||||
else:
|
||||
progress_callback.emit(" - Downloading content (Content ID: " + str(title.tmd.content_record.content_id) +
|
||||
", Size: " + str(title.tmd.content_record.content_size) + " bytes)...")
|
||||
content = libTWLPy.download_content(tid, title.tmd.content_record.content_id)
|
||||
progress_callback.emit(" - Done!")
|
||||
# If keep encrypted contents is on, write out each content after its downloaded.
|
||||
if self.ui.keep_enc_chkbox.isChecked() is True:
|
||||
enc_content_out = open(os.path.join(version_dir, content_file_name), "wb")
|
||||
enc_content_out.write(content)
|
||||
enc_content_out.close()
|
||||
title.content.content = content
|
||||
# If decrypt local contents is still true, decrypt each content and write out the decrypted file.
|
||||
if decrypt_contents_enabled is True:
|
||||
try:
|
||||
progress_callback.emit(" - Decrypting content (Content ID: " + str(title.tmd.content_record.content_id)
|
||||
+ ")...")
|
||||
dec_content = title.get_content()
|
||||
content_file_name = hex(title.tmd.content_record.content_id)[2:]
|
||||
while len(content_file_name) < 8:
|
||||
content_file_name = "0" + content_file_name
|
||||
content_file_name = content_file_name + ".app"
|
||||
dec_content_out = open(os.path.join(version_dir, content_file_name), "wb")
|
||||
dec_content_out.write(dec_content)
|
||||
dec_content_out.close()
|
||||
except ValueError:
|
||||
# If libWiiPy throws an error during decryption, return code -3. This should only be possible if using
|
||||
# local encrypted contents that have been altered at present.
|
||||
return -3
|
||||
# If pack TAD is still true, pack the TMD, ticket, and content into a TAD.
|
||||
if pack_tad_enabled is True:
|
||||
# Get the TAD certificate chain, courtesy of libTWLPy.
|
||||
progress_callback.emit(" - Building certificate...")
|
||||
title.tad.set_cert_data(libTWLPy.download_cert())
|
||||
# Use a typed TAD name if there is one, and auto generate one based on the TID and version if there isn't.
|
||||
progress_callback.emit("Packing TAD...")
|
||||
if self.ui.archive_file_entry.text() != "":
|
||||
tad_file_name = self.ui.archive_file_entry.text()
|
||||
if tad_file_name[-4:] != ".tad":
|
||||
tad_file_name = tad_file_name + ".tad"
|
||||
else:
|
||||
tad_file_name = tid + "-v" + str(title_version) + ".tad"
|
||||
# Have libTWLPy dump the TAD, and write that data out.
|
||||
file = open(os.path.join(version_dir, tad_file_name), "wb")
|
||||
file.write(title.dump_tad())
|
||||
file.close()
|
||||
progress_callback.emit("Download complete!")
|
||||
# This is where the variables come in. If the state of these variables doesn't match the user's choice by this
|
||||
# point, it means that they enabled decryption or TAD packing for a title that doesn't have a ticket. Return
|
||||
# code 1 so that a warning popup is shown informing them of this.
|
||||
if ((not pack_tad_enabled and self.ui.pack_archive_chkbox.isChecked()) or
|
||||
(not decrypt_contents_enabled and self.ui.create_dec_chkbox.isChecked())):
|
||||
return 1
|
||||
return 0
|
||||
msg_box.setIcon(QMessageBox.Icon.Warning)
|
||||
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setWindowTitle(app.translate("MainWindow", "Script Issues Occurred"))
|
||||
msg_box.setText(app.translate("MainWindow", "Some issues occurred while running the download script."))
|
||||
msg_box.setInformativeText(
|
||||
app.translate("MainWindow", "Check the log for more details about what issues were encountered."))
|
||||
msg_box.exec()
|
||||
self.log_text = ""
|
||||
if result.failed_titles:
|
||||
self.update_log_text(app.translate("MainWindow",
|
||||
"The following titles could not be downloaded due to an error. "
|
||||
"Please ensure that the Title ID and version listed in the script "
|
||||
"are valid."))
|
||||
for title in result.failed_titles:
|
||||
self.update_log_text(f" - {title}")
|
||||
if result.warning_titles:
|
||||
if result.failed_titles:
|
||||
self.update_log_text("")
|
||||
self.update_log_text(app.translate("MainWindow",
|
||||
"You enabled \"Create decrypted contents\" or \"Pack installable "
|
||||
"archive\", but the following titles in the script do not have "
|
||||
"tickets available. If enabled, encrypted contents were still "
|
||||
"downloaded."))
|
||||
for title in result.warning_titles:
|
||||
self.update_log_text(f" - {title}")
|
||||
self.unlock_ui()
|
||||
|
||||
def pack_wad_chkbox_toggled(self):
|
||||
# Simple function to catch when the WAD/TAD checkbox is toggled and enable/disable the file name entry box
|
||||
@@ -576,6 +392,84 @@ class MainWindow(QMainWindow, Ui_MainWindow):
|
||||
elif self.ui.console_select_dropdown.currentText() == "DSi":
|
||||
self.ui.pack_vwii_mode_chkbox.setEnabled(False)
|
||||
|
||||
def script_btn_pressed(self):
|
||||
msg_box = QMessageBox()
|
||||
msg_box.setIcon(QMessageBox.Icon.Critical)
|
||||
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
|
||||
msg_box.setWindowTitle(app.translate("MainWindow", "Script Download Failed"))
|
||||
file_name = QFileDialog.getOpenFileName(self, caption=app.translate("MainWindow", "Open NUS Script"),
|
||||
filter=app.translate("MainWindow", "NUS Scripts (*.nus *.json)"),
|
||||
options=QFileDialog.Option.ReadOnly)
|
||||
# The old plaintext script format is no longer supported in NUSGet v1.3.0 and later. This script parsing code
|
||||
# is for the new JSON script format, which is much easier to use and is cleaner.
|
||||
if len(file_name[0]) == 0:
|
||||
return
|
||||
try:
|
||||
with open(file_name[0]) as script_file:
|
||||
script_data = json.load(script_file)
|
||||
except json.JSONDecodeError as e:
|
||||
msg_box.setText(app.translate("MainWindow", "An error occurred while parsing the script file!"))
|
||||
msg_box.setInformativeText(app.translate("MainWindow", f"Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again."))
|
||||
msg_box.exec()
|
||||
return
|
||||
# Build a list of the titles we need to download.
|
||||
titles = []
|
||||
for title in script_data:
|
||||
try:
|
||||
tid = title["Title ID"]
|
||||
except KeyError:
|
||||
msg_box.setText(app.translate("MainWindow", "An error occurred while parsing Title IDs!"))
|
||||
msg_box.setInformativeText(app.translate("MainWindow", f"The title at index {script_data.index(title)} does not have a Title ID!"))
|
||||
msg_box.exec()
|
||||
return
|
||||
# No version key is acceptable, just treat it as latest.
|
||||
try:
|
||||
title_version = int(title["Version"])
|
||||
except KeyError:
|
||||
title_version = -1
|
||||
# If no console was specified, assume Wii.
|
||||
try:
|
||||
console = title["Console"]
|
||||
except KeyError:
|
||||
console = "Wii"
|
||||
# Look up the title, and load the archive name for it if one can be found.
|
||||
archive_name = ""
|
||||
if console == "vWii":
|
||||
target_database = vwii_database
|
||||
elif console == "DSi":
|
||||
target_database = dsi_database
|
||||
else:
|
||||
target_database = wii_database
|
||||
for category in target_database:
|
||||
for t in target_database[category]:
|
||||
if t["TID"][-2:] == "XX":
|
||||
for r in regions:
|
||||
if f"{t['TID'][:-2]}{regions[r][0]}" == tid:
|
||||
try:
|
||||
archive_name = t["Archive Name"]
|
||||
break
|
||||
except KeyError:
|
||||
archive_name = ""
|
||||
break
|
||||
else:
|
||||
if t["TID"] == tid:
|
||||
try:
|
||||
archive_name = t["Archive Name"]
|
||||
break
|
||||
except KeyError:
|
||||
archive_name = ""
|
||||
break
|
||||
titles.append(BatchTitleData(tid, title_version, console, archive_name))
|
||||
self.lock_ui()
|
||||
worker = Worker(run_nus_download_batch, out_folder, titles, self.ui.pack_archive_chkbox.isChecked(),
|
||||
self.ui.keep_enc_chkbox.isChecked(), self.ui.create_dec_chkbox.isChecked(),
|
||||
self.ui.use_wiiu_nus_chkbox.isChecked(), self.ui.use_local_chkbox.isChecked(),
|
||||
self.ui.pack_vwii_mode_chkbox.isChecked(), self.ui.patch_ios_chkbox.isChecked())
|
||||
worker.signals.result.connect(self.check_batch_result)
|
||||
worker.signals.progress.connect(self.update_log_text)
|
||||
self.threadpool.start(worker)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = QApplication(sys.argv)
|
||||
@@ -592,15 +486,15 @@ if __name__ == "__main__":
|
||||
sub_key = r'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders'
|
||||
downloads_guid = '{374DE290-123F-4565-9164-39C4925E467B}'
|
||||
with winreg.OpenKey(winreg.HKEY_CURRENT_USER, sub_key) as key:
|
||||
location = winreg.QueryValueEx(key, downloads_guid)[0]
|
||||
location = pathlib.Path(winreg.QueryValueEx(key, downloads_guid)[0])
|
||||
else:
|
||||
location = os.path.join(os.path.expanduser('~'), 'Downloads')
|
||||
location = pathlib.Path(os.path.expanduser('~')).joinpath('Downloads')
|
||||
# Build the path by combining the path to the Downloads photo with "NUSGet".
|
||||
out_folder = os.path.join(location, "NUSGet")
|
||||
out_folder = location.joinpath("NUSGet")
|
||||
# Create the "NUSGet" directory if it doesn't exist. In the future, this will be user-customizable, but this works
|
||||
# for now, and avoids the issues from when it used to use a directory next to the binary (mostly on macOS).
|
||||
if not os.path.isdir(out_folder):
|
||||
os.mkdir(out_folder)
|
||||
if not out_folder.is_dir():
|
||||
out_folder.mkdir()
|
||||
|
||||
# Load the system plugins directory on Linux for system styles, if it exists. Try using Breeze if available, because
|
||||
# it looks nice, but fallback on kvantum if it isn't, since kvantum is likely to exist. If all else fails, fusion.
|
||||
@@ -618,7 +512,7 @@ if __name__ == "__main__":
|
||||
if translator.load(QLocale.system(), 'qtbase', '_', path):
|
||||
app.installTranslator(translator)
|
||||
translator = QTranslator(app)
|
||||
path = 'resources/translations'
|
||||
path = os.path.join(os.path.dirname(__file__), "resources/translations")
|
||||
if translator.load(QLocale.system(), 'nusget', '_', path):
|
||||
app.installTranslator(translator)
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
{
|
||||
"files": [
|
||||
"NUSGet.py",
|
||||
"./qt/py/ui_MainMenu.py",
|
||||
"./modules/core.py",
|
||||
"./qt/ui/MainMenu.ui",
|
||||
"./resources/translations/nusget_es.ts",
|
||||
"./resources/translations/nusget_no.ts",
|
||||
"./resources/translations/nusget_nb.ts",
|
||||
"./resources/translations/nusget_fr.ts",
|
||||
"./resources/translations/nusget_it.ts"
|
||||
"./resources/translations/nusget_it.ts",
|
||||
"./resources/translations/nusget_de.ts",
|
||||
"./resources/translations/nusget_ro.ts",
|
||||
"./resources/translations/nusget_ko.ts"
|
||||
]
|
||||
}
|
||||
|
||||
71
README.md
71
README.md
@@ -1,58 +1,77 @@
|
||||
# NUSGet
|
||||
A modern and supercharged NUS downloader built with Python and Qt6. Powered by libWiiPy and libTWLPy.
|
||||
# NUSGet After Dark
|
||||
A modern and supercharged NUS downloader built with Python and Qt6. Powered by libWiiPy and libTWLPy. Fork with features not acceptable for prod.
|
||||
|
||||
[](https://github.com/NinjaCheetah/NUSGet/actions/workflows/python-build.yml)
|
||||
|
||||
The name is a play on NuGet, the .NET package manager. Thank you [@Janni9009](https://github.com/Janni9009) for the name idea!
|
||||
|
||||
## Features
|
||||
NUSDGet allows you to download any content from the Nintendo Update Servers. Free content (content with a Ticket freely available on the servers) can be decrypted or packed directly into an installable archive (WAD/TAD).
|
||||
NUSGet allows you to download any content from the Nintendo Update Servers. Free content (content with a Ticket freely available on the servers) can be decrypted or packed directly into an installable archive (WAD/TAD).
|
||||
|
||||
NUSGet also offers the ability to create vWii WADs that can be installed from within vWii mode, since the content directly from the update servers is only designed to be installed from Wii U mode.
|
||||
|
||||
The following features are available for all supported consoles:
|
||||
- Downloading encrypted contents (files like `00000000`, `00000001`, etc.) directly from the update servers for any title.
|
||||
- Creating decrypted contents (*.app files) from the encrypted contents on the servers. Only supported for free titles.
|
||||
- Creating decrypted contents (*.app files) from the encrypted contents on the servers.
|
||||
- Scripting support, allowing you to perform batch downloads of any titles for the Wii, vWii, or DSi in one script. (See `example-script.json` for an example of the scripting format.)
|
||||
|
||||
**For Wii and vWii titles only:**
|
||||
- "Pack installable archive (WAD/TAD)": Pack the encrypted contents, TMD, and Ticket into a WAD file that can be installed on a Wii or in Dolphin Emulator. Only supported for free titles.
|
||||
- "Pack installable archive (WAD/TAD)": Pack the encrypted contents, TMD, and Ticket into a WAD file that can be installed on a Wii or in Dolphin Emulator.
|
||||
- Forging Tickets for titles without a common Ticket available on the NUS by using the Title Key algorithm to derive the key needed to decrypt the title.
|
||||
|
||||
**For vWii titles only:**
|
||||
- "Pack for vWii mode instead of Wii U mode": Re-encrpyt the Title Key in a vWii title's Ticket before packing a WAD, so that the WAD can be installed from inside the vWii on a Wii U. **This also creates WADs that can be installed directly in Dolphin, allowing for running the vWii System Menu in Dolphin without a vWii NAND dump!**
|
||||
- "Re-encrypt title using the Wii Common Key": Re-encrypt the Title Key in a vWii title's Ticket before packing the WAD, so that the WAD can be installed via a normal WAD manager on the vWii, and can be extracted with legacy tools. **This also creates WADs that can be installed directly in Dolphin, allowing for running the vWii System Menu in Dolphin without a vWii NAND dump!**
|
||||
|
||||
**For DSi titles only:**
|
||||
- "Pack installable archive (WAD/TAD)": Pack the encrypted contents, TMD, and Ticket into a TAD file that can be installed on a TAD or in a DSi-capable emulator. Only supported for free titles. For real hardware, these titles can be installed using [@rvtr](https://github.com/rvtr)'s handy [TAD Delivery Tool](https://github.com/rvtr/TDT).
|
||||
|
||||
## Using NUSGet
|
||||
For basic usage on all platforms, you can download the latest release for your operating system from [here](https://github.com/NinjaCheetah/NUSGet/releases/latest), and then run the executable.
|
||||
|
||||
**Platform-Specific Notes:**
|
||||
- **macOS:** To use NUSGet on macOS, you'll need to either open NUSGet.app using right-click -> Open, or by using the terminal command `xattr -d com.apple.quarantine NUSGet.app`. After doing either of those things once, you'll be able to double-click NUSGet to open it like you normally would for an app. Note that changes in macOS Sequoia require using the latter method.
|
||||
- **Windows:** On Windows, you'll likely need to allow NUSGet.exe in your antivirus program. This includes Windows Defender, which is almost guaranteed to prevent the app from being run. This is not because NUSGet is malicious in any way, it's just that NUSGet isn't popular enough to be "known" to Windows, and I don't have the expensive signing certificate necessary to work around this. If you're in doubt, you can look at all of NUSGet's code in this repository.
|
||||
- **Linux:** No special information applies on Linux, however you can build NUSGet yourself if you'd like to have it as an installed application with an icon that will appear in your favorite application launcher. See [here](https://github.com/NinjaCheetah/NUSGet?tab=readme-ov-file#for-linux-users) for more information.
|
||||
|
||||
## Building
|
||||
### System Requirements
|
||||
- **Windows:** Python 3.11 (Requires Windows 8.1 or later)
|
||||
- **Linux:** Python 3.11
|
||||
- **macOS:** Python 3.11 (Requires macOS 10.9 or later, however macOS 11.0 or later may be required for library support)
|
||||
- **Windows:** Python 3.12 (Requires Windows 8.1 or later)
|
||||
- **Linux:** Python 3.12
|
||||
- **macOS:** Python 3.12 (Requires macOS 10.9 or later, however macOS 11.0 or later may be required for library support)
|
||||
|
||||
**Python 3.12 is not supported at this time.**
|
||||
First, make sure you're inside a venv, and then install the required dependencies:
|
||||
```shell
|
||||
pip install --upgrade -r requirements.txt
|
||||
```
|
||||
After that, follow the directions for your platform.
|
||||
|
||||
First, install the required dependencies:
|
||||
```
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
Then, use the command for your platform to build an executable with Nuitka:
|
||||
|
||||
**Windows**
|
||||
```
|
||||
nuitka --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --windows-icon-from-ico=resources/icon.png --plugin-enable=pyside6 NUSGet.py --windows-console-mode=disable
|
||||
### Linux and macOS
|
||||
A Makefile is available to build NUSGet on Linux and macOS. **On Linux**, this will give you an executable named `NUSGet` in the root of the project directory. **On macOS**, you'll instead get an application bundle named `NUSGet.app`.
|
||||
```shell
|
||||
make all
|
||||
```
|
||||
|
||||
**Linux**
|
||||
Optionally, **on Linux**, you can install NUSGet so that it's available system-wide. This will install it into `/opt/NUSGet/`.
|
||||
```shell
|
||||
sudo make install
|
||||
```
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
|
||||
On macOS, you can instead put the application bundle in `/Applications/` just like any other program.
|
||||
|
||||
### Windows
|
||||
On Windows, you can use the PowerShell script `Build.ps1` in place of the Makefile. This will give you an executable named `NUSGet.exe` in the root of the project directory.
|
||||
```shell
|
||||
.\Build.ps1
|
||||
```
|
||||
|
||||
**macOS**
|
||||
```
|
||||
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py --macos-create-app-bundle --macos-app-icon=resources/icon.png
|
||||
```
|
||||
## Translations
|
||||
A huge thanks to all the wonderful translators who've helped make NUSGet available to more people!
|
||||
- **German:** [@yeah-its-gloria](https://github.com/yeah-its-gloria)
|
||||
- **Italian:** [@LNLenost](https://github.com/LNLenost)
|
||||
- **Korean:** [@DDinghoya](https://github.com/DDinghoya)
|
||||
- **Norwegian:** [@Rolfie](https://github.com/rolfiee)
|
||||
- **Romanian:** [@NotImplementedLife](https://github.com/NotImplementedLife)
|
||||
|
||||
The result will be a single binary named `NUSGet` that contains everything required to run NUSGet. No dependencies are needed on the target system.
|
||||
If your language isn't present or is out of date, and you'd like to contribute, you can check out [TRANSLATING.md](https://github.com/NinjaCheetah/NUSGet/blob/main/TRANSLATING.md) for directions on how to translate NUSGet.
|
||||
|
||||
|
||||
## Why this and not NUSD?
|
||||
|
||||
35
TRANSLATING.md
Normal file
35
TRANSLATING.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Translating NUSGet
|
||||
Since v1.2.0, NUSGet has support for loading Qt translation files. If you'd like to translate NUSGet into your language, see the following directions.
|
||||
|
||||
### 1. Get Qt Linguist
|
||||
The first thing you'll need to get is Qt Linguist.
|
||||
|
||||
For Windows and macOS users, this comes included with a normal Qt install. You'll want to get the official online Qt installer for open-source development, which is free and can be obtained [here](https://www.qt.io/download-qt-installer-oss). You do **not** need the paid/commercial version of Qt, as NUSGet is free software and is developed with the OSS version of Qt.
|
||||
|
||||
For Linux users, you'll likely be able to get Qt's development tools, including Qt Linguist, via your system package manager. You **must** get the Qt 6 version of the development tools, not the Qt 5 version. On Arch, for example, the package you'll need is `qt6-tools`. Depending on how the package is handled, Linguist may not appear in your application menu. If that's the case, you can start it by running `linguist6`.
|
||||
|
||||
|
||||
### 2. Load Your Translation
|
||||
NUSGet's raw translation files are stored in `resources/translations/`.
|
||||
|
||||
If your language doesn't already exist, open up `NUSGet.pyproject` and add a new line for your language. These files must follow the standard two-letter language codes, and you must provide the full path to the file, like with the existing entries. An example entry for Spanish would look like this:
|
||||
```json
|
||||
"./resources/translations/nusget_es.ts"
|
||||
```
|
||||
|
||||
If your language already exists, or if you just added it, run `python update_translations.py` to generate any new translation files and update existing ones.
|
||||
|
||||
Once your translation file is ready, open it up in Qt Linguist. You should see NUSGet's interface on the right, so you have the context of where these strings are being used.
|
||||
|
||||
|
||||
### 3. Translate
|
||||
Qt Linguist will show you a list of all strings that need to be translated, along with their status. For strings that are part of the UI, the corresponding UI element will be shown so that you know what you're translating. For strings only present in the code, the code will be shown instead, which can generally be ignored.
|
||||
|
||||
When you've finished with your translations (or if you just want to test them), head back to the project and run `python build_translations.py`, which will build the translations to QM files in the same directory as the original TS files. These files are packaged as part of the executable when you build NUSGet, and are the actual resources that Qt loads the translations from at runtime.
|
||||
|
||||
|
||||
### 4. Submit Your Changes
|
||||
Once you've finished with your translations, open a new pull request on NUSGet's repo with your changes, and make sure to use the `translations` label. Please **do not** submit any unrelated changes as part of a translation pull request. Other changes should be submitted separately.
|
||||
|
||||
|
||||
If you have any questions about translations, feel free to reach out and ask for help.
|
||||
26
build_translations.py
Normal file
26
build_translations.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# "build_translations.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
# This script exists to work around an issue in PySide6 where the "pyside6-project build" command incorrectly places
|
||||
# translation files in the root of the project directory while building.
|
||||
|
||||
import json
|
||||
import pathlib
|
||||
import subprocess
|
||||
|
||||
|
||||
LRELEASE_CMD = "pyside6-lrelease"
|
||||
|
||||
|
||||
pyproject_file = pathlib.Path("NUSGet.pyproject")
|
||||
pyproject = json.load(open(pyproject_file, "r"))
|
||||
files = []
|
||||
for key in pyproject["files"]:
|
||||
files.append(pathlib.Path(key))
|
||||
ts_files = []
|
||||
for file in files:
|
||||
if file.suffix == ".ts":
|
||||
ts_files.append(file)
|
||||
|
||||
for translation in ts_files:
|
||||
cmd = [LRELEASE_CMD] + [translation] + ["-qm"] + [translation.with_suffix(".qm")]
|
||||
subprocess.run(cmd, cwd=str(pyproject_file.parent))
|
||||
@@ -7,7 +7,7 @@
|
||||
"World": [256, 512]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Nintendo-DS-Cartridge-Whitelist-NUS"
|
||||
"Archive Name": "Nintendo-DS-Cartridge-Whitelist"
|
||||
},
|
||||
{
|
||||
"Name": "Launcher (System Menu)",
|
||||
@@ -21,7 +21,7 @@
|
||||
"Australia/NZ": [512, 768, 1024, 1280, 1536, 1792]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Launcher-NUS",
|
||||
"Archive Name": "Launcher",
|
||||
"Danger": "The Launcher (DSi Menu) is a critical part of the DSi's operation, and should not be modified unless you have Unlaunch installed."
|
||||
},
|
||||
{
|
||||
@@ -36,7 +36,7 @@
|
||||
"Australia/NZ": [3, 4, 5, 6, 7, 8, 9]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Version-Data-NUS"
|
||||
"Archive Name": "Version-Data"
|
||||
},
|
||||
{
|
||||
"Name": "WiFi Firmware",
|
||||
@@ -45,7 +45,7 @@
|
||||
"World": [256, 512]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "WiFi-Firmware-NUS",
|
||||
"Archive Name": "WiFi-Firmware",
|
||||
"Danger": "The WiFi Firmware is the firmware that runs on the DSi's WiFi chip, and should not be modified. Your console WILL be bricked if this title is damaged or missing."
|
||||
}
|
||||
],
|
||||
@@ -57,7 +57,7 @@
|
||||
"World": [256]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "DS-Download-Play-NUS"
|
||||
"Archive Name": "DS-Download-Play"
|
||||
},
|
||||
{
|
||||
"Name": "Flipnote Studio",
|
||||
@@ -68,7 +68,7 @@
|
||||
"Japan": [512]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Flipnote-Studio-NUS"
|
||||
"Archive Name": "Flipnote-Studio"
|
||||
},
|
||||
{
|
||||
"Name": "Nintendo 3DS Transfer Tool",
|
||||
@@ -81,7 +81,7 @@
|
||||
"Australia/NZ": [512, 768]
|
||||
},
|
||||
"Ticket": false,
|
||||
"TAD Name": "Nintendo-3DS-Transfer-Tool-NUS"
|
||||
"Archive Name": "Nintendo-3DS-Transfer-Tool"
|
||||
},
|
||||
{
|
||||
"Name": "Nintendo DSi Browser",
|
||||
@@ -92,7 +92,7 @@
|
||||
"Japan": [768]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Nintendo-DSi-Browser-NUS"
|
||||
"Archive Name": "Nintendo-DSi-Browser"
|
||||
},
|
||||
{
|
||||
"Name": "Nintendo DSi Camera",
|
||||
@@ -104,7 +104,7 @@
|
||||
"Australia/NZ": [768, 1024]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Nintendo-DSi-Camera-NUS"
|
||||
"Archive Name": "Nintendo-DSi-Camera"
|
||||
},
|
||||
{
|
||||
"Name": "Nintendo DSi Shop",
|
||||
@@ -118,7 +118,7 @@
|
||||
"Australia/NZ": [1536, 1792, 2048, 2304, 2560, 2816, 3072]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Nintendo-DSi-Shop-NUS"
|
||||
"Archive Name": "Nintendo-DSi-Shop"
|
||||
},
|
||||
{
|
||||
"Name": "Nintendo DSi Sound",
|
||||
@@ -130,7 +130,7 @@
|
||||
"Australia/NZ": [256, 512]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Nintendo-DSi-Sound-NUS"
|
||||
"Archive Name": "Nintendo-DSi-Sound"
|
||||
},
|
||||
{
|
||||
"Name": "Nintendo Zone",
|
||||
@@ -142,7 +142,7 @@
|
||||
"Australia/NZ": [512, 768]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "Nintendo-DSi-Sound-NUS"
|
||||
"Archive Name": "Nintendo-DSi-Sound"
|
||||
},
|
||||
{
|
||||
"Name": "System Settings",
|
||||
@@ -156,7 +156,7 @@
|
||||
"Australia/NZ": [512, 768]
|
||||
},
|
||||
"Ticket": true,
|
||||
"TAD Name": "System-Settings-NUS"
|
||||
"Archive Name": "System-Settings"
|
||||
}
|
||||
],
|
||||
"DSiWare": [
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
"World": [6, 7]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "BC-NAND-NUS",
|
||||
"Danger": "BC-NAND is required for the Wii U to be able to boot any vWii titles. DO NOT modify it, or your Wii U will no longer be able to load the vWii."
|
||||
"Archive Name": "BC-NAND",
|
||||
"Danger": "BC-NAND is required for the Wii U to boot Wii titles. DO NOT modify it, or your Wii U will no longer be able to enter Wii mode."
|
||||
},
|
||||
{
|
||||
"Name": "BC-WFS",
|
||||
@@ -17,8 +17,8 @@
|
||||
"World": [1]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "BC-WFS-NUS",
|
||||
"Danger": "BC-WFS is required for the Wii U to be able to boot Dragon Quest X Online. While not generally essential, this is a system title and should not be modified."
|
||||
"Archive Name": "BC-WFS",
|
||||
"Danger": "BC-WFS is required for the Wii U to be able to boot Dragon Quest X Online. Do NOT modify it, or your Wii U may experience issues with Wii mode."
|
||||
},
|
||||
{
|
||||
"Name": "System Menu",
|
||||
@@ -29,8 +29,19 @@
|
||||
"Japan": [512, 544, 608]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "vWii-System-Menu",
|
||||
"Danger": "The System Menu is a critical part of the vWii's operation, and should not be modified. If you intend to modify it, you should have Preloader installed, or else you may not be able to use the vWii."
|
||||
"Archive Name": "System-Menu",
|
||||
"Danger": "The System Menu is a critical part of the vWii's operation, and should not be modified. If you intend to modify it, you should have Preloader installed, or else you may not be able to use the vWii.",
|
||||
"Public Versions": {
|
||||
"512": "4.3J - Wii U v1.0.0J",
|
||||
"513": "4.3U - Wii U v1.0.0U",
|
||||
"514": "4.3E - Wii U v1.0.0E",
|
||||
"544": "4.3J - Wii U v4.0.0J",
|
||||
"545": "4.3U - Wii U v4.0.0U",
|
||||
"546": "4.3E - Wii U v4.0.0E",
|
||||
"608": "4.3J - Wii U v5.2.0J",
|
||||
"609": "4.3U - Wii U v5.2.0U",
|
||||
"610": "4.3E - Wii U v5.2.0E"
|
||||
}
|
||||
}
|
||||
],
|
||||
"System Channels": [
|
||||
@@ -41,19 +52,7 @@
|
||||
"World": [6]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "Mii-Channel-NUS"
|
||||
},
|
||||
{
|
||||
"Name": "Region Select",
|
||||
"TID": "0007000848414CXX",
|
||||
"Versions": {
|
||||
"USA/NTSC": [2],
|
||||
"Europe/PAL": [2],
|
||||
"Japan": [2]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "Region-Select-NUS",
|
||||
"Danger": "\"Region Select\" is a hidden channel used during the Wii's initial setup. If this title is damaged or missing, you will not be able to set up your Wii again after a factory reset."
|
||||
"Archive Name": "Mii-Channel"
|
||||
},
|
||||
{
|
||||
"Name": "Shopping Channel",
|
||||
@@ -62,7 +61,7 @@
|
||||
"World": [21]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "Shopping-Channel-NUS"
|
||||
"Archive Name": "Shopping-Channel"
|
||||
},
|
||||
{
|
||||
"Name": "Return to Wii U Menu",
|
||||
@@ -71,7 +70,7 @@
|
||||
"World": [0]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "Return-to-Wii-U-Menu-NUS",
|
||||
"Archive Name": "Return-to-Wii-U-Menu",
|
||||
"Danger": "\"Return to Wii U Menu\" is the channel launched from the vWii menu to reboot your console back into Wii U mode. While it generally should not be modified, modifying or removing it will not prevent the vWii from working."
|
||||
},
|
||||
{
|
||||
@@ -83,7 +82,21 @@
|
||||
"Japan": [0, 1, 2, 3, 5]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "Wii-Electronic-Manual-NUS"
|
||||
"Archive Name": "Wii-Electronic-Manual"
|
||||
}
|
||||
],
|
||||
"Hidden Channels": [
|
||||
{
|
||||
"Name": "Region Select",
|
||||
"TID": "0007000848414CXX",
|
||||
"Versions": {
|
||||
"USA/NTSC": [2],
|
||||
"Europe/PAL": [2],
|
||||
"Japan": [2]
|
||||
},
|
||||
"Ticket": true,
|
||||
"Archive Name": "Region-Select",
|
||||
"Danger": "\"Region Select\" is a hidden channel used during the Wii's initial setup. If this title is damaged or missing, you will not be able to set up your Wii again after a factory reset."
|
||||
},
|
||||
{
|
||||
"Name": "Wii System Transfer (WagonCompat)",
|
||||
@@ -94,7 +107,7 @@
|
||||
"Japan": [29, 31]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "Wii-System-Transfer-WC-NUS",
|
||||
"Archive Name": "Wii-System-Transfer-WC",
|
||||
"Danger": "Note: It is currently unknown how this channel works, but it is involved somehow in the Wii to vWii transfer process. It is recommended to not modify it. Also note that this is separate from the normal, non-hidden channel \"Wii System Transfer Tool\" that works alongside \"Wii U Transfer Tool\" on a source Wii."
|
||||
}
|
||||
],
|
||||
@@ -108,7 +121,7 @@
|
||||
"Japan": [516]
|
||||
},
|
||||
"Ticket": false,
|
||||
"WAD Name": "Wii-System-Transfer-Tool-WNP-NUS"
|
||||
"Archive Name": "Wii-System-Transfer-Tool-WNP"
|
||||
}
|
||||
],
|
||||
"IOS": [
|
||||
@@ -119,7 +132,7 @@
|
||||
"World": [1290]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS9-64-vWii"
|
||||
"Archive Name": "IOS9"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 12",
|
||||
@@ -128,7 +141,7 @@
|
||||
"World": [782]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS12-64-vWii"
|
||||
"Archive Name": "IOS12"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 13",
|
||||
@@ -137,7 +150,7 @@
|
||||
"World": [1288]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS13-64-vWii"
|
||||
"Archive Name": "IOS13"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 14",
|
||||
@@ -146,7 +159,7 @@
|
||||
"World": [1288]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS14-64-vWii"
|
||||
"Archive Name": "IOS14"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 15",
|
||||
@@ -155,7 +168,7 @@
|
||||
"World": [1288]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS15-64-vWii"
|
||||
"Archive Name": "IOS15"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 17",
|
||||
@@ -164,7 +177,7 @@
|
||||
"World": [1288]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS17-64-vWii"
|
||||
"Archive Name": "IOS17"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 21",
|
||||
@@ -173,7 +186,7 @@
|
||||
"World": [1295]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS21-64-vWii"
|
||||
"Archive Name": "IOS21"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 22",
|
||||
@@ -182,7 +195,7 @@
|
||||
"World": [1550]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS22-64-vWii"
|
||||
"Archive Name": "IOS22"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 28",
|
||||
@@ -191,7 +204,7 @@
|
||||
"World": [2063]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS28-64-vWii"
|
||||
"Archive Name": "IOS28"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 31",
|
||||
@@ -200,7 +213,7 @@
|
||||
"World": [3864]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS31-64-vWii"
|
||||
"Archive Name": "IOS31"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 33",
|
||||
@@ -209,7 +222,7 @@
|
||||
"World": [3864]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS33-64-vWii"
|
||||
"Archive Name": "IOS33"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 34",
|
||||
@@ -218,7 +231,7 @@
|
||||
"World": [3864]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS34-64-vWii"
|
||||
"Archive Name": "IOS34"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 35",
|
||||
@@ -227,7 +240,7 @@
|
||||
"World": [3864]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS35-64-vWii"
|
||||
"Archive Name": "IOS35"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 36",
|
||||
@@ -236,7 +249,7 @@
|
||||
"World": [3864]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS36-64-vWii"
|
||||
"Archive Name": "IOS36"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 37",
|
||||
@@ -245,7 +258,7 @@
|
||||
"World": [5919]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS37-64-vWii"
|
||||
"Archive Name": "IOS37"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 38",
|
||||
@@ -254,7 +267,7 @@
|
||||
"World": [4380]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS38-64-vWii"
|
||||
"Archive Name": "IOS38"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 41",
|
||||
@@ -263,7 +276,7 @@
|
||||
"World": [3863]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS41-64-vWii"
|
||||
"Archive Name": "IOS41"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 43",
|
||||
@@ -272,7 +285,7 @@
|
||||
"World": [3863]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS43-64-vWii"
|
||||
"Archive Name": "IOS43"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 45",
|
||||
@@ -281,7 +294,7 @@
|
||||
"World": [3863]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS45-64-vWii"
|
||||
"Archive Name": "IOS45"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 46",
|
||||
@@ -290,7 +303,7 @@
|
||||
"World": [3863]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS46-64-vWii"
|
||||
"Archive Name": "IOS46"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 48",
|
||||
@@ -299,7 +312,7 @@
|
||||
"World": [4380]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS48-64-vWii"
|
||||
"Archive Name": "IOS48"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 53",
|
||||
@@ -308,7 +321,7 @@
|
||||
"World": [5919]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS53-64-vWii"
|
||||
"Archive Name": "IOS53"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 55",
|
||||
@@ -317,7 +330,7 @@
|
||||
"World": [5919]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS55-64-vWii"
|
||||
"Archive Name": "IOS55"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 56",
|
||||
@@ -326,7 +339,7 @@
|
||||
"World": [5918]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS56-64-vWii"
|
||||
"Archive Name": "IOS56"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 57",
|
||||
@@ -335,7 +348,7 @@
|
||||
"World": [6175]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS57-64-vWii"
|
||||
"Archive Name": "IOS57"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 58",
|
||||
@@ -344,7 +357,7 @@
|
||||
"World": [6432]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS58-64-vWii"
|
||||
"Archive Name": "IOS58"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 59",
|
||||
@@ -353,7 +366,7 @@
|
||||
"World": [7201, 8737, 9249]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS59-64-vWii"
|
||||
"Archive Name": "IOS59"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 62",
|
||||
@@ -362,7 +375,7 @@
|
||||
"World": [6430, 6686, 6942]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS62-64-vWii"
|
||||
"Archive Name": "IOS62"
|
||||
},
|
||||
{
|
||||
"Name": "IOS 80",
|
||||
@@ -371,7 +384,7 @@
|
||||
"World": [7200]
|
||||
},
|
||||
"Ticket": true,
|
||||
"WAD Name": "IOS80-64-vWii"
|
||||
"Archive Name": "IOS80"
|
||||
}
|
||||
]
|
||||
}
|
||||
11114
data/wii-database.json
11114
data/wii-database.json
File diff suppressed because it is too large
Load Diff
16
example-script.json
Normal file
16
example-script.json
Normal file
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"Title ID": "0000000100000050",
|
||||
"Console": "Wii"
|
||||
},
|
||||
{
|
||||
"Title ID": "0000000100000002",
|
||||
"Version": 518,
|
||||
"Console": "Wii"
|
||||
},
|
||||
{
|
||||
"Title ID": "00030017484E4145",
|
||||
"Version": 1792,
|
||||
"Console": "DSi"
|
||||
}
|
||||
]
|
||||
54
modules/core.py
Normal file
54
modules/core.py
Normal file
@@ -0,0 +1,54 @@
|
||||
# "modules/core.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
|
||||
import requests
|
||||
from dataclasses import dataclass
|
||||
from typing import List
|
||||
|
||||
|
||||
@dataclass
|
||||
class TitleData:
|
||||
# Class to store all data for a Title.
|
||||
tid: str
|
||||
name: str
|
||||
archive_name: str
|
||||
version: str
|
||||
ticket: bool
|
||||
region: str
|
||||
category: str
|
||||
danger: str
|
||||
|
||||
|
||||
@dataclass
|
||||
class BatchTitleData:
|
||||
# Class to store all data for a Title in a batch operation.
|
||||
tid: str
|
||||
version: int
|
||||
console: str
|
||||
archive_name: str
|
||||
|
||||
|
||||
@dataclass
|
||||
class BatchResults:
|
||||
# Class to store the results of a batch download.
|
||||
code: int
|
||||
warning_titles: List[str]
|
||||
failed_titles: List[str]
|
||||
|
||||
|
||||
def check_nusget_updates(app, current_version: str, progress_callback=None) -> str | None:
|
||||
# Simple function to make a request to the GitHub API and then check if the latest available version is newer.
|
||||
gh_api_request = requests.get(url="https://api.github.com/repos/NinjaCheetah/NUSGet/releases/latest", stream=True)
|
||||
if gh_api_request.status_code != 200:
|
||||
progress_callback.emit(app.translate("MainWindow", "\n\nCould not check for updates."))
|
||||
else:
|
||||
api_response = gh_api_request.json()
|
||||
new_version: str = api_response["tag_name"].replace('v', '')
|
||||
new_version_split = new_version.split('.')
|
||||
current_version_split = current_version.split('.')
|
||||
for place in range(len(new_version_split)):
|
||||
if new_version_split[place] > current_version_split[place]:
|
||||
progress_callback.emit(app.translate("MainWindow", "\n\nThere's a newer version of NUSGet available!"))
|
||||
return new_version
|
||||
progress_callback.emit(app.translate("MainWindow", "\n\nYou're running the latest release of NUSGet."))
|
||||
return None
|
||||
57
modules/download_batch.py
Normal file
57
modules/download_batch.py
Normal file
@@ -0,0 +1,57 @@
|
||||
# "modules/download_batch.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
|
||||
import pathlib
|
||||
from typing import List
|
||||
from modules.core import BatchTitleData, BatchResults
|
||||
from modules.download_dsi import run_nus_download_dsi
|
||||
from modules.download_wii import run_nus_download_wii
|
||||
|
||||
|
||||
def run_nus_download_batch(out_folder: pathlib.Path, titles: List[BatchTitleData], pack_wad_chkbox: bool,
|
||||
keep_enc_chkbox: bool, decrypt_contents_chkbox: bool, wiiu_nus_chkbox: bool,
|
||||
use_local_chkbox: bool, repack_vwii_chkbox: bool, patch_ios: bool,
|
||||
progress_callback=None) -> BatchResults:
|
||||
result = 0
|
||||
warning_titles = []
|
||||
failed_titles = []
|
||||
for title in titles:
|
||||
if title.version == -1:
|
||||
version_str = "Latest"
|
||||
else:
|
||||
version_str = str(title.version)
|
||||
if title.console == "Wii" or title.console == "vWii":
|
||||
if title.archive_name != "":
|
||||
archive_name = f"{title.archive_name}-v{version_str}-{title.console}.wad"
|
||||
else:
|
||||
archive_name = f"{title.tid}-v{version_str}-{title.console}.wad"
|
||||
code = run_nus_download_wii(out_folder, title.tid, version_str, pack_wad_chkbox, keep_enc_chkbox,
|
||||
decrypt_contents_chkbox, wiiu_nus_chkbox, use_local_chkbox, repack_vwii_chkbox,
|
||||
patch_ios, archive_name, progress_callback)
|
||||
if code == 1:
|
||||
# Code 1 means no ticket available, so mark that as a warning title.
|
||||
result = 1
|
||||
warning_titles.append(title.tid)
|
||||
elif code != 0:
|
||||
# Any other non-zero return code means that an error occurred during the download, so mark that as a
|
||||
# failed title.
|
||||
result = 1
|
||||
failed_titles.append(title.tid)
|
||||
elif title.console == "DSi":
|
||||
if title.archive_name != "":
|
||||
archive_name = f"{title.archive_name}-v{version_str}-{title.console}.tad"
|
||||
else:
|
||||
archive_name = f"{title.tid}-v{version_str}-{title.console}.tad"
|
||||
code = run_nus_download_dsi(out_folder, title.tid, version_str, pack_wad_chkbox, keep_enc_chkbox,
|
||||
decrypt_contents_chkbox, use_local_chkbox, archive_name, progress_callback)
|
||||
if code == 1:
|
||||
# Code 1 means no ticket available, so mark that as a warning title.
|
||||
result = 1
|
||||
warning_titles.append(title.tid)
|
||||
elif code != 0:
|
||||
# Any other non-zero return code means that an error occurred during the download, so mark that as a
|
||||
# failed title.
|
||||
result = 1
|
||||
failed_titles.append(title.tid)
|
||||
progress_callback.emit(f"Batch download finished.")
|
||||
return BatchResults(result, warning_titles, failed_titles)
|
||||
116
modules/download_dsi.py
Normal file
116
modules/download_dsi.py
Normal file
@@ -0,0 +1,116 @@
|
||||
# "modules/download_dsi.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
|
||||
import pathlib
|
||||
from typing import List, Tuple
|
||||
|
||||
import libTWLPy
|
||||
|
||||
|
||||
def run_nus_download_dsi(out_folder: pathlib.Path, tid: str, version: str, pack_tad_chkbox: bool, keep_enc_chkbox: bool,
|
||||
decrypt_contents_chkbox: bool, use_local_chkbox: bool, tad_file_name: str,
|
||||
progress_callback=None):
|
||||
# Actual NUS download function that runs in a separate thread, but DSi flavored.
|
||||
# Immediately knock out any invalidly formatted Title IDs.
|
||||
if len(tid) != 16:
|
||||
return -1
|
||||
# An error here is acceptable, because it may just mean the box is empty. Or the version string is nonsense.
|
||||
# Either way, just fall back on downloading the latest version of the title.
|
||||
try:
|
||||
title_version = int(version)
|
||||
except ValueError:
|
||||
title_version = None
|
||||
# Set variables for these two options so that their state can be compared against the user's choices later.
|
||||
pack_tad_enabled = pack_tad_chkbox
|
||||
decrypt_contents_enabled = decrypt_contents_chkbox
|
||||
# Create a new libTWLPy Title.
|
||||
title = libTWLPy.Title()
|
||||
# Make a directory for this title if it doesn't exist.
|
||||
title_dir = out_folder.joinpath(tid)
|
||||
title_dir.mkdir(exist_ok=True)
|
||||
# Announce the title being downloaded, and the version if applicable.
|
||||
if title_version is not None:
|
||||
progress_callback.emit(f"Downloading title {tid} v{title_version}, please wait...")
|
||||
else:
|
||||
progress_callback.emit(f"Downloading title {tid} vLatest, please wait...")
|
||||
progress_callback.emit(" - Downloading and parsing TMD...")
|
||||
# Download a specific TMD version if a version was specified, otherwise just download the latest TMD.
|
||||
try:
|
||||
if title_version is not None:
|
||||
title.load_tmd(libTWLPy.download_tmd(tid, title_version))
|
||||
else:
|
||||
title.load_tmd(libTWLPy.download_tmd(tid))
|
||||
title_version = title.tmd.title_version
|
||||
# If libTWLPy returns an error, that means that either the TID or version doesn't exist, so return code -2.
|
||||
except ValueError:
|
||||
return -2
|
||||
# Make a directory for this version if it doesn't exist.
|
||||
version_dir = title_dir.joinpath(str(title_version))
|
||||
version_dir.mkdir(exist_ok=True)
|
||||
# Write out the TMD to a file.
|
||||
version_dir.joinpath(f"tmd.{title_version}").write_bytes(title.tmd.dump())
|
||||
# Use a local ticket, if one exists and "use local files" is enabled.
|
||||
if use_local_chkbox and version_dir.joinpath("tik").exists():
|
||||
progress_callback.emit(" - Parsing local copy of Ticket...")
|
||||
title.load_ticket(version_dir.joinpath("tik").read_bytes())
|
||||
else:
|
||||
progress_callback.emit(" - Downloading and parsing Ticket...")
|
||||
try:
|
||||
title.load_ticket(libTWLPy.download_ticket(tid))
|
||||
version_dir.joinpath("tik").write_bytes(title.ticket.dump())
|
||||
except ValueError:
|
||||
# If libTWLPy returns an error, then no ticket is available. Log this, and disable options requiring a
|
||||
# ticket so that they aren't attempted later.
|
||||
progress_callback.emit(" - No Ticket is available!")
|
||||
pack_tad_enabled = False
|
||||
decrypt_contents_enabled = False
|
||||
# Load the content record from the TMD, and download the content it lists. DSi titles only have one content.
|
||||
title.load_content_records()
|
||||
content_file_name = f"{title.tmd.content_record.content_id:08X}"
|
||||
# Check for a local copy of the current content if "use local files" is enabled, and use it.
|
||||
if use_local_chkbox and version_dir.joinpath(content_file_name).exists():
|
||||
progress_callback.emit(" - Using local copy of content")
|
||||
content = version_dir.joinpath(content_file_name).read_bytes()
|
||||
else:
|
||||
progress_callback.emit(f" - Downloading content (Content ID: {title.tmd.content_record.content_id}, Size: "
|
||||
f"{title.tmd.content_record.content_size} bytes)...")
|
||||
content = libTWLPy.download_content(tid, title.tmd.content_record.content_id)
|
||||
progress_callback.emit(" - Done!")
|
||||
# If keep encrypted contents is on, write out the content after its downloaded.
|
||||
if keep_enc_chkbox is True:
|
||||
version_dir.joinpath(content_file_name).write_bytes(content)
|
||||
title.content.content = content
|
||||
# If decrypt local contents is still true, decrypt the content and write out the decrypted file.
|
||||
if decrypt_contents_enabled is True:
|
||||
try:
|
||||
progress_callback.emit(f" - Decrypting content (Content ID: {title.tmd.content_record.content_id})...")
|
||||
dec_content = title.get_content()
|
||||
content_file_name = f"{title.tmd.content_record.content_id:08X}.app"
|
||||
version_dir.joinpath(content_file_name).write_bytes(dec_content)
|
||||
except ValueError:
|
||||
# If libWiiPy throws an error during decryption, return code -3. This should only be possible if using
|
||||
# local encrypted contents that have been altered at present.
|
||||
return -3
|
||||
# If pack TAD is still true, pack the TMD, ticket, and content into a TAD.
|
||||
if pack_tad_enabled is True:
|
||||
# Get the TAD certificate chain, courtesy of libTWLPy.
|
||||
progress_callback.emit(" - Building certificate...")
|
||||
title.tad.set_cert_data(libTWLPy.download_cert())
|
||||
# Use a typed TAD name if there is one, and auto generate one based on the TID and version if there isn't.
|
||||
progress_callback.emit("Packing TAD...")
|
||||
if tad_file_name != "" and tad_file_name is not None:
|
||||
# Batch downloads may insert -vLatest, so if it did we can fill in the real number now.
|
||||
tad_file_name = tad_file_name.replace("-vLatest", f"-v{title_version}")
|
||||
if tad_file_name[-4:].lower() != ".tad":
|
||||
tad_file_name += ".tad"
|
||||
else:
|
||||
tad_file_name = f"{tid}-v{title_version}.tad"
|
||||
# Have libTWLPy dump the TAD, and write that data out.
|
||||
version_dir.joinpath(tad_file_name).write_bytes(title.dump_tad())
|
||||
progress_callback.emit("Download complete!")
|
||||
# This is where the variables come in. If the state of these variables doesn't match the user's choice by this
|
||||
# point, it means that they enabled decryption or TAD packing for a title that doesn't have a ticket. Return
|
||||
# code 1 so that a warning popup is shown informing them of this.
|
||||
if (not pack_tad_enabled and pack_tad_chkbox) or (not decrypt_contents_enabled and decrypt_contents_chkbox):
|
||||
return 1
|
||||
return 0
|
||||
178
modules/download_wii.py
Normal file
178
modules/download_wii.py
Normal file
@@ -0,0 +1,178 @@
|
||||
# "modules/download_wii.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
|
||||
import pathlib
|
||||
from typing import List, Tuple
|
||||
from .tkey import find_tkey
|
||||
import libWiiPy
|
||||
from libWiiPy.title.ticket import _TitleLimit
|
||||
|
||||
|
||||
def run_nus_download_wii(out_folder: pathlib.Path, tid: str, version: str, pack_wad_chkbox: bool, keep_enc_chkbox: bool,
|
||||
decrypt_contents_chkbox: bool, wiiu_nus_chkbox: bool, use_local_chkbox: bool,
|
||||
repack_vwii_chkbox: bool, patch_ios: bool, wad_file_name: str, progress_callback=None):
|
||||
# Actual NUS download function that runs in a separate thread.
|
||||
# Immediately knock out any invalidly formatted Title IDs.
|
||||
if len(tid) != 16:
|
||||
return -1
|
||||
# An error here is acceptable, because it may just mean the box is empty. Or the version string is nonsense.
|
||||
# Either way, just fall back on downloading the latest version of the title.
|
||||
try:
|
||||
title_version = int(version)
|
||||
except ValueError:
|
||||
title_version = None
|
||||
# Set variables for these two options so that their state can be compared against the user's choices later.
|
||||
pack_wad_enabled = pack_wad_chkbox
|
||||
decrypt_contents_enabled = decrypt_contents_chkbox
|
||||
# Check whether we're going to be using the (faster) Wii U NUS or not.
|
||||
wiiu_nus_enabled = wiiu_nus_chkbox
|
||||
# Create a new libWiiPy Title.
|
||||
title = libWiiPy.title.Title()
|
||||
# Make a directory for this title if it doesn't exist.
|
||||
title_dir = out_folder.joinpath(tid)
|
||||
title_dir.mkdir(exist_ok=True)
|
||||
# Announce the title being downloaded, and the version if applicable.
|
||||
if title_version is not None:
|
||||
progress_callback.emit(f"Downloading title {tid} v{title_version}, please wait...")
|
||||
else:
|
||||
progress_callback.emit(f"Downloading title {tid} vLatest, please wait...")
|
||||
progress_callback.emit(" - Downloading and parsing TMD...")
|
||||
# Download a specific TMD version if a version was specified, otherwise just download the latest TMD.
|
||||
try:
|
||||
if title_version is not None:
|
||||
title.load_tmd(libWiiPy.title.download_tmd(tid, title_version, wiiu_endpoint=wiiu_nus_enabled))
|
||||
else:
|
||||
title.load_tmd(libWiiPy.title.download_tmd(tid, wiiu_endpoint=wiiu_nus_enabled))
|
||||
title_version = title.tmd.title_version
|
||||
# If libWiiPy returns an error, that means that either the TID or version doesn't exist, so return code -2.
|
||||
except ValueError:
|
||||
return -2
|
||||
# Make a directory for this version if it doesn't exist.
|
||||
version_dir = title_dir.joinpath(str(title_version))
|
||||
version_dir.mkdir(exist_ok=True)
|
||||
# Write out the TMD to a file.
|
||||
version_dir.joinpath(f"tmd.{title_version}").write_bytes(title.tmd.dump())
|
||||
# Use a local ticket, if one exists and "use local files" is enabled.
|
||||
forge_ticket = False
|
||||
if use_local_chkbox and version_dir.joinpath("tik").exists():
|
||||
progress_callback.emit(" - Parsing local copy of Ticket...")
|
||||
title.load_ticket(version_dir.joinpath("tik").read_bytes())
|
||||
else:
|
||||
progress_callback.emit(" - Downloading and parsing Ticket...")
|
||||
try:
|
||||
title.load_ticket(libWiiPy.title.download_ticket(tid, wiiu_endpoint=wiiu_nus_enabled))
|
||||
version_dir.joinpath("tik").write_bytes(title.ticket.dump())
|
||||
except ValueError:
|
||||
# If libWiiPy returns an error, then no ticket is available. Try to forge a ticket after we download the
|
||||
# content.
|
||||
progress_callback.emit(" - No Ticket is available! Will try forging a Ticket.")
|
||||
forge_ticket = True
|
||||
# Load the content records from the TMD, and begin iterating over the records.
|
||||
title.load_content_records()
|
||||
content_list = []
|
||||
for content in range(len(title.tmd.content_records)):
|
||||
# Generate the correct file name by converting the content ID into hex.
|
||||
content_file_name = f"{title.tmd.content_records[content].content_id:08X}"
|
||||
# Check for a local copy of the current content if "use local files" is enabled, and use it.
|
||||
if use_local_chkbox is True and version_dir.joinpath(content_file_name).exists():
|
||||
progress_callback.emit(f" - Using local copy of content {content + 1} of {len(title.tmd.content_records)}")
|
||||
content_list.append(version_dir.joinpath(content_file_name).read_bytes())
|
||||
else:
|
||||
progress_callback.emit(f" - Downloading content {content + 1} of {len(title.tmd.content_records)} "
|
||||
f"(Content ID: {title.tmd.content_records[content].content_id}, Size: "
|
||||
f"{title.tmd.content_records[content].content_size} bytes)...")
|
||||
content_list.append(libWiiPy.title.download_content(tid, title.tmd.content_records[content].content_id,
|
||||
wiiu_endpoint=wiiu_nus_enabled))
|
||||
progress_callback.emit(" - Done!")
|
||||
# If keep encrypted contents is on, write out each content after its downloaded.
|
||||
if keep_enc_chkbox is True:
|
||||
version_dir.joinpath(content_file_name).write_bytes(content_list[content])
|
||||
title.content.content_list = content_list
|
||||
# Try to forge a Ticket, if a common one wasn't available.
|
||||
if forge_ticket is True:
|
||||
progress_callback.emit(" - Attempting to forge Ticket...")
|
||||
try:
|
||||
title_key = find_tkey(tid, title.content.content_list[0], title.tmd.content_records[0])
|
||||
title_key_enc = libWiiPy.title.encrypt_title_key(title_key, 0, tid)
|
||||
ticket = libWiiPy.title.Ticket()
|
||||
ticket.common_key_index = 0
|
||||
ticket.console_id = 0
|
||||
ticket.content_access_permissions = b'\xff' * 64
|
||||
ticket.ecdh_data = b'\x00' * 60
|
||||
ticket.permit_mask = b'\x00' * 4
|
||||
ticket.permitted_titles = b'\x00' * 4
|
||||
ticket.signature = b'\x00' * 256
|
||||
ticket.signature_issuer = "Root-CA00000001-XS00000003" + ("\x00" * 38)
|
||||
ticket.signature_type = b'\x00\x01' * 2
|
||||
ticket.ticket_id = b'\x00' * 8
|
||||
ticket.ticket_version = 0
|
||||
ticket.title_export_allowed = 0
|
||||
ticket.title_id = tid.encode()
|
||||
ticket.title_key_enc = title_key_enc
|
||||
ticket.title_limits_list = [_TitleLimit(0, 0) for _ in range(0, 8)]
|
||||
ticket.title_version = 0
|
||||
ticket.unknown1 = b'\xff' * 2
|
||||
ticket.unknown2 = b'\x00' * 48
|
||||
ticket.fakesign()
|
||||
title.ticket = ticket
|
||||
version_dir.joinpath("tik").write_bytes(title.ticket.dump())
|
||||
progress_callback.emit(" - Successfully forged Ticket!")
|
||||
except Exception:
|
||||
progress_callback.emit(" - Ticket could not be forged!")
|
||||
pack_wad_enabled = False
|
||||
decrypt_contents_enabled = False
|
||||
# If decrypt local contents is still true, decrypt each content and write out the decrypted file.
|
||||
if decrypt_contents_enabled is True:
|
||||
try:
|
||||
for content in range(len(title.tmd.content_records)):
|
||||
progress_callback.emit(f" - Decrypting content {content + 1} of {len(title.tmd.content_records)} "
|
||||
f"(Content ID: {title.tmd.content_records[content].content_id})...")
|
||||
dec_content = title.get_content_by_index(content)
|
||||
content_file_name = f"{title.tmd.content_records[content].content_id:08X}.app"
|
||||
version_dir.joinpath(content_file_name).write_bytes(dec_content)
|
||||
except ValueError:
|
||||
# If libWiiPy throws an error during decryption, return code -3. This should only be possible if using
|
||||
# local encrypted contents that have been altered at present.
|
||||
return -3
|
||||
# If pack WAD is still true, pack the TMD, ticket, and contents all into a WAD.
|
||||
if pack_wad_enabled is True:
|
||||
# If the option to pack for vWii mode instead of Wii U mode is enabled, then the Title Key needs to be
|
||||
# re-encrypted with the common key instead of the vWii key, so that the title can be installed from within
|
||||
# vWii mode. (vWii mode does not have access to the vWii key, only Wii U mode has that.)
|
||||
if repack_vwii_chkbox is True and (tid[3] == "7" or tid[7] == "7"):
|
||||
progress_callback.emit(" - Re-encrypting Title Key with the common key...")
|
||||
title_key_common = libWiiPy.title.encrypt_title_key(title.ticket.get_title_key(), 0, title.tmd.title_id)
|
||||
title.ticket.common_key_index = 0
|
||||
title.ticket.title_key_enc = title_key_common
|
||||
# Get the WAD certificate chain, courtesy of libWiiPy.
|
||||
progress_callback.emit(" - Building certificate...")
|
||||
title.wad.set_cert_data(libWiiPy.title.download_cert(wiiu_endpoint=wiiu_nus_enabled))
|
||||
# Use a typed WAD name if there is one, and auto generate one based on the TID and version if there isn't.
|
||||
progress_callback.emit(" - Packing WAD...")
|
||||
if wad_file_name != "" and wad_file_name is not None:
|
||||
# Batch downloads may insert -vLatest, so if it did we can fill in the real number now.
|
||||
wad_file_name = wad_file_name.replace("-vLatest", f"-v{title_version}")
|
||||
if wad_file_name[-4:].lower() != ".wad":
|
||||
wad_file_name += ".wad"
|
||||
else:
|
||||
wad_file_name = f"{tid}-v{title_version}.wad"
|
||||
# If enabled (after we make sure it's an IOS), apply all main IOS patches.
|
||||
if patch_ios and (tid[:8] == "00000001" and int(tid[-2:], 16) > 2):
|
||||
progress_callback.emit(" - Patching IOS...")
|
||||
ios_patcher = libWiiPy.title.IOSPatcher()
|
||||
ios_patcher.load(title)
|
||||
patch_count = ios_patcher.patch_all()
|
||||
if patch_count > 0:
|
||||
progress_callback.emit(f" - Applied {patch_count} patches!")
|
||||
else:
|
||||
progress_callback.emit(" - No patches could be applied! Is this a stub IOS?")
|
||||
title = ios_patcher.dump()
|
||||
# Have libWiiPy dump the WAD, and write that data out.
|
||||
version_dir.joinpath(wad_file_name).write_bytes(title.dump_wad())
|
||||
progress_callback.emit("Download complete!")
|
||||
# This is where the variables come in. If the state of these variables doesn't match the user's choice by this
|
||||
# point, it means that they enabled decryption or WAD packing for a title that doesn't have a ticket. Return
|
||||
# code 1 so that a warning popup is shown informing them of this.
|
||||
if (not pack_wad_enabled and pack_wad_chkbox) or (not decrypt_contents_enabled and decrypt_contents_chkbox):
|
||||
return 1
|
||||
return 0
|
||||
53
modules/tkey.py
Normal file
53
modules/tkey.py
Normal file
@@ -0,0 +1,53 @@
|
||||
# "tkey-gen.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
|
||||
import binascii
|
||||
import hashlib
|
||||
import libWiiPy
|
||||
from libWiiPy.types import _ContentRecord
|
||||
|
||||
|
||||
def _secret(start, length):
|
||||
ret = b''
|
||||
add = start + length
|
||||
for _ in range(length):
|
||||
unsigned_start = start & 0xFF # Compensates for how Python handles negative values vs PHP.
|
||||
ret += bytes.fromhex(f"{unsigned_start:02x}"[-2:])
|
||||
nxt = start + add
|
||||
add = start
|
||||
start = nxt
|
||||
return ret
|
||||
|
||||
|
||||
def _mungetid(tid):
|
||||
# Remove leading zeroes from the TID.
|
||||
while tid.startswith("00"):
|
||||
tid = tid[2:]
|
||||
if tid == "":
|
||||
tid = "00"
|
||||
# In PHP, the last character just gets dropped if you make a hex string from an odd-length input, so this
|
||||
# replicates that functionality.
|
||||
if len(tid) % 2 != 0:
|
||||
tid = tid[:-1]
|
||||
return bytes.fromhex(tid)
|
||||
|
||||
|
||||
def _derive_key(tid, passwd):
|
||||
key_secret = _secret(-3, 10)
|
||||
salt = hashlib.md5(key_secret + _mungetid(tid)).digest()
|
||||
# Had to reduce the length here from 32 to 16 when converting to get the same length keys.
|
||||
return hashlib.pbkdf2_hmac("sha1", passwd.encode(), salt, 20, 16).hex()
|
||||
|
||||
|
||||
def find_tkey(tid: str, banner_enc: bytes, content_record: _ContentRecord) -> bytes:
|
||||
# Find a working Title Key by generating a key with a password, then decrypting content 0 and comparing it to the
|
||||
# expected hash. If the hash matches, then we generated the correct key.
|
||||
passwds = ["nintendo", "mypass"]
|
||||
for passwd in passwds:
|
||||
key = binascii.unhexlify(_derive_key(tid, passwd).encode())
|
||||
banner_dec = libWiiPy.title.decrypt_content(banner_enc, key, content_record.index, content_record.content_size)
|
||||
banner_dec_hash = hashlib.sha1(banner_dec).hexdigest()
|
||||
content_record_hash = content_record.content_hash.decode()
|
||||
if banner_dec_hash == content_record_hash:
|
||||
return key
|
||||
raise Exception("Valid Title Key could not be generated")
|
||||
163
modules/tree.py
Normal file
163
modules/tree.py
Normal file
@@ -0,0 +1,163 @@
|
||||
# "modules/tree.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
|
||||
from modules.core import TitleData
|
||||
from PySide6.QtCore import QAbstractItemModel, QModelIndex, Qt, QSortFilterProxyModel
|
||||
from PySide6.QtGui import QIcon
|
||||
|
||||
|
||||
class TreeItem:
|
||||
def __init__(self, data, parent=None, metadata=None):
|
||||
self.data = data
|
||||
self.parent = parent
|
||||
self.children = []
|
||||
self.metadata = metadata
|
||||
|
||||
def add_child(self, item):
|
||||
self.children.append(item)
|
||||
|
||||
def child(self, row):
|
||||
return self.children[row]
|
||||
|
||||
def child_count(self):
|
||||
return len(self.children)
|
||||
|
||||
def column_count(self):
|
||||
return len(self.data)
|
||||
|
||||
def data_at(self, column):
|
||||
if 0 <= column < len(self.data):
|
||||
return self.data[column]
|
||||
return None
|
||||
|
||||
def row(self):
|
||||
if self.parent:
|
||||
return self.parent.children.index(self)
|
||||
return 0
|
||||
|
||||
|
||||
class NUSGetTreeModel(QAbstractItemModel):
|
||||
def __init__(self, data, parent=None, root_name=""):
|
||||
super().__init__(parent)
|
||||
self.root_item = TreeItem([root_name])
|
||||
self.setup_model_data(data, self.root_item)
|
||||
|
||||
def setup_model_data(self, title, parent):
|
||||
if isinstance(title, dict):
|
||||
for key, value in title.items():
|
||||
if isinstance(value, list):
|
||||
key_item = TreeItem([key, ""], parent)
|
||||
parent.add_child(key_item)
|
||||
for entry in value:
|
||||
tid = entry.get("TID")
|
||||
name = entry.get("Name")
|
||||
versions = entry.get("Versions", {})
|
||||
if tid:
|
||||
tid_item = TreeItem([f"{tid} - {name}", ""], key_item, entry.get("Ticket"))
|
||||
key_item.add_child(tid_item)
|
||||
for region, version_list in versions.items():
|
||||
region_item = TreeItem([region, ""], tid_item)
|
||||
tid_item.add_child(region_item)
|
||||
for version in version_list:
|
||||
danger = entry.get("Danger") if entry.get("Danger") is not None else ""
|
||||
archive_name = (entry.get("Archive Name") if entry.get("Archive Name") is not None
|
||||
else entry.get("Name").replace(" ", "-"))
|
||||
metadata = TitleData(entry.get("TID"), entry.get("Name"), archive_name,
|
||||
version, entry.get("Ticket"), region, key, danger)
|
||||
public_versions = entry.get("Public Versions")
|
||||
if public_versions is not None:
|
||||
try:
|
||||
public_ver = public_versions[str(version)]
|
||||
version_str = f"v{version} ({public_ver})"
|
||||
except KeyError:
|
||||
version_str = f"v{version}"
|
||||
else:
|
||||
version_str = f"v{version}"
|
||||
version_item = TreeItem([version_str, ""], region_item, metadata)
|
||||
region_item.add_child(version_item)
|
||||
|
||||
def rowCount(self, parent=QModelIndex()):
|
||||
if parent.isValid():
|
||||
parent_item = parent.internalPointer()
|
||||
else:
|
||||
parent_item = self.root_item
|
||||
return parent_item.child_count()
|
||||
|
||||
def columnCount(self, parent=QModelIndex()):
|
||||
return self.root_item.column_count()
|
||||
|
||||
def data(self, index, role=Qt.DisplayRole):
|
||||
if not index.isValid():
|
||||
return None
|
||||
|
||||
item = index.internalPointer()
|
||||
|
||||
if role == Qt.DisplayRole:
|
||||
item = index.internalPointer()
|
||||
return item.data_at(index.column())
|
||||
|
||||
if role == Qt.DecorationRole and index.column() == 0:
|
||||
# Check for icons based on the "Ticket" metadata only at the TID level
|
||||
if item.metadata is not None and isinstance(item.metadata, bool):
|
||||
if item.metadata is True:
|
||||
return QIcon.fromTheme("dialog-ok")
|
||||
else:
|
||||
return QIcon.fromTheme("dialog-cancel")
|
||||
return None
|
||||
|
||||
def headerData(self, section, orientation, role=Qt.DisplayRole):
|
||||
if orientation == Qt.Horizontal and role == Qt.DisplayRole:
|
||||
return self.root_item.data_at(section)
|
||||
return None
|
||||
|
||||
def index(self, row, column, parent=QModelIndex()):
|
||||
if not self.hasIndex(row, column, parent):
|
||||
return QModelIndex()
|
||||
|
||||
if not parent.isValid():
|
||||
parent_item = self.root_item
|
||||
else:
|
||||
parent_item = parent.internalPointer()
|
||||
|
||||
child_item = parent_item.child(row)
|
||||
if child_item:
|
||||
return self.createIndex(row, column, child_item)
|
||||
return QModelIndex()
|
||||
|
||||
def parent(self, index):
|
||||
if not index.isValid():
|
||||
return QModelIndex()
|
||||
|
||||
child_item = index.internalPointer()
|
||||
parent_item = child_item.parent
|
||||
|
||||
if parent_item == self.root_item:
|
||||
return QModelIndex()
|
||||
|
||||
return self.createIndex(parent_item.row(), 0, parent_item)
|
||||
|
||||
class TIDFilterProxyModel(QSortFilterProxyModel):
|
||||
def filterAcceptsRow(self, source_row, source_parent):
|
||||
source_model = self.sourceModel()
|
||||
index = source_model.index(source_row, 0, source_parent)
|
||||
item = index.internalPointer()
|
||||
|
||||
filter_text = self.filterRegularExpression().pattern().lower()
|
||||
# If the item matches what the user searched for.
|
||||
if item and filter_text in item.data_at(0).lower():
|
||||
return True
|
||||
# Check if children match, though I don't think this matters because the children of a title will always just
|
||||
# be regions.
|
||||
for i in range(source_model.rowCount(index)):
|
||||
if self.filterAcceptsRow(i, index):
|
||||
return True
|
||||
# Keep the regions and versions under those for any titles that matched, so you can actually download from the
|
||||
# search results.
|
||||
parent_item = index.parent().internalPointer() if index.parent().isValid() else None
|
||||
if parent_item and filter_text in parent_item.data_at(0).lower():
|
||||
return True
|
||||
else:
|
||||
grandparent_item = index.parent().parent().internalPointer() if index.parent().parent().isValid() else None
|
||||
if grandparent_item and filter_text in grandparent_item.data_at(0).lower():
|
||||
return True
|
||||
return False
|
||||
9
packaging/NUSGet.desktop
Normal file
9
packaging/NUSGet.desktop
Normal file
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=NUSGet
|
||||
Exec=/opt/NUSGet/NUSGet %U
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=/opt/NUSGet/NUSGet.png
|
||||
StartupWMClass=NUSGet
|
||||
Comment=A modern and supercharged NUS downloader built with Python and Qt6.
|
||||
Categories=Utility;
|
||||
BIN
packaging/icon.png
Normal file
BIN
packaging/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
@@ -3,7 +3,7 @@
|
||||
################################################################################
|
||||
## Form generated from reading UI file 'MainMenu.ui'
|
||||
##
|
||||
## Created by: Qt User Interface Compiler version 6.7.2
|
||||
## Created by: Qt User Interface Compiler version 6.8.1
|
||||
##
|
||||
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
################################################################################
|
||||
@@ -18,8 +18,8 @@ from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
||||
from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QHBoxLayout,
|
||||
QHeaderView, QLabel, QLayout, QLineEdit,
|
||||
QMainWindow, QMenuBar, QPushButton, QSizePolicy,
|
||||
QSpacerItem, QTabWidget, QTextBrowser, QTreeWidget,
|
||||
QTreeWidgetItem, QVBoxLayout, QWidget)
|
||||
QSpacerItem, QTabWidget, QTextBrowser, QTreeView,
|
||||
QVBoxLayout, QWidget)
|
||||
|
||||
class Ui_MainWindow(object):
|
||||
def setupUi(self, MainWindow):
|
||||
@@ -32,39 +32,49 @@ class Ui_MainWindow(object):
|
||||
self.centralwidget.setObjectName(u"centralwidget")
|
||||
self.horizontalLayout_3 = QHBoxLayout(self.centralwidget)
|
||||
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
||||
self.horizontalLayout_3.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
||||
self.vertical_layout_trees = QVBoxLayout()
|
||||
self.vertical_layout_trees.setObjectName(u"vertical_layout_trees")
|
||||
self.label_2 = QLabel(self.centralwidget)
|
||||
self.label_2.setObjectName(u"label_2")
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
self.label_2.setFont(font)
|
||||
self.tree_filter_layout = QHBoxLayout()
|
||||
self.tree_filter_layout.setObjectName(u"tree_filter_layout")
|
||||
self.tree_filter_input = QLineEdit(self.centralwidget)
|
||||
self.tree_filter_input.setObjectName(u"tree_filter_input")
|
||||
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.tree_filter_input.sizePolicy().hasHeightForWidth())
|
||||
self.tree_filter_input.setSizePolicy(sizePolicy)
|
||||
|
||||
self.vertical_layout_trees.addWidget(self.label_2)
|
||||
self.tree_filter_layout.addWidget(self.tree_filter_input)
|
||||
|
||||
self.tree_filter_reset_btn = QPushButton(self.centralwidget)
|
||||
self.tree_filter_reset_btn.setObjectName(u"tree_filter_reset_btn")
|
||||
sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Maximum, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy1.setHorizontalStretch(0)
|
||||
sizePolicy1.setVerticalStretch(0)
|
||||
sizePolicy1.setHeightForWidth(self.tree_filter_reset_btn.sizePolicy().hasHeightForWidth())
|
||||
self.tree_filter_reset_btn.setSizePolicy(sizePolicy1)
|
||||
|
||||
self.tree_filter_layout.addWidget(self.tree_filter_reset_btn)
|
||||
|
||||
|
||||
self.vertical_layout_trees.addLayout(self.tree_filter_layout)
|
||||
|
||||
self.platform_tabs = QTabWidget(self.centralwidget)
|
||||
self.platform_tabs.setObjectName(u"platform_tabs")
|
||||
sizePolicy = QSizePolicy(QSizePolicy.Policy.Maximum, QSizePolicy.Policy.Expanding)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
sizePolicy.setHeightForWidth(self.platform_tabs.sizePolicy().hasHeightForWidth())
|
||||
self.platform_tabs.setSizePolicy(sizePolicy)
|
||||
sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Maximum, QSizePolicy.Policy.Expanding)
|
||||
sizePolicy2.setHorizontalStretch(0)
|
||||
sizePolicy2.setVerticalStretch(0)
|
||||
sizePolicy2.setHeightForWidth(self.platform_tabs.sizePolicy().hasHeightForWidth())
|
||||
self.platform_tabs.setSizePolicy(sizePolicy2)
|
||||
self.platform_tabs.setMinimumSize(QSize(410, 0))
|
||||
self.platform_tabs.setMaximumSize(QSize(410, 16777215))
|
||||
self.wii_tab = QWidget()
|
||||
self.wii_tab.setObjectName(u"wii_tab")
|
||||
self.verticalLayout_2 = QVBoxLayout(self.wii_tab)
|
||||
self.verticalLayout_2.setObjectName(u"verticalLayout_2")
|
||||
self.wii_title_tree = QTreeWidget(self.wii_tab)
|
||||
__qtreewidgetitem = QTreeWidgetItem()
|
||||
__qtreewidgetitem.setText(0, u"1");
|
||||
self.wii_title_tree.setHeaderItem(__qtreewidgetitem)
|
||||
self.wii_title_tree = QTreeView(self.wii_tab)
|
||||
self.wii_title_tree.setObjectName(u"wii_title_tree")
|
||||
self.wii_title_tree.setColumnCount(1)
|
||||
self.wii_title_tree.header().setVisible(False)
|
||||
self.wii_title_tree.header().setMinimumSectionSize(49)
|
||||
self.wii_title_tree.header().setDefaultSectionSize(100)
|
||||
self.wii_title_tree.header().setStretchLastSection(False)
|
||||
|
||||
self.verticalLayout_2.addWidget(self.wii_title_tree)
|
||||
|
||||
@@ -73,16 +83,8 @@ class Ui_MainWindow(object):
|
||||
self.vwii_tab.setObjectName(u"vwii_tab")
|
||||
self.verticalLayout_4 = QVBoxLayout(self.vwii_tab)
|
||||
self.verticalLayout_4.setObjectName(u"verticalLayout_4")
|
||||
self.vwii_title_tree = QTreeWidget(self.vwii_tab)
|
||||
__qtreewidgetitem1 = QTreeWidgetItem()
|
||||
__qtreewidgetitem1.setText(0, u"1");
|
||||
self.vwii_title_tree.setHeaderItem(__qtreewidgetitem1)
|
||||
self.vwii_title_tree = QTreeView(self.vwii_tab)
|
||||
self.vwii_title_tree.setObjectName(u"vwii_title_tree")
|
||||
self.vwii_title_tree.setColumnCount(1)
|
||||
self.vwii_title_tree.header().setVisible(False)
|
||||
self.vwii_title_tree.header().setMinimumSectionSize(49)
|
||||
self.vwii_title_tree.header().setDefaultSectionSize(100)
|
||||
self.vwii_title_tree.header().setStretchLastSection(False)
|
||||
|
||||
self.verticalLayout_4.addWidget(self.vwii_title_tree)
|
||||
|
||||
@@ -91,14 +93,8 @@ class Ui_MainWindow(object):
|
||||
self.dsi_tab.setObjectName(u"dsi_tab")
|
||||
self.verticalLayout = QVBoxLayout(self.dsi_tab)
|
||||
self.verticalLayout.setObjectName(u"verticalLayout")
|
||||
self.dsi_title_tree = QTreeWidget(self.dsi_tab)
|
||||
__qtreewidgetitem2 = QTreeWidgetItem()
|
||||
__qtreewidgetitem2.setText(0, u"1");
|
||||
self.dsi_title_tree.setHeaderItem(__qtreewidgetitem2)
|
||||
self.dsi_title_tree = QTreeView(self.dsi_tab)
|
||||
self.dsi_title_tree.setObjectName(u"dsi_title_tree")
|
||||
self.dsi_title_tree.setHeaderHidden(True)
|
||||
self.dsi_title_tree.header().setMinimumSectionSize(49)
|
||||
self.dsi_title_tree.header().setStretchLastSection(False)
|
||||
|
||||
self.verticalLayout.addWidget(self.dsi_title_tree)
|
||||
|
||||
@@ -111,7 +107,7 @@ class Ui_MainWindow(object):
|
||||
|
||||
self.vertical_layout_controls = QVBoxLayout()
|
||||
self.vertical_layout_controls.setObjectName(u"vertical_layout_controls")
|
||||
self.vertical_layout_controls.setSizeConstraint(QLayout.SetDefaultConstraint)
|
||||
self.vertical_layout_controls.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
||||
self.horizontal_layout_title_entry = QHBoxLayout()
|
||||
self.horizontal_layout_title_entry.setObjectName(u"horizontal_layout_title_entry")
|
||||
self.tid_entry = QLineEdit(self.centralwidget)
|
||||
@@ -145,25 +141,67 @@ class Ui_MainWindow(object):
|
||||
|
||||
self.vertical_layout_controls.addLayout(self.horizontal_layout_title_entry)
|
||||
|
||||
self.horizontalLayout = QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
||||
self.download_btn = QPushButton(self.centralwidget)
|
||||
self.download_btn.setObjectName(u"download_btn")
|
||||
sizePolicy3 = QSizePolicy(QSizePolicy.Policy.MinimumExpanding, QSizePolicy.Policy.Fixed)
|
||||
sizePolicy3.setHorizontalStretch(0)
|
||||
sizePolicy3.setVerticalStretch(0)
|
||||
sizePolicy3.setHeightForWidth(self.download_btn.sizePolicy().hasHeightForWidth())
|
||||
self.download_btn.setSizePolicy(sizePolicy3)
|
||||
|
||||
self.vertical_layout_controls.addWidget(self.download_btn)
|
||||
self.horizontalLayout.addWidget(self.download_btn)
|
||||
|
||||
self.script_btn = QPushButton(self.centralwidget)
|
||||
self.script_btn.setObjectName(u"script_btn")
|
||||
sizePolicy.setHeightForWidth(self.script_btn.sizePolicy().hasHeightForWidth())
|
||||
self.script_btn.setSizePolicy(sizePolicy)
|
||||
|
||||
self.horizontalLayout.addWidget(self.script_btn)
|
||||
|
||||
|
||||
self.vertical_layout_controls.addLayout(self.horizontalLayout)
|
||||
|
||||
self.horizontalLayout_5 = QHBoxLayout()
|
||||
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
|
||||
self.horizontalLayout_5.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize)
|
||||
self.verticalLayout_7 = QVBoxLayout()
|
||||
self.verticalLayout_7.setSpacing(5)
|
||||
self.verticalLayout_7.setObjectName(u"verticalLayout_7")
|
||||
self.verticalLayout_7.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize)
|
||||
self.label_3 = QLabel(self.centralwidget)
|
||||
self.label_3.setObjectName(u"label_3")
|
||||
font = QFont()
|
||||
font.setBold(True)
|
||||
self.label_3.setFont(font)
|
||||
|
||||
self.verticalLayout_7.addWidget(self.label_3)
|
||||
|
||||
self.pack_archive_row = QHBoxLayout()
|
||||
self.pack_archive_row.setSpacing(10)
|
||||
self.pack_archive_row.setObjectName(u"pack_archive_row")
|
||||
self.pack_archive_chkbox = QCheckBox(self.centralwidget)
|
||||
self.pack_archive_chkbox.setObjectName(u"pack_archive_chkbox")
|
||||
sizePolicy1.setHeightForWidth(self.pack_archive_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.pack_archive_chkbox.setSizePolicy(sizePolicy1)
|
||||
self.pack_archive_chkbox.setText(u"")
|
||||
|
||||
self.verticalLayout_7.addWidget(self.pack_archive_chkbox)
|
||||
self.pack_archive_row.addWidget(self.pack_archive_chkbox)
|
||||
|
||||
self.label_7 = QLabel(self.centralwidget)
|
||||
self.label_7.setObjectName(u"label_7")
|
||||
sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.MinimumExpanding)
|
||||
sizePolicy4.setHorizontalStretch(0)
|
||||
sizePolicy4.setVerticalStretch(0)
|
||||
sizePolicy4.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
|
||||
self.label_7.setSizePolicy(sizePolicy4)
|
||||
self.label_7.setWordWrap(True)
|
||||
|
||||
self.pack_archive_row.addWidget(self.label_7)
|
||||
|
||||
|
||||
self.verticalLayout_7.addLayout(self.pack_archive_row)
|
||||
|
||||
self.archive_file_entry = QLineEdit(self.centralwidget)
|
||||
self.archive_file_entry.setObjectName(u"archive_file_entry")
|
||||
@@ -171,54 +209,177 @@ class Ui_MainWindow(object):
|
||||
|
||||
self.verticalLayout_7.addWidget(self.archive_file_entry)
|
||||
|
||||
self.keep_enc_row = QHBoxLayout()
|
||||
self.keep_enc_row.setSpacing(10)
|
||||
self.keep_enc_row.setObjectName(u"keep_enc_row")
|
||||
self.keep_enc_chkbox = QCheckBox(self.centralwidget)
|
||||
self.keep_enc_chkbox.setObjectName(u"keep_enc_chkbox")
|
||||
sizePolicy1.setHeightForWidth(self.keep_enc_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.keep_enc_chkbox.setSizePolicy(sizePolicy1)
|
||||
self.keep_enc_chkbox.setText(u"")
|
||||
self.keep_enc_chkbox.setChecked(True)
|
||||
|
||||
self.verticalLayout_7.addWidget(self.keep_enc_chkbox)
|
||||
self.keep_enc_row.addWidget(self.keep_enc_chkbox)
|
||||
|
||||
self.label_6 = QLabel(self.centralwidget)
|
||||
self.label_6.setObjectName(u"label_6")
|
||||
sizePolicy4.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
|
||||
self.label_6.setSizePolicy(sizePolicy4)
|
||||
self.label_6.setWordWrap(True)
|
||||
|
||||
self.keep_enc_row.addWidget(self.label_6)
|
||||
|
||||
|
||||
self.verticalLayout_7.addLayout(self.keep_enc_row)
|
||||
|
||||
self.create_dec_row = QHBoxLayout()
|
||||
self.create_dec_row.setSpacing(10)
|
||||
self.create_dec_row.setObjectName(u"create_dec_row")
|
||||
self.create_dec_chkbox = QCheckBox(self.centralwidget)
|
||||
self.create_dec_chkbox.setObjectName(u"create_dec_chkbox")
|
||||
sizePolicy1.setHeightForWidth(self.create_dec_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.create_dec_chkbox.setSizePolicy(sizePolicy1)
|
||||
self.create_dec_chkbox.setText(u"")
|
||||
|
||||
self.verticalLayout_7.addWidget(self.create_dec_chkbox)
|
||||
self.create_dec_row.addWidget(self.create_dec_chkbox)
|
||||
|
||||
self.create_dec_chkbox_lbl = QLabel(self.centralwidget)
|
||||
self.create_dec_chkbox_lbl.setObjectName(u"create_dec_chkbox_lbl")
|
||||
sizePolicy4.setHeightForWidth(self.create_dec_chkbox_lbl.sizePolicy().hasHeightForWidth())
|
||||
self.create_dec_chkbox_lbl.setSizePolicy(sizePolicy4)
|
||||
self.create_dec_chkbox_lbl.setWordWrap(True)
|
||||
|
||||
self.create_dec_row.addWidget(self.create_dec_chkbox_lbl)
|
||||
|
||||
|
||||
self.verticalLayout_7.addLayout(self.create_dec_row)
|
||||
|
||||
self.use_local_row = QHBoxLayout()
|
||||
self.use_local_row.setSpacing(10)
|
||||
self.use_local_row.setObjectName(u"use_local_row")
|
||||
self.use_local_chkbox = QCheckBox(self.centralwidget)
|
||||
self.use_local_chkbox.setObjectName(u"use_local_chkbox")
|
||||
self.use_local_chkbox.setEnabled(True)
|
||||
sizePolicy1.setHeightForWidth(self.use_local_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.use_local_chkbox.setSizePolicy(sizePolicy1)
|
||||
self.use_local_chkbox.setText(u"")
|
||||
|
||||
self.verticalLayout_7.addWidget(self.use_local_chkbox)
|
||||
self.use_local_row.addWidget(self.use_local_chkbox)
|
||||
|
||||
self.use_local_chkbox_lbl = QLabel(self.centralwidget)
|
||||
self.use_local_chkbox_lbl.setObjectName(u"use_local_chkbox_lbl")
|
||||
sizePolicy4.setHeightForWidth(self.use_local_chkbox_lbl.sizePolicy().hasHeightForWidth())
|
||||
self.use_local_chkbox_lbl.setSizePolicy(sizePolicy4)
|
||||
self.use_local_chkbox_lbl.setWordWrap(True)
|
||||
|
||||
self.use_local_row.addWidget(self.use_local_chkbox_lbl)
|
||||
|
||||
|
||||
self.verticalLayout_7.addLayout(self.use_local_row)
|
||||
|
||||
self.use_wiiu_nus_row = QHBoxLayout()
|
||||
self.use_wiiu_nus_row.setSpacing(10)
|
||||
self.use_wiiu_nus_row.setObjectName(u"use_wiiu_nus_row")
|
||||
self.use_wiiu_nus_row.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
|
||||
self.use_wiiu_nus_chkbox = QCheckBox(self.centralwidget)
|
||||
self.use_wiiu_nus_chkbox.setObjectName(u"use_wiiu_nus_chkbox")
|
||||
sizePolicy2.setHeightForWidth(self.use_wiiu_nus_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.use_wiiu_nus_chkbox.setSizePolicy(sizePolicy2)
|
||||
self.use_wiiu_nus_chkbox.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
|
||||
self.use_wiiu_nus_chkbox.setText(u"")
|
||||
self.use_wiiu_nus_chkbox.setChecked(True)
|
||||
|
||||
self.verticalLayout_7.addWidget(self.use_wiiu_nus_chkbox)
|
||||
self.use_wiiu_nus_row.addWidget(self.use_wiiu_nus_chkbox)
|
||||
|
||||
self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
self.use_wiiu_nus_chkbox_lbl = QLabel(self.centralwidget)
|
||||
self.use_wiiu_nus_chkbox_lbl.setObjectName(u"use_wiiu_nus_chkbox_lbl")
|
||||
sizePolicy4.setHeightForWidth(self.use_wiiu_nus_chkbox_lbl.sizePolicy().hasHeightForWidth())
|
||||
self.use_wiiu_nus_chkbox_lbl.setSizePolicy(sizePolicy4)
|
||||
self.use_wiiu_nus_chkbox_lbl.setWordWrap(True)
|
||||
|
||||
self.use_wiiu_nus_row.addWidget(self.use_wiiu_nus_chkbox_lbl)
|
||||
|
||||
|
||||
self.verticalLayout_7.addLayout(self.use_wiiu_nus_row)
|
||||
|
||||
self.patch_ios_row = QHBoxLayout()
|
||||
self.patch_ios_row.setSpacing(10)
|
||||
self.patch_ios_row.setObjectName(u"patch_ios_row")
|
||||
self.patch_ios_chkbox = QCheckBox(self.centralwidget)
|
||||
self.patch_ios_chkbox.setObjectName(u"patch_ios_chkbox")
|
||||
self.patch_ios_chkbox.setEnabled(False)
|
||||
sizePolicy1.setHeightForWidth(self.patch_ios_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.patch_ios_chkbox.setSizePolicy(sizePolicy1)
|
||||
self.patch_ios_chkbox.setText(u"")
|
||||
|
||||
self.patch_ios_row.addWidget(self.patch_ios_chkbox)
|
||||
|
||||
self.patch_ios_lbl = QLabel(self.centralwidget)
|
||||
self.patch_ios_lbl.setObjectName(u"patch_ios_lbl")
|
||||
self.patch_ios_lbl.setEnabled(True)
|
||||
sizePolicy4.setHeightForWidth(self.patch_ios_lbl.sizePolicy().hasHeightForWidth())
|
||||
self.patch_ios_lbl.setSizePolicy(sizePolicy4)
|
||||
self.patch_ios_lbl.setWordWrap(True)
|
||||
|
||||
self.patch_ios_row.addWidget(self.patch_ios_lbl)
|
||||
|
||||
|
||||
self.verticalLayout_7.addLayout(self.patch_ios_row)
|
||||
|
||||
self.verticalSpacer_2 = QSpacerItem(20, 40, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Ignored)
|
||||
|
||||
self.verticalLayout_7.addItem(self.verticalSpacer_2)
|
||||
|
||||
self.horizontalSpacer = QSpacerItem(40, 20, QSizePolicy.Policy.MinimumExpanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.verticalLayout_7.addItem(self.horizontalSpacer)
|
||||
|
||||
|
||||
self.horizontalLayout_5.addLayout(self.verticalLayout_7)
|
||||
|
||||
self.verticalLayout_8 = QVBoxLayout()
|
||||
self.verticalLayout_8.setObjectName(u"verticalLayout_8")
|
||||
self.verticalLayout_8.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize)
|
||||
self.label_4 = QLabel(self.centralwidget)
|
||||
self.label_4.setObjectName(u"label_4")
|
||||
self.label_4.setFont(font)
|
||||
|
||||
self.verticalLayout_8.addWidget(self.label_4)
|
||||
|
||||
self.pack_vwii_mode_row = QHBoxLayout()
|
||||
self.pack_vwii_mode_row.setObjectName(u"pack_vwii_mode_row")
|
||||
self.pack_vwii_mode_chkbox = QCheckBox(self.centralwidget)
|
||||
self.pack_vwii_mode_chkbox.setObjectName(u"pack_vwii_mode_chkbox")
|
||||
self.pack_vwii_mode_chkbox.setEnabled(False)
|
||||
sizePolicy1.setHeightForWidth(self.pack_vwii_mode_chkbox.sizePolicy().hasHeightForWidth())
|
||||
self.pack_vwii_mode_chkbox.setSizePolicy(sizePolicy1)
|
||||
self.pack_vwii_mode_chkbox.setText(u"")
|
||||
|
||||
self.verticalLayout_8.addWidget(self.pack_vwii_mode_chkbox)
|
||||
self.pack_vwii_mode_row.addWidget(self.pack_vwii_mode_chkbox)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 50, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Expanding)
|
||||
self.pack_vwii_mode_lbl = QLabel(self.centralwidget)
|
||||
self.pack_vwii_mode_lbl.setObjectName(u"pack_vwii_mode_lbl")
|
||||
self.pack_vwii_mode_lbl.setEnabled(True)
|
||||
sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
|
||||
sizePolicy5.setHorizontalStretch(0)
|
||||
sizePolicy5.setVerticalStretch(0)
|
||||
sizePolicy5.setHeightForWidth(self.pack_vwii_mode_lbl.sizePolicy().hasHeightForWidth())
|
||||
self.pack_vwii_mode_lbl.setSizePolicy(sizePolicy5)
|
||||
self.pack_vwii_mode_lbl.setWordWrap(True)
|
||||
|
||||
self.pack_vwii_mode_row.addWidget(self.pack_vwii_mode_lbl)
|
||||
|
||||
|
||||
self.verticalLayout_8.addLayout(self.pack_vwii_mode_row)
|
||||
|
||||
self.verticalSpacer = QSpacerItem(20, 50, QSizePolicy.Policy.Minimum, QSizePolicy.Policy.MinimumExpanding)
|
||||
|
||||
self.verticalLayout_8.addItem(self.verticalSpacer)
|
||||
|
||||
self.horizontalSpacer_2 = QSpacerItem(40, 20, QSizePolicy.Policy.MinimumExpanding, QSizePolicy.Policy.Minimum)
|
||||
|
||||
self.verticalLayout_8.addItem(self.horizontalSpacer_2)
|
||||
|
||||
|
||||
self.horizontalLayout_5.addLayout(self.verticalLayout_8)
|
||||
|
||||
@@ -227,7 +388,7 @@ class Ui_MainWindow(object):
|
||||
|
||||
self.log_text_browser = QTextBrowser(self.centralwidget)
|
||||
self.log_text_browser.setObjectName(u"log_text_browser")
|
||||
self.log_text_browser.setMinimumSize(QSize(0, 312))
|
||||
self.log_text_browser.setMinimumSize(QSize(0, 247))
|
||||
|
||||
self.vertical_layout_controls.addWidget(self.log_text_browser)
|
||||
|
||||
@@ -237,7 +398,7 @@ class Ui_MainWindow(object):
|
||||
MainWindow.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QMenuBar(MainWindow)
|
||||
self.menubar.setObjectName(u"menubar")
|
||||
self.menubar.setGeometry(QRect(0, 0, 1010, 29))
|
||||
self.menubar.setGeometry(QRect(0, 0, 1010, 30))
|
||||
MainWindow.setMenuBar(self.menubar)
|
||||
|
||||
self.retranslateUi(MainWindow)
|
||||
@@ -251,7 +412,8 @@ class Ui_MainWindow(object):
|
||||
|
||||
def retranslateUi(self, MainWindow):
|
||||
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
|
||||
self.label_2.setText(QCoreApplication.translate("MainWindow", u"Available Titles", None))
|
||||
self.tree_filter_input.setPlaceholderText(QCoreApplication.translate("MainWindow", u"Search", None))
|
||||
self.tree_filter_reset_btn.setText(QCoreApplication.translate("MainWindow", u"Clear", None))
|
||||
self.platform_tabs.setTabText(self.platform_tabs.indexOf(self.wii_tab), QCoreApplication.translate("MainWindow", u"Wii", None))
|
||||
self.platform_tabs.setTabText(self.platform_tabs.indexOf(self.vwii_tab), QCoreApplication.translate("MainWindow", u"vWii", None))
|
||||
self.platform_tabs.setTabText(self.platform_tabs.indexOf(self.dsi_tab), QCoreApplication.translate("MainWindow", u"DSi", None))
|
||||
@@ -262,20 +424,25 @@ class Ui_MainWindow(object):
|
||||
self.label_5.setText(QCoreApplication.translate("MainWindow", u"Console:", None))
|
||||
self.console_select_dropdown.setCurrentText("")
|
||||
self.download_btn.setText(QCoreApplication.translate("MainWindow", u"Start Download", None))
|
||||
self.script_btn.setText(QCoreApplication.translate("MainWindow", u"Run Script", None))
|
||||
self.label_3.setText(QCoreApplication.translate("MainWindow", u"General Settings", None))
|
||||
self.pack_archive_chkbox.setText(QCoreApplication.translate("MainWindow", u"Pack installable archive (WAD/TAD)", None))
|
||||
self.label_7.setText(QCoreApplication.translate("MainWindow", u"Pack installable archive (WAD/TAD)", None))
|
||||
self.archive_file_entry.setPlaceholderText(QCoreApplication.translate("MainWindow", u"File Name", None))
|
||||
self.keep_enc_chkbox.setText(QCoreApplication.translate("MainWindow", u"Keep encrypted contents", None))
|
||||
self.create_dec_chkbox.setText(QCoreApplication.translate("MainWindow", u"Create decrypted contents (*.app)", None))
|
||||
self.use_local_chkbox.setText(QCoreApplication.translate("MainWindow", u"Use local files, if they exist", None))
|
||||
self.use_wiiu_nus_chkbox.setText(QCoreApplication.translate("MainWindow", u"Use the Wii U NUS (faster, only effects Wii/vWii)", None))
|
||||
self.label_6.setText(QCoreApplication.translate("MainWindow", u"Keep encrypted contents", None))
|
||||
self.create_dec_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Create decrypted contents (*.app)", None))
|
||||
self.use_local_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Use local files, if they exist", None))
|
||||
self.use_wiiu_nus_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Use the Wii U NUS (faster, only effects Wii/vWii)", None))
|
||||
self.patch_ios_lbl.setText(QCoreApplication.translate("MainWindow", u"Apply patches to IOS (Applies to WADs only)", None))
|
||||
self.label_4.setText(QCoreApplication.translate("MainWindow", u"vWii Title Settings", None))
|
||||
self.pack_vwii_mode_chkbox.setText(QCoreApplication.translate("MainWindow", u"Re-encrypt title using the Wii Common Key", None))
|
||||
self.pack_vwii_mode_lbl.setText(QCoreApplication.translate("MainWindow", u"Re-encrypt title using the Wii Common Key", None))
|
||||
self.log_text_browser.setMarkdown("")
|
||||
self.log_text_browser.setHtml(QCoreApplication.translate("MainWindow", u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
|
||||
"<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
|
||||
"p, li { white-space: pre-wrap; }\n"
|
||||
"</style></head><body style=\" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><br /></p></body></html>", None))
|
||||
"hr { height: 1px; border-width: 0; }\n"
|
||||
"li.unchecked::marker { content: \"\\2610\"; }\n"
|
||||
"li.checked::marker { content: \"\\2612\"; }\n"
|
||||
"</style></head><body style=\" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
|
||||
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;\"><br /></p></body></html>", None))
|
||||
# retranslateUi
|
||||
|
||||
|
||||
428
qt/ui/MainMenu.ui
Normal file → Executable file
428
qt/ui/MainMenu.ui
Normal file → Executable file
@@ -27,21 +27,41 @@
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="vertical_layout_trees">
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
<layout class="QHBoxLayout" name="tree_filter_layout">
|
||||
<item>
|
||||
<widget class="QLineEdit" name="tree_filter_input">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Available Titles</string>
|
||||
<property name="placeholderText">
|
||||
<string>Search</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="tree_filter_reset_btn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Clear</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QTabWidget" name="platform_tabs">
|
||||
<property name="sizePolicy">
|
||||
@@ -71,28 +91,7 @@
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||
<item>
|
||||
<widget class="QTreeWidget" name="wii_title_tree">
|
||||
<property name="columnCount">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<attribute name="headerVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<attribute name="headerMinimumSectionSize">
|
||||
<number>49</number>
|
||||
</attribute>
|
||||
<attribute name="headerDefaultSectionSize">
|
||||
<number>100</number>
|
||||
</attribute>
|
||||
<attribute name="headerStretchLastSection">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string notr="true">1</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
<widget class="QTreeView" name="wii_title_tree"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
@@ -102,28 +101,7 @@
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||
<item>
|
||||
<widget class="QTreeWidget" name="vwii_title_tree">
|
||||
<property name="columnCount">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<attribute name="headerVisible">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<attribute name="headerMinimumSectionSize">
|
||||
<number>49</number>
|
||||
</attribute>
|
||||
<attribute name="headerDefaultSectionSize">
|
||||
<number>100</number>
|
||||
</attribute>
|
||||
<attribute name="headerStretchLastSection">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string notr="true">1</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
<widget class="QTreeView" name="vwii_title_tree"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
@@ -133,22 +111,7 @@
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout">
|
||||
<item>
|
||||
<widget class="QTreeWidget" name="dsi_title_tree">
|
||||
<property name="headerHidden">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<attribute name="headerMinimumSectionSize">
|
||||
<number>49</number>
|
||||
</attribute>
|
||||
<attribute name="headerStretchLastSection">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string notr="true">1</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
<widget class="QTreeView" name="dsi_title_tree"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
@@ -159,7 +122,7 @@
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="vertical_layout_controls">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SetDefaultConstraint</enum>
|
||||
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontal_layout_title_entry">
|
||||
@@ -221,22 +184,53 @@
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||
<item>
|
||||
<widget class="QPushButton" name="download_btn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Start Download</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="script_btn">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Run Script</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
<property name="spacing">
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_3">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
@@ -245,13 +239,42 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="pack_archive_row">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="pack_archive_chkbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_7">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Pack installable archive (WAD/TAD)</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLineEdit" name="archive_file_entry">
|
||||
<property name="enabled">
|
||||
@@ -262,10 +285,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="keep_enc_row">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="keep_enc_chkbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Keep encrypted contents</string>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
@@ -273,36 +307,192 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="create_dec_chkbox">
|
||||
<widget class="QLabel" name="label_6">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Create decrypted contents (*.app)</string>
|
||||
<string>Keep encrypted contents</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="create_dec_row">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="create_dec_chkbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="create_dec_chkbox_lbl">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Create decrypted contents (*.app)</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="use_local_row">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="use_local_chkbox">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use local files, if they exist</string>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="use_wiiu_nus_chkbox">
|
||||
<widget class="QLabel" name="use_local_chkbox_lbl">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use the Wii U NUS (faster, only effects Wii/vWii)</string>
|
||||
<string>Use local files, if they exist</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="use_wiiu_nus_row">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="use_wiiu_nus_chkbox">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Expanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="layoutDirection">
|
||||
<enum>Qt::LayoutDirection::LeftToRight</enum>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="use_wiiu_nus_chkbox_lbl">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use the Wii U NUS (faster, only effects Wii/vWii)</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="patch_ios_row">
|
||||
<property name="spacing">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="patch_ios_chkbox">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="patch_ios_lbl">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Apply patches to IOS (Applies to WADs only)</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
<enum>Qt::Orientation::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Policy::Ignored</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
@@ -312,15 +502,33 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Orientation::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||||
<property name="sizeConstraint">
|
||||
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_4">
|
||||
<property name="font">
|
||||
<font>
|
||||
<weight>75</weight>
|
||||
<bold>true</bold>
|
||||
</font>
|
||||
</property>
|
||||
@@ -329,23 +537,52 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="pack_vwii_mode_row">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="pack_vwii_mode_chkbox">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Re-encrypt title using the Wii Common Key</string>
|
||||
<string notr="true"/>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="pack_vwii_mode_lbl">
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Re-encrypt title using the Wii Common Key</string>
|
||||
</property>
|
||||
<property name="wordWrap">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Vertical</enum>
|
||||
<enum>Qt::Orientation::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Expanding</enum>
|
||||
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
@@ -355,6 +592,22 @@
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="horizontalSpacer_2">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Orientation::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>QSizePolicy::Policy::MinimumExpanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
@@ -364,7 +617,7 @@
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>0</width>
|
||||
<height>312</height>
|
||||
<height>247</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="markdown">
|
||||
@@ -372,10 +625,13 @@
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -389,7 +645,7 @@ p, li { white-space: pre-wrap; }
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1010</width>
|
||||
<height>29</height>
|
||||
<height>30</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
|
||||
@@ -3,4 +3,5 @@ nuitka
|
||||
libWiiPy
|
||||
libTWLPy
|
||||
zstandard
|
||||
requests
|
||||
imageio
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 41 KiB |
372
resources/translations/nusget_de.ts
Normal file
372
resources/translations/nusget_de.ts
Normal file
@@ -0,0 +1,372 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="de_DE">
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
DSi support provided by libTWLPy {libtwlpy_version}
|
||||
|
||||
Select a title from the list on the left, or enter a Title ID to begin.
|
||||
|
||||
Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved.
|
||||
|
||||
Titles will be downloaded to a folder named "NUSGet" inside your downloads folder.</source>
|
||||
<translatorcomment>"Downloads" in German copies of Windows and macOS isn't translated
|
||||
Specified that the tickets for titles with a checkmark are publicly available, for clarity in the translation</translatorcomment>
|
||||
<translation>NUSGet v{nusget_version}
|
||||
Entwickelt von NinjaCheetah
|
||||
Nutzt libWiiPy {libwiipy_version}
|
||||
Unterstützung für DSi bereitgestelt durch libTWLPy {libtwlpy_version}
|
||||
|
||||
Wähle einen Titel aus der Liste auf der linken Seite oder gebe eine Title-ID ein, um zu beginnen.
|
||||
|
||||
Titel, welche mit einem Häkchen markiert sind, sind frei verfügbar und haben ein öffentliches Ticket, und können daher entschlüsselt und/oder in eine WAD/TAD verpackt werden. Titel mit einem Kreuz haben kein öffentlich verfügbares Ticket und können nur verschlüsselt heruntergeladen werden.
|
||||
|
||||
Titel werden in einem "NUSGet" Ordner innerhalb des Downloads-Ordners gespeichert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation>NUSGet-Update verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation>Eine neuere Version von NUSGet ist verfügbar.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translatorcomment>Changed from "output" to "packaging" for clarity</translatorcomment>
|
||||
<translation>Keine Verpackmethode ausgewählt</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation>Es wurde keine Methode zum Verpacken der Inhalte ausgewählt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translatorcomment>Explicitly mentions options for clarity</translatorcomment>
|
||||
<translation>Es muss mindestens "verschlüsselte Inhalte speichern", "entschlüsselte Inhalte speichern" oder "Verpacke als WAD/TAD" ausgewählt worden sein.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation>Fehlerhafte Title-ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation>Die eingegebene Title-ID ist nicht korrekt.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation>Die Title-ID muss mindestens 16 alphanumerische Zeichen enthalten.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation>Title-ID/Version nicht gefunden</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translatorcomment>The title was moved into the body, and the title was made less of a mouthful, for ease of translation</translatorcomment>
|
||||
<translation>Es konnte kein Titel mit der gegebenen Title-ID oder Version gefunden werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation>Die Title-ID könnte möglicherweise fehlerhaft sein.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation>Entschlüsselung fehlgeschlagen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation>Die Inhalte des Titels konnten nicht korrekt entschlüsselt werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation>Die gespeicherte TMD oder das Ticket könnten möglicherweise fehlerhaft sein. "Lokale Dateien nutzen" kann ausgeschaltet werden, um diese erneut herunterzuladen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation>Ticket nicht verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation>Kein Ticket konnte für den geforderten Titel gefunden werden.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation>Es wurden nur verschlüsselte Inhalte gespeichert.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation>Unbekannter Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation>Ein unbekannter Fehler ist aufgetreten.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation>Versuchen Sie es erneut. Sofern das Problem bestehen bleibt, können Sie ein Issue auf GitHub öffnen, um den Fehler zu berichten.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open NUS script</source>
|
||||
<translatorcomment>Translating the file type is pointless, since it's not an actual "script"</translatorcomment>
|
||||
<translation type="vanished">NUS-Script öffnen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NUS Scripts (*.nus *.txt)</source>
|
||||
<translation type="vanished">NUS Script (*.nus *.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Script Failure</source>
|
||||
<translation type="vanished">Script-Fehler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to open the script.</source>
|
||||
<translation type="vanished">Konnte das NUS-Script nicht öffnen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation>
|
||||
|
||||
Konnte nicht nach Updates suchen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation>
|
||||
|
||||
Eine neuere Version von NUSGet ist verfügbar.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translatorcomment>Like previously, we're trying to refer to the user less directly (since it sounds awkard in German)</translatorcomment>
|
||||
<translation>
|
||||
|
||||
Die neuste Version von NUSGet ist bereits aktiv.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translatorcomment>This title isn't shown</translatorcomment>
|
||||
<translation>Hauptmenü</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Available Titles</source>
|
||||
<translation type="vanished">Verfügbare Titel</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translatorcomment>We do not translate "Title ID" beyond making it grammatically correct (hence the dash), since it refers to a NUS specific component</translatorcomment>
|
||||
<translation>Title-ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translatorcomment>Since vNNNNN is a common way of referring to versions across the Wii both by Nintendo and modders, we keep it identical</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translatorcomment>The same word is used in German</translatorcomment>
|
||||
<translation></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation>Konsole:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation>Herunterladen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation>Script starten</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation>Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>Installierbar verpacken (WAD/TAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation>Dateiname</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>Verschlüsselte Inhalte speichern</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>Entschlüsselte Inhalte speichern (*.app)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>Lokale Dateien nutzen, sofern verfügbar</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Wii U-NUS nutzen (schneller, gilt nur für Wii/vWii)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translatorcomment>"Patch" does not have a good translation into German, and in most modding forums, it's used as is</translatorcomment>
|
||||
<translation>Patches für IOS anwenden (Gilt nur für WAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>vWii Titel-Einstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translatorcomment>Common key does not get translated</translatorcomment>
|
||||
<translation>Titel mit dem Common-Key der Wii neu verschlüsseln</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@@ -4,115 +4,133 @@
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="41"/>
|
||||
<source>Available Titles</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="70"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translatorcomment>Does not change.</translatorcomment>
|
||||
<translation>Wii</translation>
|
||||
<translation type="unfinished">Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="101"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translatorcomment>Does not change.</translatorcomment>
|
||||
<translation>vWii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="132"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translatorcomment>Does not change.</translatorcomment>
|
||||
<translation>DSi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="172"/>
|
||||
<source>Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="179"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translatorcomment>Does not change.</translatorcomment>
|
||||
<translation>v</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="192"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="199"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="227"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="244"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="251"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="261"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="268"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="278"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="288"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="295"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="328"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source>
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="81"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
@@ -126,79 +144,185 @@ Titles will be downloaded to a folder named "NUSGet" inside your downl
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="237"/>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="238"/>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="240"/>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="242"/>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="243"/>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="246"/>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="248"/>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="249"/>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="252"/>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="255"/>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="256"/>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="259"/>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="261"/>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="262"/>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="264"/>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="81"/>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
@@ -18,182 +18,306 @@ Titles will be downloaded to a folder named "NUSGet" inside your downl
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="237"/>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="238"/>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="240"/>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="242"/>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="243"/>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="246"/>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="248"/>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="249"/>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="252"/>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="255"/>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="256"/>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="259"/>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="261"/>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="262"/>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="264"/>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="41"/>
|
||||
<source>Available Titles</source>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="70"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="101"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="132"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="172"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="179"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="192"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="199"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="227"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="244"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="251"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="261"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="268"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="278"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="288"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="295"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="328"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source>
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
||||
@@ -4,7 +4,313 @@
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="81"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation>Finestra principale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Available Titles</source>
|
||||
<translation type="vanished">Titoli disponibili</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation>Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation>vWii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation>DSi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation>ID Titolo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translation>v</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation>Versione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation>Console:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation>Avvia download</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation>Avvia Script</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation>Impostazioni generali</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>Archivio installabile (WAD/TAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation>Nome del file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>Mantieni contenuti criptati</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>Crea contenuto decriptato (*.app)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>Usa file locali, se esistenti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Usa il NUS di Wii U (più veloce, riguarda solo Wii/vWii)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>Impostazioni titoli vWii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation>Cripta titolo usando la Chiave Comune Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="vanished"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation>Nessun output selezionato</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation>Non hai selezionato alcun formato in cui esportare i dati!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation>Per favore scegli almeno un opzione per come vorresti che fosse salvato il download.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation>ID Titolo invalido</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation>L' ID Titolo che hai inserito non è in un formato valido!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation>Gli ID Titolo sono un codice di 16 caratteri tra numeri e lettere. Per favore inserisci in ID Titolo formattato correttamente, o scegline uno dal menù a sinistra.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation>ID Titolo/Versione non trovata</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation>Non è stato trovato nessun titolo con l' ID Titolo o versione data!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation>Assicurati di aver inserito un' ID Titolo valido, o scegline uno dal database, e che la versione richiesta esista per il titolo che vuoi scaricare.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation>Decriptazione contenuti fallita</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation>La decriptazione dei contenuti non è andata a buon fine! I contenuti decriptadi non sono stati creati.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation>Il tuo TMD o Ticket potrebbe essere danneggiato, o potrebbe non corrispondere col contenuto da decriptare. Se hai selezionato "Usa file locali, se esistenti", prova a disabilitare quell'opzione prima di riprovare a scaricare per aggiustare potenziali errori coi dati locali.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation>Ticket non disponibile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation>Nessun ticket disponibile per il titolo richiesto!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation>Non è stato possibile scaricare un ticket per il titolo richiesto, ma hai selezionato "Crea archivio installabile" o "Crea contenuto decriptato". Queste opzioni non sono disponibili per i titoli senza un ticket. Sono stati salvati solo i contenuti criptati.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation>Errore sconosciuto</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation>Errore sconosciuto!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation>Per favore riprova. Se il problema persiste, apri un issue su GitHub specificando in modo dettagliato cosa volevi fare quando è comparso questo errore.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open NUS script</source>
|
||||
<translation type="vanished">Apri script NUS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NUS Scripts (*.nus *.txt)</source>
|
||||
<translation type="vanished">Scrpit NUS (*.nus *.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Script Failure</source>
|
||||
<translation type="vanished">Errore script</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to open the script.</source>
|
||||
<translation type="vanished">Impossibile aprire lo script.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
@@ -15,186 +321,51 @@ Select a title from the list on the left, or enter a Title ID to begin.
|
||||
Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved.
|
||||
|
||||
Titles will be downloaded to a folder named "NUSGet" inside your downloads folder.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>NUSGet v{nusget_version}
|
||||
Sviluppato da NinjaCheetah
|
||||
Funzionante con libWiiPy {libwiipy_version}
|
||||
|
||||
Scegli un tittolo dalla lista a sinistra o inserisci un ID Titolo per iniziare.
|
||||
|
||||
I titoli marcati da una spunta sono disponibili e hanno un ticket libero, e possono essere decriptati/scaricati come WAD o TAD. I titoli con una X non hanno un ticket e solo il contenuto criptato può essere salvato.
|
||||
|
||||
I titoli verranno scaricati nella cartella "NUSGet" all'interno della cartella Download.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="237"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation>Applica patch agli IOS (Solo per le WAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="238"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation>Aggiornamento di NUSGet disponibile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="240"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation>Una nuova versione di NUSGet è disponibile!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="242"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation>Impossibile trovare eventuali aggiornamenti.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="243"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation>Una nuova versione di NUSGet è disponibile!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="246"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="248"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="249"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="252"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="255"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="256"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="259"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="261"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="262"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="264"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="41"/>
|
||||
<source>Available Titles</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="70"/>
|
||||
<source>Wii</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="101"/>
|
||||
<source>vWii</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="132"/>
|
||||
<source>DSi</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="172"/>
|
||||
<source>Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="179"/>
|
||||
<source>v</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="192"/>
|
||||
<source>Version</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="199"/>
|
||||
<source>Console:</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="227"/>
|
||||
<source>Start Download</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="244"/>
|
||||
<source>General Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="251"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="261"/>
|
||||
<source>File Name</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="268"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="278"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="288"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="295"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="328"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation>Stai utilizzando l'ultima versione di NUSGet.</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
378
resources/translations/nusget_ko.ts
Normal file
378
resources/translations/nusget_ko.ts
Normal file
@@ -0,0 +1,378 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ko_KR">
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation>메인윈도우</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Available Titles</source>
|
||||
<translation type="vanished">사용 가능한 타이틀</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation>Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation>vWii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation>DSi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation>타이틀 ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translation>v</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation>버전</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation>콘솔:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation>다운로드 시작</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation>스크립트 실행</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation>일반 설정</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>설치 가능한 아카이브 (WAD/TAD) 팩</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation>파일 이름</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>암호화된 내용 보관</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>복호화된 콘텐츠 (*.app) 생성</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>로컬 파일이 있으면 사용</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Wii U NUS 사용(더 빠르고 Wii/vWii에만 효과 있음)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>vWii 타이틀 설정</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation>Wii 공통 키를 사용하여 타이틀을 다시 암호화</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="vanished"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation>선택된 출력 없음</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation>데이터를 출력할 형식을 선택하지 않았습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation>다운로드를 저장할 방법을 하나 이상 선택하세요.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation>잘못된 제목 ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation>입력한 타이틀 ID의 형식이 올바르지 않습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation>타이틀 ID는 숫자와 문자로 구성된 16자리 문자열이어야 합니다. 올바르게 포맷된 타이틀 ID를 입력하거나 왼쪽 메뉴에서 하나를 선택하세요.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation>타이틀 ID/버전을 찾을 수 없음</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation>제공된 타이틀 ID 또는 버전으로 제목을 찾을 수 없습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation>유효한 타이틀 ID를 입력했는지 또는 타이틀 데이터베이스에서 선택했는지, 그리고 다운로드하려는 타이틀에 대해 제공된 버전이 있는지 확인하세요.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation>콘텐츠 복호화 실패</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation>콘텐츠 복호화가 성공하지 못했습니다! 복호화된 콘텐츠를 만들 수 없습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation>TMD 또는 티켓이 손상되었거나 복호화되는 콘텐츠와 일치하지 않을 수 있습니다. "로컬 파일이 있으면 사용"을 체크한 경우, 로컬 데이터와 관련된 잠재적인 문제를 해결하기 위해 다시 다운로드를 시도하기 전에 해당 옵션을 비활성화해 보세요.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation>사용 가능한 티켓이 아님</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation>요청한 타이틀에 대한 티켓이 없습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation>요청한 타이틀에 대한 티켓을 다운로드할 수 없지만 "설치 가능한 아카이브 팩" 또는 "암호 해독된 콘텐츠 생성"을 선택했습니다. 이러한 옵션은 티켓이 없는 타이틀에는 사용할 수 없습니다. 암호화된 콘텐츠만 저장되었습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation>알 수 없는 오류</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation>알 수 없는 오류가 발생했습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation>다시 시도하세요. 이 문제가 지속되면 GitHub에서 새 이슈를 열어 이 오류가 발생했을 때 무엇을 하려고 했는지 자세히 설명하세요.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open NUS script</source>
|
||||
<translation type="vanished">NUS 스크립트 열기</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>NUS Scripts (*.nus *.txt)</source>
|
||||
<translation type="vanished">NUS 스크립트 (*.nus *.txt)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Script Failure</source>
|
||||
<translation type="vanished">스크립트 실패</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to open the script.</source>
|
||||
<translation type="vanished">스크립트를 열 수 없습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
DSi support provided by libTWLPy {libtwlpy_version}
|
||||
|
||||
Select a title from the list on the left, or enter a Title ID to begin.
|
||||
|
||||
Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved.
|
||||
|
||||
Titles will be downloaded to a folder named "NUSGet" inside your downloads folder.</source>
|
||||
<translation>NUSGet v{nusget_version}
|
||||
개발자 : NinjaCheetah
|
||||
libWiiPy {libwiipy_version}에서 제공
|
||||
DSi 지원 : libTWLPy {libtwlpy_version}에서 제공
|
||||
|
||||
왼쪽 목록에서 타이틀을 선택하거나 타이틀 ID를 입력하여 시작하세요.
|
||||
|
||||
체크 표시가 있는 타이틀은 무료이며 티켓을 사용할 수 있으며, WAD 또는 TAD에 복호화 및/또는 패킹할 수 있습니다. X가 있는 타이틀은 티켓이 없으며 암호화된 콘텐츠만 저장할 수 있습니다.
|
||||
|
||||
타이틀은 다운로드 폴더 내의 "NUSBet"이라는 폴더에 다운로드됩니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation>IOS에 패치 적용 (WAD에만 적용)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation>NUSGet 업데이트 가능</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation>NUSBet의 새로운 버전이 나왔습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation>
|
||||
|
||||
업데이트를 확인할 수 없습니다.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation>
|
||||
|
||||
NUSBet의 새로운 버전이 나왔습니다!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation>
|
||||
|
||||
NUSBet의 최신 릴리스를 실행하고 있습니다.</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@@ -4,7 +4,140 @@
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="81"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation>MainWindow</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Available Titles</source>
|
||||
<translation type="vanished">Tilgjengelige Titler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation>Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation>vWii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation>DSi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation>Tittel ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translation>v</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation>Versjon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation>Konsoll:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation>Start Nedlasting</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation>Generelle Instillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>Pakke installerbart arkiv (WAD/TAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation>Filnavn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>Oppbevar kryptert innhold</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>Opprette dekryptert innold (*.app)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>Bruk lokale filer, hvis de finnes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Bruk Wii U NUS (raskere, påvirker bare Wii/vWii)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>vWii Tittelinstillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation>Krypter tittelen på nytt ved hjelp av Wii Common Key</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="vanished"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
@@ -27,187 +160,190 @@ Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypte
|
||||
Titler er lastes ned til en mappe med navnet "NUSGet" i nedlastingsmappen din.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="237"/>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation>Ugyldig Tittel ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="238"/>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation>Tittel IDen du har angitt er ikke i et gyldig format!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="240"/>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation>Tittel IDer må være 16-sifrede tall og bokstav strenger. Vennligst skriv inn en korrekt formatert Tittel ID, eller velg en fra menyen til venstre.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="242"/>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation>Tittel ID/Versjon Ikke Funnet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="243"/>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation>Ingen tittel med oppgitt Tittel ID eller versjon ble funnet!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="246"/>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation>Vennligst kontroller at du har oppgitt en gyldig Tittel ID, eller valgt en fra titteldatabasen, og at den angitte versjonen finnes for tittelen du forsøker å laste ned.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="248"/>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation>Dekryptering av Innhold Mislyktes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="249"/>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation>Dekryptering av innhold var ikke vellykket! Dekryptert innhold kunne ikke opprettes.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="252"/>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation>TMDen eller Billetten kan være skadet, eller det kan hende at de ikke samsvarer med innholdet some dekrypteres. Hvis du har krysset av for "Bruk lokale filer, hvis de finnes", kan du prøve å deaktivere dette alternativet før du prøver nedlastingen på nytt for å løse eventuelle problemer med lokale data.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="255"/>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation>Billett Ikke Tilgjengelig</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="256"/>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation>Ingen billett er tilgjengelig for den forespurte tittelen!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="259"/>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation>En billett kunne ikke lastes ned for den forespurte tittelen, men du har valgt "Pakk installerbart arkiv" eller "Opprett dekryptert innhold". Disse alternativene er ikke tilgjenelige for titler uten billett. Bare kryptert innhold har blitt lagret.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="261"/>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation>Ukjent Feil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="262"/>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation>En ukjent feil har oppstått!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="264"/>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation>Vennligst prøv igjen. Hvis dette problemet vedvarer, åpne et nytt issue på GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation>MainWindow</translation>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="41"/>
|
||||
<source>Available Titles</source>
|
||||
<translation>Tilgjengelige Titler</translation>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="70"/>
|
||||
<source>Wii</source>
|
||||
<translation>Wii</translation>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="101"/>
|
||||
<source>vWii</source>
|
||||
<translation>vWii</translation>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="132"/>
|
||||
<source>DSi</source>
|
||||
<translation>DSi</translation>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="172"/>
|
||||
<source>Title ID</source>
|
||||
<translation>Tittel ID</translation>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="179"/>
|
||||
<source>v</source>
|
||||
<translation>v</translation>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="192"/>
|
||||
<source>Version</source>
|
||||
<translation>Versjon</translation>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="199"/>
|
||||
<source>Console:</source>
|
||||
<translation>Konsoll:</translation>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="227"/>
|
||||
<source>Start Download</source>
|
||||
<translation>Start Nedlasting</translation>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="244"/>
|
||||
<source>General Settings</source>
|
||||
<translation>Generelle Instillinger</translation>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="251"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>Pakke installerbart arkiv (WAD/TAD)</translation>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="261"/>
|
||||
<source>File Name</source>
|
||||
<translation>Filnavn</translation>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="268"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>Oppbevar kryptert innhold</translation>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="278"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>Opprette dekryptert innold (*.app)</translation>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="288"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>Bruk lokale filer, hvis de finnes</translation>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="295"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Bruk Wii U NUS (raskere, påvirker bare Wii/vWii)</translation>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="328"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>vWii Tittelinstillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation>Krypter tittelen på nytt ved hjelp av Wii Common Key</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></translation>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
@@ -4,7 +4,140 @@
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="81"/>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation>MainWindow</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Available Titles</source>
|
||||
<translation type="vanished">Tilgjengelige Titler</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation>Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation>vWii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation>DSi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation>Tittel ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translation>v</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation>Versjon</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation>Konsoll:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation>Start Nedlasting</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation>Generelle Instillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>Pakke installerbart arkiv (WAD/TAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation>Filnavn</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>Oppbevar kryptert innhold</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>Opprette dekryptert innold (*.app)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>Bruk lokale filer, hvis de finnes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Bruk Wii U NUS (raskere, påvirker bare Wii/vWii)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>vWii Tittelinstillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation>Krypter tittelen på nytt ved hjelp av Wii Common Key</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="vanished"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
@@ -27,187 +160,190 @@ Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypte
|
||||
Titler er lastes ned til en mappe med navnet "NUSGet" i nedlastingsmappen din.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="237"/>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation>Ugyldig Tittel ID</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="238"/>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation>Tittel IDen du har angitt er ikke i et gyldig format!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="240"/>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation>Tittel IDer må være 16-sifrede tall og bokstav strenger. Vennligst skriv inn en korrekt formatert Tittel ID, eller velg en fra menyen til venstre.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="242"/>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation>Tittel ID/Versjon Ikke Funnet</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="243"/>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation>Ingen tittel med oppgitt Tittel ID eller versjon ble funnet!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="246"/>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation>Vennligst kontroller at du har oppgitt en gyldig Tittel ID, eller valgt en fra titteldatabasen, og at den angitte versjonen finnes for tittelen du forsøker å laste ned.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="248"/>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation>Dekryptering av Innhold Mislyktes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="249"/>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation>Dekryptering av innhold var ikke vellykket! Dekryptert innhold kunne ikke opprettes.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="252"/>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation>TMDen eller Billetten kan være skadet, eller det kan hende at de ikke samsvarer med innholdet some dekrypteres. Hvis du har krysset av for "Bruk lokale filer, hvis de finnes", kan du prøve å deaktivere dette alternativet før du prøver nedlastingen på nytt for å løse eventuelle problemer med lokale data.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="255"/>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation>Billett Ikke Tilgjengelig</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="256"/>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation>Ingen billett er tilgjengelig for den forespurte tittelen!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="259"/>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation>En billett kunne ikke lastes ned for den forespurte tittelen, men du har valgt "Pakk installerbart arkiv" eller "Opprett dekryptert innhold". Disse alternativene er ikke tilgjenelige for titler uten billett. Bare kryptert innhold har blitt lagret.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="261"/>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation>Ukjent Feil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="262"/>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation>En ukjent feil har oppstått!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="264"/>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation>Vennligst prøv igjen. Hvis dette problemet vedvarer, åpne et nytt issue på GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation>MainWindow</translation>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="41"/>
|
||||
<source>Available Titles</source>
|
||||
<translation>Tilgjengelige Titler</translation>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="70"/>
|
||||
<source>Wii</source>
|
||||
<translation>Wii</translation>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="101"/>
|
||||
<source>vWii</source>
|
||||
<translation>vWii</translation>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="132"/>
|
||||
<source>DSi</source>
|
||||
<translation>DSi</translation>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="172"/>
|
||||
<source>Title ID</source>
|
||||
<translation>Tittel ID</translation>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="179"/>
|
||||
<source>v</source>
|
||||
<translation>v</translation>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="192"/>
|
||||
<source>Version</source>
|
||||
<translation>Versjon</translation>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="199"/>
|
||||
<source>Console:</source>
|
||||
<translation>Konsoll:</translation>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="227"/>
|
||||
<source>Start Download</source>
|
||||
<translation>Start Nedlasting</translation>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="244"/>
|
||||
<source>General Settings</source>
|
||||
<translation>Generelle Instillinger</translation>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="251"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation>Pakke installerbart arkiv (WAD/TAD)</translation>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="261"/>
|
||||
<source>File Name</source>
|
||||
<translation>Filnavn</translation>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="268"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation>Oppbevar kryptert innhold</translation>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="278"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation>Opprette dekryptert innold (*.app)</translation>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="288"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation>Bruk lokale filer, hvis de finnes</translation>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="295"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation>Bruk Wii U NUS (raskere, påvirker bare Wii/vWii)</translation>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="328"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation>vWii Tittelinstillinger</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation>Krypter tittelen på nytt ved hjelp av Wii Common Key</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></translation>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
|
||||
349
resources/translations/nusget_ro.ts
Normal file
349
resources/translations/nusget_ro.ts
Normal file
@@ -0,0 +1,349 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.1" language="ro_RO">
|
||||
<context>
|
||||
<name>MainWindow</name>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="97"/>
|
||||
<source>NUSGet v{nusget_version}
|
||||
Developed by NinjaCheetah
|
||||
Powered by libWiiPy {libwiipy_version}
|
||||
DSi support provided by libTWLPy {libtwlpy_version}
|
||||
|
||||
Select a title from the list on the left, or enter a Title ID to begin.
|
||||
|
||||
Titles marked with a checkmark are free and have a ticket available, and can be decrypted and/or packed into a WAD or TAD. Titles with an X do not have a ticket, and only their encrypted contents can be saved.
|
||||
|
||||
Titles will be downloaded to a folder named "NUSGet" inside your downloads folder.</source>
|
||||
<translation type="unfinished">NUSGet v{nusget_version}
|
||||
Dezvoltat de NinjaCheetah
|
||||
Operat de libWiiPy {libwiipy_version}
|
||||
Suport pentru DSi oferit de libTWLPy {libtwlpy_version}
|
||||
|
||||
Selectează un titlu din lista din stânga, sau introdu un Title ID pentru a începe.
|
||||
|
||||
Titlurile marcate cu bifă sunt gratuite și au un tichet disponibil și pot fi decriptate și/sau incluse într-un WAD sau TAD. Titlurile cu un X nu au tichet, și pot fi salvate doar în formă encriptată.
|
||||
|
||||
Titlurile vor fi descărcate într-un folder numit „NUSGet” în fișierul dvs. de download.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="182"/>
|
||||
<source>NUSGet Update Available</source>
|
||||
<translation type="unfinished">Actualizare NUSGet disponibilă</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="183"/>
|
||||
<source>There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished">O nouă versiune NUSGet este disponibilă!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="274"/>
|
||||
<source>No Output Selected</source>
|
||||
<translation type="unfinished">Nu s-a selectat un output.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="275"/>
|
||||
<source>You have not selected any format to output the data in!</source>
|
||||
<translation type="unfinished">Nu ați selectat niciun format de ieșire.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="277"/>
|
||||
<source>Please select at least one option for how you would like the download to be saved.</source>
|
||||
<translation type="unfinished">Vă rugăm să selectați cel puțin o opțiune pentru modul în care doriți să salvați datele descărcate.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="306"/>
|
||||
<source>Invalid Title ID</source>
|
||||
<translation type="unfinished">Title ID invalid</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="307"/>
|
||||
<source>The Title ID you have entered is not in a valid format!</source>
|
||||
<translation type="unfinished">Title ID pe care l-ați introdus este invalid!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="309"/>
|
||||
<source>Title IDs must be 16 digit strings of numbers and letters. Please enter a correctly formatted Title ID, or select one from the menu on the left.</source>
|
||||
<translation type="unfinished">Title ID-urile trebuie să conțină exact 16 cifre și/sau litere. Vă rugăm introduceți un Title ID corect, sau selectați unul din meniul din stânga.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="311"/>
|
||||
<source>Title ID/Version Not Found</source>
|
||||
<translation type="unfinished">Title ID/Versiunea nu a fost găsită</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="312"/>
|
||||
<source>No title with the provided Title ID or version could be found!</source>
|
||||
<translation type="unfinished">Niciun titlu care să corespundă cu Title ID sau cu versiunea introdusă nu a fost găsit!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="314"/>
|
||||
<source>Please make sure that you have entered a valid Title ID, or selected one from the title database, and that the provided version exists for the title you are attempting to download.</source>
|
||||
<translation type="unfinished">Vă rugăm să vă asigurați că ați introdus un Title ID valid sau selectat din baza de date cu titluri, și că versiunea introdusă există pentru titlul pe care încercați să îl descărcați.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="316"/>
|
||||
<source>Content Decryption Failed</source>
|
||||
<translation type="unfinished">Decriptarea conținutului a eșuat.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="317"/>
|
||||
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
|
||||
<translation type="unfinished">Decriptarea conținutului nu a reușit. Nu s-a putut crea conținutul decriptat.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="320"/>
|
||||
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked "Use local files, if they exist", try disabling that option before trying the download again to fix potential issues with local data.</source>
|
||||
<translation type="unfinished">TMD-ul sau Ticket-ul dvs. sunt corupte, sau nu corespund cu conținutul de decriptat. Dacă ați bifat „Folosiți fișiere locale, dacă există”, încercați să debifați această opțiune înainte de a descărca din nou pentru a rezolva potențiale probleme cu datele existente local.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="323"/>
|
||||
<source>Ticket Not Available</source>
|
||||
<translation type="unfinished">Ticket-ul nu este valabil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="324"/>
|
||||
<source>No Ticket is Available for the Requested Title!</source>
|
||||
<translation type="unfinished">Niciun Ticket nu este valabil pentru titlul dorit.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="327"/>
|
||||
<source>A ticket could not be downloaded for the requested title, but you have selected "Pack installable archive" or "Create decrypted contents". These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
|
||||
<translation type="unfinished">Nu se poate descărca un tichet pentru titlul cerut, dar ați selectat „Împachetați arhiva instalabilă” sau „Creați conținut decriptat”. Aceste opțiuni nu sunt valabile pentru titluri fărătichet. Doar conținuturile criptate au fost salvate.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="329"/>
|
||||
<source>Unknown Error</source>
|
||||
<translation type="unfinished">Eroare necunoscută</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="330"/>
|
||||
<source>An Unknown Error has Occurred!</source>
|
||||
<translation type="unfinished">S-a produs o eroare necunoscută!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="332"/>
|
||||
<source>Please try again. If this issue persists, please open a new issue on GitHub detailing what you were trying to do when this error occurred.</source>
|
||||
<translation type="unfinished">Vă rugăm încercați din nou. Dacă problema persistă, vă rugăm să deschideți un issue pe GitHub în care să explicați ce ați încercat să faceți atunci când această eroare a apărut.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="353"/>
|
||||
<source>Script Issues Occurred</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="354"/>
|
||||
<source>Some issues occurred while running the download script.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="356"/>
|
||||
<source>Check the log for more details about what issues were encountered.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="363"/>
|
||||
<source>The following titles could not be downloaded due to an error. Please ensure that the Title ID and version listed in the script are valid.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="373"/>
|
||||
<source>You enabled "Create decrypted contents" or "Pack installable archive", but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="400"/>
|
||||
<source>Script Download Failed</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="401"/>
|
||||
<source>Open NUS Script</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="402"/>
|
||||
<source>NUS Scripts (*.nus *.json)</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="412"/>
|
||||
<source>An error occurred while parsing the script file!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="413"/>
|
||||
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="422"/>
|
||||
<source>An error occurred while parsing Title IDs!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../NUSGet.py" line="423"/>
|
||||
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open NUS script</source>
|
||||
<translation type="obsolete">Deschideți script NUS</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Script Failure</source>
|
||||
<translation type="obsolete">Eșuare Script</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Failed to open the script.</source>
|
||||
<translation type="obsolete">Nu s-a putut deschide script-ul.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="26"/>
|
||||
<source>MainWindow</source>
|
||||
<translation type="unfinished">Fereastra principală</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Available Titles</source>
|
||||
<translation type="obsolete">Titluri valabile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
|
||||
<source>Search</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
|
||||
<source>Clear</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="90"/>
|
||||
<source>Wii</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="100"/>
|
||||
<source>vWii</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="110"/>
|
||||
<source>DSi</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="135"/>
|
||||
<source>Title ID</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="142"/>
|
||||
<source>v</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="155"/>
|
||||
<source>Version</source>
|
||||
<translation type="unfinished">Versiune</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
|
||||
<source>Console:</source>
|
||||
<translation type="unfinished">Consolă</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
|
||||
<source>Start Download</source>
|
||||
<translation type="unfinished">Începeți descărcarea</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
|
||||
<source>Run Script</source>
|
||||
<translation type="unfinished">Rulați script</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
|
||||
<source>General Settings</source>
|
||||
<translation type="unfinished">Setări Generale</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
|
||||
<source>Pack installable archive (WAD/TAD)</source>
|
||||
<translation type="unfinished">Împachetați arhiva instalabilă (WAD/TAD)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
|
||||
<source>File Name</source>
|
||||
<translation type="unfinished">Nume fișier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
|
||||
<source>Keep encrypted contents</source>
|
||||
<translation type="unfinished">Păstrați conținuturile encriptate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
|
||||
<source>Create decrypted contents (*.app)</source>
|
||||
<translation type="unfinished">Creați conținuturi decriptate (*.app)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="393"/>
|
||||
<source>Use local files, if they exist</source>
|
||||
<translation type="unfinished">Folosiți fișiere locale, dacă există</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="438"/>
|
||||
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
|
||||
<translation type="unfinished">Folosiți Wii U NUS (mai rapid, doar pentru Wii/vWii)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="480"/>
|
||||
<source>Apply patches to IOS (Applies to WADs only)</source>
|
||||
<translation type="unfinished">Aplicați patch-uri pentru IOS (se aplică doar pe WAD-uri)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
|
||||
<source>vWii Title Settings</source>
|
||||
<translation type="unfinished">vWII Setări titlu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="570"/>
|
||||
<source>Re-encrypt title using the Wii Common Key</source>
|
||||
<translation type="unfinished">Re-encriptați titlul folosind cheia comună Wii</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
hr { height: 1px; border-width: 0; }
|
||||
li.unchecked::marker { content: "\2610"; }
|
||||
li.checked::marker { content: "\2612"; }
|
||||
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><br /></p></body></html></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="43"/>
|
||||
<source>
|
||||
|
||||
Could not check for updates.</source>
|
||||
<translation type="unfinished">Nu s-a putut verifica dacă există actualizări.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="51"/>
|
||||
<source>
|
||||
|
||||
There's a newer version of NUSGet available!</source>
|
||||
<translation type="unfinished">O nouă versiune de NUSGet este valabilă!</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../modules/core.py" line="53"/>
|
||||
<source>
|
||||
|
||||
You're running the latest release of NUSGet.</source>
|
||||
<translation type="unfinished">Utilizați ultima versiune de NUSGet.</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
30
update_translations.py
Normal file
30
update_translations.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# "update_translations.py", licensed under the MIT license
|
||||
# Copyright 2024 NinjaCheetah
|
||||
# This script exists to work around an issue in PySide6 where the "pyside6-project lupdate" command doesn't work as
|
||||
# expected, as it struggles to parse the paths in the .pyproject file. This does what it's meant to do for it.
|
||||
|
||||
import json
|
||||
import pathlib
|
||||
import subprocess
|
||||
|
||||
|
||||
LUPDATE_CMD = "pyside6-lupdate"
|
||||
|
||||
|
||||
pyproject_file = pathlib.Path("NUSGet.pyproject")
|
||||
pyproject = json.load(open(pyproject_file, "r"))
|
||||
files = []
|
||||
for key in pyproject["files"]:
|
||||
files.append(pathlib.Path(key))
|
||||
source_files = []
|
||||
ts_files = []
|
||||
for file in files:
|
||||
if file.suffix == ".ts":
|
||||
ts_files.append(file)
|
||||
elif file.suffix == ".py" or file.suffix == ".ui":
|
||||
source_files.append(file)
|
||||
|
||||
for target in ts_files:
|
||||
cmd = [LUPDATE_CMD] + [s for s in source_files] + ["-ts"]
|
||||
cmd.append(target)
|
||||
subprocess.run(cmd, cwd=str(pyproject_file.parent))
|
||||
Reference in New Issue
Block a user