59 Commits

Author SHA1 Message Date
f2ae4b26ba Fix workflow for Ubuntu 24.04, finalize translations for v1.3.0 2025-01-13 13:54:51 -05:00
LNLenost
adea7ad35f Updated Italian translations (#21)
* Delete old Italian translations

* Uploaded new translations
2025-01-13 13:40:51 -05:00
87905eab2b Clicking the labels for checkboxes now toggles the checkboxes again 2025-01-05 01:18:44 -05:00
5e37dce4e3 Download to "NUSGet Downloads" instead of "NUSGet"
I edited existing translations accordingly, since the folder name was quoted and is the same regardless of your system language, so I figured I could safely change it to "NUSGet Downloads" without damaging the translation.
2024-12-23 18:01:33 -05:00
Rolfie
748123d190 Updated Norwegian translations (#20) 2024-12-23 12:53:25 -05:00
18f351c481 Merge remote-tracking branch 'origin/main' 2024-12-23 12:43:58 -05:00
49e53bf064 Merge branch 'trans-de'
# Conflicts:
#	resources/translations/nusget_de.ts
2024-12-23 12:43:01 -05:00
DDinghoya
102e741a4e Updated Korean translations (#19) 2024-12-23 12:34:49 -05:00
N•I•L
0edff8e5e9 Updated Romanian translations (#17) 2024-12-23 12:27:01 -05:00
yeah-its-gloria
76ee01c07d Update German translation 2024-12-23 12:55:21 +01:00
588b44381c Install standalone instead of onefile when using make install
This makes the app load faster, because the current install setup makes using the compressed onefile over the standalone build pointless and wastes time on launch.
2024-12-22 21:52:20 -05:00
9dcaa22e89 Added ability to filter title trees with search box
Also fixed tree widths not expanding for titles with long names
2024-12-22 17:07:27 -05:00
20439f8785 Huge database update, all missing Virtual Console/WiiWare titles added 2024-12-21 20:05:31 -05:00
4ec15d0eb3 Mention scripting in README, added example script 2024-12-19 20:28:53 -05:00
2142dbad7e Added error reporting to script downloads, errors do not stop scripts 2024-12-19 20:16:15 -05:00
31f47f2acd Fixed checkmarks/Xs for showing if a ticket is available 2024-12-18 16:38:14 -05:00
87da32d62e Improved WAD name formatting for batch downloads
Also started working on a fix for the checkmark/X icons denoting a ticket not appearing anymore.
2024-12-18 09:08:21 -05:00
6660e129a8 Added WIP JSON-based script support, removed old format
The old script code was already broken from the previous commits anyway, since they changed too much internally. This new format is much easier to understand and will allow for creating more powerful scripts.
2024-12-17 21:55:01 -05:00
62fa5ef7b1 Entirely rewrote title tree backend
Title trees are now model-based rather than item based. Coming with this is proper item metadata, so the data and UI are finally disconnected, making future development much easier. There are also some minor visual improvements as a result of using a TreeView instead of a TreeWidget.
vWii System Menus now have public versions defined in the database. Public version display code has also been entirely rewritten, as the version displayed in the interface and the version used by the code are no longer the same.
2024-12-13 22:39:09 -05:00
c1eb80fbb6 Massively improved code readability
NUSGet's code has been updated to use better formatting and practices that align with how my other projects like libWiiPy and WiiPy are written.
2024-12-13 18:34:37 -05:00
Aep
08c2bd27f5 Add Public System Menu Versions (#16)
* Add System Menu Versions

* add ()

* fix comments

* Fix version getting messed up by public version

---------

Co-authored-by: Aep <itisinfactmark@gmail.com>
2024-11-27 11:50:34 -05:00
dadcc02701 Fix --onefile accidentally being passed for macOS builds instead of only --standalone 2024-11-16 23:00:37 -05:00
c716291c2d Updated build process, workflow, and build directions in README 2024-11-16 22:50:36 -05:00
DDinghoya
7c35e2090d Add Korean translations (#15)
* Create nusget_ko.ts

* Update NUSGet.pyproject
2024-11-16 22:02:52 -05:00
1ae712918e Run extra build job for macOS x86_64 2024-11-16 01:13:29 -05:00
LNLenost
85763cae60 New Italian translations :D (#10)
* Delete resources/translations/nusget_it.ts (old translation)

* Uploaded new Italian translation
2024-11-12 16:51:13 -05:00
a1b071b9c6 Merge pull request #9 from NotImplementedLife/main
Added Romanian translation
2024-11-07 14:30:01 -05:00
NotImplementedLife
96e2f5fa0d added Romanian translation 2024-11-07 20:08:00 +02:00
ffac804ada Update python-build.yml
Now uploads non-onefile build for Windows, since on Windows the "folder with executable and dependencies" distribution strategy is pretty typical and wouldn't have the speed penalty of self-extraction that the onefile has.
2024-11-06 22:59:26 -05:00
74acfff007 Merge pull request #8 from yeah-its-gloria/main 2024-10-31 13:20:18 -04:00
yeah-its-gloria
6ae2a71e5c Fix some dumb mistakes and add more translation comments 2024-10-31 15:47:48 +01:00
b655dd161b Merge pull request #7 from yeah-its-gloria/main
German translation
2024-10-31 10:36:39 -04:00
yeah-its-gloria
3700154578 Add German translation 2024-10-30 19:52:38 +01:00
a272fbc097 Bump macOS version used for GitHub Actions to macos-latest 2024-10-29 23:01:30 -04:00
3a8dfb95a1 Added guide for translation and new script to build translations 2024-10-29 22:54:47 -04:00
58d3f7bd3e Merge pull request #6 from yeah-its-gloria/main 2024-10-22 06:55:59 -04:00
yeah-its-gloria
f55cb05703 Apply UI fixes 2024-10-22 09:46:58 +02:00
yeah-its-gloria
33b30b4aa5 Clean up the UI 2024-10-21 23:44:27 +02:00
yeah-its-gloria
dd79be0b48 Fix version lookup
Checking regions was pretty superfluous anyway, since it only served to *potentially* speed up the lookup.
2024-10-21 23:22:51 +02:00
yeah-its-gloria
9c15eac1fd Verify titles
Name archives properly using the database
Fix UI problems on macOS
2024-10-21 14:03:07 +02:00
yeah-its-gloria
0dbe28914d Add batch downloading with NUSD scripts 2024-10-19 18:07:42 +02:00
bc1858a5a5 Add region to WAD file names if title is not region free 2024-08-22 21:48:38 -04:00
0ca2cc272a Improved how title loading is handled and improved databases 2024-08-21 22:39:50 -04:00
ac42de6efc Added last missing translations for message boxes 2024-08-21 19:37:59 -04:00
e2decf8d6f Wrote script to update ts files since the real one is broken 2024-08-21 19:34:08 -04:00
bcf82a011f NUSGet now checks for updates on startup 2024-08-21 19:04:39 -04:00
1b4324e9b8 Update README with platform-specific usage information 2024-08-21 18:20:08 -04:00
cbbac55743 Added option to patch downloaded IOSes 2024-08-17 23:36:45 -04:00
adc8be9cbb Added "Hidden Channels" category to Wii/vWii databases 2024-08-13 21:30:03 -04:00
8e326aeb56 Fixed English text not appearing 2024-08-12 21:14:12 -04:00
807e632505 Improved translation handling and fixed word wrapping for checkboxes 2024-08-12 18:55:28 -04:00
911c01a066 Merge pull request #3 from LNLenost/main
Added Italian translation, created issue templates
2024-08-12 17:17:23 -04:00
LNLenost
f4c61ed020 Created issue templates 2024-08-09 11:42:13 +02:00
LNLenost
6d1e53c777 Added Italian translation 2024-08-09 11:38:35 +02:00
LNLenost
9829ae0365 Delete resources/translations/nusget_it.ts since it was all in english 2024-08-09 11:37:53 +02:00
f21357c01d Minor README fixes 2024-07-22 03:01:35 -04:00
439aebbdb8 Added Linux packaging files and added linux-install to Makefile 2024-07-21 20:11:14 -04:00
bf09f3b18e Small GitHub Actions fix for the Nutika binary no longer being named 'nuitka3' 2024-07-21 19:28:13 -04:00
7f788ae36c Update GitHub Actions workflow to remove .bin from the end of the Linux binary's name 2024-07-17 21:58:09 -04:00
34 changed files with 15254 additions and 1320 deletions

26
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View 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:**

View File

@@ -0,0 +1,10 @@
---
name: Feature request
about: Suggest an idea for NUSGet!
title: ''
labels: enhancement
assignees: ''
---
**Your idea...**

View File

@@ -1,5 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python # This workflow will install Python dependencies and then build NUSGet for all platforms
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application name: Python application
@@ -20,58 +19,83 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install ccache for Nuitka - name: Install ccache for Nuitka
run: sudo apt update && sudo apt install -y ccache libicu70 run: |
- name: Set up Python 3.11 sudo apt update && \
sudo apt install -y ccache patchelf
- name: Set up Python 3.12
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.12"
- name: Install Dependencies - name: Install Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
- name: Build Package - name: Build Package
run: | run: make all
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
- name: Prepare Package for Upload - name: Prepare Package for Upload
run: | run: |
mv NUSGet.bin ~/NUSGet.bin mv NUSGet ~/NUSGet
cd ~ cd ~
tar cvf NUSGet.tar NUSGet.bin tar cvf NUSGet.tar NUSGet
- name: Upload Package - name: Upload Package
uses: actions/upload-artifact@v4.3.0 uses: actions/upload-artifact@v4
with: with:
path: ~/NUSGet.tar 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: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Set up Python 3.11 - name: Set up Python 3.12
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.12"
- name: Install Dependencies - name: Install Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
- name: Build Package - name: Build Package
run: | run: ARCH_FLAGS=--macos-target-arch=x86_64 make all
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
- name: Prepare Package for Upload - name: Prepare Package for Upload
run: | run: |
mv NUSGet.app ~/NUSGet.app mv NUSGet.app ~/NUSGet.app
cd ~ cd ~
tar cvf NUSGet.tar NUSGet.app tar cvf NUSGet.tar NUSGet.app
- name: Upload Package - name: Upload Package
uses: actions/upload-artifact@v4.3.0 uses: actions/upload-artifact@v4
with: with:
path: ~/NUSGet.tar 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: build-windows:
@@ -81,21 +105,23 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Enable Developer Command Prompt - name: Enable Developer Command Prompt
uses: ilammy/msvc-dev-cmd@v1.13.0 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 uses: actions/setup-python@v5
with: with:
python-version: "3.11" python-version: "3.12"
- name: Install Dependencies - name: Install Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt pip install -r requirements.txt
- name: Build Package - name: Build Package
run: | run: .\Build.ps1
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
- name: Upload Package - 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: with:
path: D:\a\NUSGet\NUSGet\NUSGet.exe path: D:\a\NUSGet\NUSGet\NUSGet.exe
name: NUSGet-windows-bin name: NUSGet-Windows-onefile-bin

2
.gitignore vendored
View File

@@ -27,7 +27,7 @@ main.dist/
NUSGet.build/ NUSGet.build/
NUSGet.dist/ NUSGet.dist/
NUSGet.onefile-build/ NUSGet.onefile-build/
NUSGet.bin NUSGet
.installed.cfg .installed.cfg
*.egg *.egg
MANIFEST MANIFEST

33
Build.ps1 Normal file
View 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
}
}

View File

@@ -1,9 +1,20 @@
linux: CC=python -m nuitka
pyside6-project build ARCH_FLAGS?=
nuitka3 --show-progress --include-data-dir=data=data --include-data-dir=resources=resources --assume-yes-for-downloads --onefile --plugin-enable=pyside6 NUSGet.py
all:
python build_translations.py
$(CC) --show-progress --assume-yes-for-downloads NUSGet.py $(ARCH_FLAGS) -o NUSGet
install:
rm -rd /opt/NUSGet/
install -d /opt/NUSGet
cp -r ./NUSGet.dist/* /opt/NUSGet/
chmod 755 /opt/NUSGet/
install ./packaging/icon.png /opt/NUSGet/NUSGet.png
install ./packaging/NUSGet.desktop /usr/share/applications
clean: clean:
rm NUSGet.bin rm NUSGet
rm -rd NUSGet.build/ rm -rd NUSGet.build/
rm -rd NUSGet.dist/ rm -rd NUSGet.dist/
rm -rd NUSGet.onefile-build/ rm -rd NUSGet.onefile-build/

792
NUSGet.py
View File

@@ -1,24 +1,44 @@
# NUSGet.py, licensed under the MIT license # "NUSGet.py", licensed under the MIT license
# Copyright 2024 NinjaCheetah # Copyright 2024-2025 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 os
import sys
import json import json
import pathlib import pathlib
import platform import platform
import webbrowser
from importlib.metadata import version from importlib.metadata import version
import libWiiPy
import libTWLPy
from PySide6.QtGui import QIcon from PySide6.QtGui import QIcon
from PySide6.QtWidgets import QApplication, QMainWindow, QMessageBox, QStyleFactory, QFileDialog
from PySide6.QtWidgets import (QApplication, QMainWindow, QMessageBox, QTreeWidgetItem, QHeaderView, QStyle,
QStyleFactory)
from PySide6.QtCore import QRunnable, Slot, QThreadPool, Signal, QObject, QLibraryInfo, QTranslator, QLocale from PySide6.QtCore import QRunnable, Slot, QThreadPool, Signal, QObject, QLibraryInfo, QTranslator, QLocale
from qt.py.ui_MainMenu import Ui_MainWindow 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"], regions = {"World": ["41"], "USA/NTSC": ["45"], "Europe/PAL": ["50"], "Japan": ["4A"], "Korea": ["4B"], "China": ["43"],
"Australia/NZ": ["55"]} "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. # Signals needed for the worker used for threading the downloads.
class WorkerSignals(QObject): class WorkerSignals(QObject):
result = Signal(int) result = Signal(object)
progress = Signal(str) progress = Signal(str)
# Worker class used to thread the downloads. # Worker class used to thread the downloads.
class Worker(QRunnable): class Worker(QRunnable):
def __init__(self, fn, **kwargs): def __init__(self, fn, *args, **kwargs):
super(Worker, self).__init__() super(Worker, self).__init__()
self.fn = fn self.fn = fn
self.args = args
self.kwargs = kwargs self.kwargs = kwargs
self.signals = WorkerSignals() 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 # unlikely event that an unexpected error happens, it can only possibly be a ValueError, so handle that and
# return code 1. # return code 1.
try: try:
result = self.fn(**self.kwargs) result = self.fn(*self.args, **self.kwargs)
except ValueError: except ValueError:
self.signals.result.emit(1) self.signals.result.emit(1)
else: else:
@@ -58,137 +79,202 @@ class MainWindow(QMainWindow, Ui_MainWindow):
super(MainWindow, self).__init__() super(MainWindow, self).__init__()
self.ui = Ui_MainWindow() self.ui = Ui_MainWindow()
self.ui.setupUi(self) self.ui.setupUi(self)
self.log_text = ""
self.threadpool = QThreadPool() self.threadpool = QThreadPool()
self.ui.download_btn.clicked.connect(self.download_btn_pressed) self.ui.download_btn.clicked.connect(self.download_btn_pressed)
self.ui.pack_archive_chkbox.clicked.connect(self.pack_wad_chkbox_toggled) self.ui.script_btn.clicked.connect(self.script_btn_pressed)
# noinspection PyUnresolvedReferences self.ui.pack_archive_chkbox.toggled.connect(
self.ui.wii_title_tree.header().setSectionResizeMode(QHeaderView.ResizeToContents) lambda: self.ui.archive_file_entry.setEnabled(self.ui.pack_archive_chkbox.isChecked()))
# noinspection PyUnresolvedReferences self.ui.tid_entry.textChanged.connect(self.tid_updated)
self.ui.vwii_title_tree.header().setSectionResizeMode(QHeaderView.ResizeToContents)
# noinspection PyUnresolvedReferences
self.ui.dsi_title_tree.header().setSectionResizeMode(QHeaderView.ResizeToContents)
# Basic intro text set to automatically show when the app loads. This may be changed in the future. # Basic intro text set to automatically show when the app loads. This may be changed in the future.
libwiipy_version = "v" + version("libWiiPy") libwiipy_version = "v" + version("libWiiPy")
libtwlpy_version = "v" + version("libTWLPy") libtwlpy_version = "v" + version("libTWLPy")
log_message = self.tr(f"NUSGet v{nusget_version}\nDeveloped by NinjaCheetah\nPowered by libWiiPy " self.log_text = (app.translate("MainWindow", "NUSGet v{nusget_version}\nDeveloped by NinjaCheetah\nPowered by libWiiPy "
f"{libwiipy_version}\nDSi support provided by libTWLPy {libtwlpy_version}\n\n" "{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" "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" "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 " " 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 " "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.") "downloaded to a folder named \"NUSGet Downloads\" inside your downloads folder.")
self.ui.log_text_browser.setText(log_message) .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. # Add console entries to dropdown and attach on change signal.
self.ui.console_select_dropdown.addItem("Wii") self.ui.console_select_dropdown.addItem("Wii")
self.ui.console_select_dropdown.addItem("vWii") self.ui.console_select_dropdown.addItem("vWii")
self.ui.console_select_dropdown.addItem("DSi") self.ui.console_select_dropdown.addItem("DSi")
self.ui.console_select_dropdown.currentIndexChanged.connect(self.selected_console_changed) self.ui.console_select_dropdown.currentIndexChanged.connect(self.selected_console_changed)
# Title tree building code. # Title tree loading code. Now powered by Models:tm:
wii_tree = self.ui.wii_title_tree wii_model = NUSGetTreeModel(wii_database, root_name="Wii Titles")
vwii_tree = self.ui.vwii_title_tree vwii_model = NUSGetTreeModel(vwii_database, root_name="vWii Titles")
dsi_tree = self.ui.dsi_title_tree dsi_model = NUSGetTreeModel(dsi_database, root_name="DSi Titles")
self.trees = [[wii_tree, wii_database], [vwii_tree, vwii_database], [dsi_tree, dsi_database]] self.tree_models = [wii_model, vwii_model, dsi_model]
for tree in self.trees: self.trees = [self.ui.wii_title_tree, self.ui.vwii_title_tree, self.ui.dsi_title_tree]
self.tree_categories = [] # Build proxy models required for searching
global regions self.proxy_models = [TIDFilterProxyModel(self.ui.wii_title_tree), TIDFilterProxyModel(self.ui.vwii_title_tree),
# Iterate over each category in the database file. TIDFilterProxyModel(self.ui.dsi_title_tree)]
for key in tree[1]: for model in range(len(self.proxy_models)):
new_category = QTreeWidgetItem() self.proxy_models[model].setSourceModel(self.tree_models[model])
new_category.setText(0, key) self.proxy_models[model].setFilterKeyColumn(0)
# Iterate over each title in the current category. self.ui.tree_filter_input.textChanged.connect(lambda: self.filter_text_updated(self.ui.platform_tabs.currentIndex()))
for title in tree[1][key]: self.ui.tree_filter_reset_btn.clicked.connect(lambda: self.ui.tree_filter_input.setText(""))
new_title = QTreeWidgetItem() for tree in range(len(self.trees)):
new_title.setText(0, title["TID"] + " - " + title["Name"]) self.trees[tree].setModel(self.proxy_models[tree])
# Build the list of regions and what versions are offered for each region. self.trees[tree].doubleClicked.connect(self.title_double_clicked)
for region in title["Versions"]: self.trees[tree].expanded.connect(lambda: self.resize_tree(self.ui.platform_tabs.currentIndex()))
new_region = QTreeWidgetItem() self.trees[tree].collapsed.connect(lambda: self.resize_tree(self.ui.platform_tabs.currentIndex()))
new_region.setText(0, region) # Prevent resizing.
for title_version in title["Versions"][region]: self.setFixedSize(self.size())
new_version = QTreeWidgetItem() # These connections allow for clicking the checkbox labels to toggle the checkboxes, if they're enabled. This is
new_version.setText(0, "v" + str(title_version)) # required because checkboxes can't word wrap, so regular labels must be used in their place.
new_region.addChild(new_version) connect_label_to_checkbox(self.ui.pack_archive_chkbox_lbl, self.ui.pack_archive_chkbox)
new_title.addChild(new_region) connect_label_to_checkbox(self.ui.keep_enc_chkbox_lbl, self.ui.keep_enc_chkbox)
# Set an indicator icon to show if a ticket is offered for this title or not. connect_label_to_checkbox(self.ui.create_dec_chkbox_lbl, self.ui.create_dec_chkbox)
if title["Ticket"] is True: connect_label_to_checkbox(self.ui.use_local_chkbox_lbl, self.ui.use_local_chkbox)
new_title.setIcon(0, self.style().standardIcon(QStyle.StandardPixmap.SP_DialogApplyButton)) connect_label_to_checkbox(self.ui.use_wiiu_nus_chkbox_lbl, self.ui.use_wiiu_nus_chkbox)
else: connect_label_to_checkbox(self.ui.patch_ios_chkbox_lbl, self.ui.patch_ios_chkbox)
new_title.setIcon(0, self.style().standardIcon(QStyle.StandardPixmap.SP_DialogCancelButton)) connect_label_to_checkbox(self.ui.pack_vwii_mode_chkbox_lbl, self.ui.pack_vwii_mode_chkbox)
new_category.addChild(new_title) # Do a quick check to see if there's a newer release available, and inform the user if there is.
self.tree_categories.append(new_category) worker = Worker(check_nusget_updates, app, nusget_version)
tree[0].insertTopLevelItems(0, self.tree_categories) worker.signals.result.connect(self.prompt_for_update)
# Connect the double click signal for handling when titles are selected. worker.signals.progress.connect(self.update_log_text)
tree[0].itemDoubleClicked.connect(self.onItemClicked) self.threadpool.start(worker)
@Slot(QTreeWidgetItem, int) def title_double_clicked(self, index):
def onItemClicked(self, item, col):
if self.ui.download_btn.isEnabled() is True: 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 # Need to map the proxy index to the source index because we're using a proxy model for searching. If we
# than a version, this returns an AttributeError and the click can be ignored. # don't, this for some reason isn't handled by PySide and causes a segfault.
try: source_index = self.proxy_models[self.ui.platform_tabs.currentIndex()].mapToSource(index)
category = item.parent().parent().parent().text(0) title = source_index.internalPointer().metadata
except AttributeError: if title is not None:
self.ui.console_select_dropdown.setCurrentIndex(self.ui.platform_tabs.currentIndex())
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 return
for tree in self.trees: self.ui.patch_ios_chkbox.setEnabled(False)
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)
self.ui.console_select_dropdown.setCurrentIndex(self.ui.platform_tabs.currentIndex())
self.load_title_data(selected_title, selected_version, selected_region)
except KeyError:
pass
def update_log_text(self, new_text): 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.log_text += new_text + "\n"
self.ui.log_text_browser.setText(self.log_text) self.ui.log_text_browser.setText(self.log_text)
# Always auto-scroll to the bottom of the log. # Always auto-scroll to the bottom of the log.
scroll_bar = self.ui.log_text_browser.verticalScrollBar() scroll_bar = self.ui.log_text_browser.verticalScrollBar()
scroll_bar.setValue(scroll_bar.maximum()) 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. # 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 # 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. # 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 global regions
region_code = regions[selected_region][0] region_code = regions[selected_title.region][0]
tid = selected_title["TID"][:-2] + region_code tid = selected_title.tid[:-2] + region_code
else: else:
tid = selected_title["TID"] tid = selected_title.tid
# Load the TID and version into the entry boxes. # Load the TID and version into the entry boxes.
self.ui.tid_entry.setText(tid) 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 # Load the WAD name, assuming it exists. This shouldn't ever be able to fail as the database has a WAD name
# for every single title, regardless of whether it can be packed or not. # for every single title, regardless of whether it can be packed or not.
try: archive_name = selected_title.archive_name
if self.ui.console_select_dropdown.currentText() == "DSi": if selected_title.category != "System" and selected_title.category != "IOS":
archive_name = selected_title["TAD Name"] + "-v" + selected_version + ".tad" archive_name += f"-{str(bytes.fromhex(tid).decode())[-4:]}"
else: archive_name += f"-v{selected_title.version}"
archive_name = selected_title["WAD Name"] + "-v" + selected_version + ".wad" if selected_title.region != "World":
self.ui.archive_file_entry.setText(archive_name) archive_name += f"-{selected_title.region.split('/')[0]}"
except KeyError: if self.ui.console_select_dropdown.currentText() == "DSi":
pass archive_name += ".tad"
# Same idea for the danger string, however this only exists for certain titles and will frequently be an error. elif self.ui.console_select_dropdown.currentText() == "vWii":
danger_text = "" if selected_title.category.find("System") != -1 or selected_title.category == "IOS":
try: archive_name += "-vWii"
danger_text = selected_title["Danger"] archive_name += ".wad"
except KeyError: else:
pass 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)
danger_text = selected_title.danger
# Add warning text to the log if the selected title has no ticket. # 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" danger_text = danger_text + ("Note: This Title does not have a Ticket available, so it cannot be decrypted"
" or packed into a WAD/TAD.") " or packed into a WAD/TAD.")
# Print log info about the selected title and version. # Print log info about the selected title and version.
self.log_text = (tid + " - " + selected_title["Name"] + "\n" + "Version: " + selected_version + "\n\n" + self.log_text = f"{tid} - {selected_title.name}\nVersion: {selected_title.version}\n\n{danger_text}\n"
danger_text + "\n")
self.ui.log_text_browser.setText(self.log_text) self.ui.log_text_browser.setText(self.log_text)
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)
self.ui.use_local_chkbox.setEnabled(False)
self.ui.patch_ios_chkbox.setEnabled(False)
self.ui.use_wiiu_nus_chkbox.setEnabled(False)
self.ui.pack_vwii_mode_chkbox.setEnabled(False)
self.ui.archive_file_entry.setEnabled(False)
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.patch_ios_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): 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. # 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 if (self.ui.pack_archive_chkbox.isChecked() is False and self.ui.keep_enc_chkbox.isChecked() is False and
@@ -197,31 +283,26 @@ class MainWindow(QMainWindow, Ui_MainWindow):
msg_box.setIcon(QMessageBox.Icon.Critical) msg_box.setIcon(QMessageBox.Icon.Critical)
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok) msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok) msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
msg_box.setWindowTitle("No Output Selected") msg_box.setWindowTitle(app.translate("MainWindow", "No Output Selected"))
msg_box.setText("You have not selected any format to output the data in!") msg_box.setText(app.translate("MainWindow", "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 " msg_box.setInformativeText(app.translate("MainWindow", "Please select at least one option for how you would "
"saved.") "like the download to be saved."))
msg_box.exec() msg_box.exec()
return return
# Lock the UI prior to the download beginning to avoid spawning multiple threads or changing info part way in. self.lock_ui()
self.ui.tid_entry.setEnabled(False)
self.ui.version_entry.setEnabled(False)
self.ui.download_btn.setEnabled(False)
self.ui.pack_archive_chkbox.setEnabled(False)
self.ui.keep_enc_chkbox.setEnabled(False)
self.ui.create_dec_chkbox.setEnabled(False)
self.ui.use_local_chkbox.setEnabled(False)
self.ui.use_wiiu_nus_chkbox.setEnabled(False)
self.ui.pack_vwii_mode_chkbox.setEnabled(False)
self.ui.archive_file_entry.setEnabled(False)
self.ui.console_select_dropdown.setEnabled(False)
self.log_text = ""
self.ui.log_text_browser.setText(self.log_text)
# Create a new worker object to handle the download in a new thread. # Create a new worker object to handle the download in a new thread.
if self.ui.console_select_dropdown.currentText() == "DSi": 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: 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.result.connect(self.check_download_result)
worker.signals.progress.connect(self.update_log_text) worker.signals.progress.connect(self.update_log_text)
self.threadpool.start(worker) self.threadpool.start(worker)
@@ -233,339 +314,76 @@ class MainWindow(QMainWindow, Ui_MainWindow):
msg_box.setStandardButtons(QMessageBox.StandardButton.Ok) msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
msg_box.setDefaultButton(QMessageBox.StandardButton.Ok) msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
if result == -1: if result == -1:
window_title = self.tr("Invalid Title ID") window_title = app.translate("MainWindow", "Invalid Title ID")
title_text = self.tr("The Title ID you have entered is not in a valid format!") title_text = app.translate("MainWindow", "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 " 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.") "formatted Title ID, or select one from the menu on the left.")
elif result == -2: elif result == -2:
window_title = self.tr("Title ID/Version Not Found") window_title = app.translate("MainWindow", "Title ID/Version Not Found")
title_text = self.tr("No title with the provided Title ID or version could be found!") title_text = app.translate("MainWindow", "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 " 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 " "title database, and that the provided version exists for the title you are attempting to download.")
"to download.")
elif result == -3: elif result == -3:
window_title = self.tr("Content Decryption Failed") window_title = app.translate("MainWindow", "Content Decryption Failed")
title_text = self.tr("Content decryption was not successful! Decrypted contents could not be created.") title_text = app.translate("MainWindow", "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 " 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 " "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.") "option before trying the download again to fix potential issues with local data.")
elif result == 1: elif result == 1:
msg_box.setIcon(QMessageBox.Icon.Warning) msg_box.setIcon(QMessageBox.Icon.Warning)
window_title = self.tr("Ticket Not Available") window_title = app.translate("MainWindow", "Ticket Not Available")
title_text = self.tr("No Ticket is Available for the Requested Title!") title_text = app.translate("MainWindow", "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" 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 " " installable archive\" or \"Create decrypted contents\". These options are not "
"available for titles without a ticket. Only encrypted contents have been saved.") "available for titles without a ticket. Only encrypted contents have been saved.")
else: else:
window_title = self.tr("Unknown Error") window_title = app.translate("MainWindow", "Unknown Error")
title_text = self.tr("An Unknown Error has Occurred!") title_text = app.translate("MainWindow", "An Unknown Error has Occurred!")
body_text = self.tr("Please try again. If this issue persists, please open a new issue on GitHub detailing" 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.") " what you were trying to do when this error occurred.")
if result != 0: if result != 0:
msg_box.setWindowTitle(window_title) msg_box.setWindowTitle(window_title)
msg_box.setText(title_text) msg_box.setText(title_text)
msg_box.setInformativeText(body_text) msg_box.setInformativeText(body_text)
msg_box.exec() msg_box.exec()
# Now that the thread has closed, unlock the UI to allow for the next download. self.unlock_ui()
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)
# Call the dropdown callback because this will automagically handle setting console-specific settings based # Call the dropdown callback because this will automagically handle setting console-specific settings based
# on the currently selected console, and saves on duplicate code. # on the currently selected console, and saves on duplicate code.
self.selected_console_changed() self.selected_console_changed()
def run_nus_download_wii(self, progress_callback): def check_batch_result(self, result: BatchResults):
# Actual NUS download function that runs in a separate thread. if result.code != 0:
tid = self.ui.tid_entry.text() msg_box = QMessageBox()
# Immediately knock out any invalidly formatted Title IDs. if result.failed_titles:
if len(tid) != 16: msg_box.setIcon(QMessageBox.Icon.Critical)
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...")
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: else:
title.load_tmd(libWiiPy.title.download_tmd(tid, wiiu_endpoint=wiiu_nus_enabled)) msg_box.setIcon(QMessageBox.Icon.Warning)
title_version = title.tmd.title_version msg_box.setStandardButtons(QMessageBox.StandardButton.Ok)
# If libWiiPy returns an error, that means that either the TID or version doesn't exist, so return code -2. msg_box.setDefaultButton(QMessageBox.StandardButton.Ok)
except ValueError: msg_box.setWindowTitle(app.translate("MainWindow", "Script Issues Occurred"))
return -2 msg_box.setText(app.translate("MainWindow", "Some issues occurred while running the download script."))
# Make a directory for this version if it doesn't exist. msg_box.setInformativeText(
version_dir = pathlib.Path(os.path.join(title_dir, str(title_version))) app.translate("MainWindow", "Check the log for more details about what issues were encountered."))
if not version_dir.is_dir(): msg_box.exec()
version_dir.mkdir() self.log_text = ""
# Write out the TMD to a file. if result.failed_titles:
tmd_out = open(os.path.join(version_dir, "tmd." + str(title_version)), "wb") self.update_log_text(app.translate("MainWindow",
tmd_out.write(title.tmd.dump()) "The following titles could not be downloaded due to an error. "
tmd_out.close() "Please ensure that the Title ID and version listed in the script "
# Use a local ticket, if one exists and "use local files" is enabled. "are valid."))
if self.ui.use_local_chkbox.isChecked() is True and os.path.exists(os.path.join(version_dir, "tik")): for title in result.failed_titles:
progress_callback.emit(" - Parsing local copy of Ticket...") self.update_log_text(f" - {title}")
local_ticket = open(os.path.join(version_dir, "tik"), "rb") if result.warning_titles:
title.load_ticket(local_ticket.read()) if result.failed_titles:
else: self.update_log_text("")
progress_callback.emit(" - Downloading and parsing Ticket...") self.update_log_text(app.translate("MainWindow",
try: "You enabled \"Create decrypted contents\" or \"Pack installable "
title.load_ticket(libWiiPy.title.download_ticket(tid, wiiu_endpoint=wiiu_nus_enabled)) "archive\", but the following titles in the script do not have "
ticket_out = open(os.path.join(version_dir, "tik"), "wb") "tickets available. If enabled, encrypted contents were still "
ticket_out.write(title.ticket.dump()) "downloaded."))
ticket_out.close() for title in result.warning_titles:
except ValueError: self.update_log_text(f" - {title}")
# If libWiiPy returns an error, then no ticket is available. Log this, and disable options requiring a self.unlock_ui()
# 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
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
# accordingly.
if self.ui.pack_archive_chkbox.isChecked() is True:
self.ui.archive_file_entry.setEnabled(True)
else:
self.ui.archive_file_entry.setEnabled(False)
def selected_console_changed(self): def selected_console_changed(self):
# Callback function to enable or disable console-specific settings based on the selected console. # Callback function to enable or disable console-specific settings based on the selected console.
@@ -576,6 +394,84 @@ class MainWindow(QMainWindow, Ui_MainWindow):
elif self.ui.console_select_dropdown.currentText() == "DSi": elif self.ui.console_select_dropdown.currentText() == "DSi":
self.ui.pack_vwii_mode_chkbox.setEnabled(False) 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__": if __name__ == "__main__":
app = QApplication(sys.argv) app = QApplication(sys.argv)
@@ -592,15 +488,15 @@ if __name__ == "__main__":
sub_key = r'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders' sub_key = r'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders'
downloads_guid = '{374DE290-123F-4565-9164-39C4925E467B}' downloads_guid = '{374DE290-123F-4565-9164-39C4925E467B}'
with winreg.OpenKey(winreg.HKEY_CURRENT_USER, sub_key) as key: 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: 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". # 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 Downloads")
# Create the "NUSGet" directory if it doesn't exist. In the future, this will be user-customizable, but this works # Create the "NUSGet Downloads" directory if it doesn't exist. In the future, this will be user-customizable, but
# for now, and avoids the issues from when it used to use a directory next to the binary (mostly on macOS). # this works for now, and avoids using a directory next to the binary (mostly an issue on macOS/Linux).
if not os.path.isdir(out_folder): if not out_folder.is_dir():
os.mkdir(out_folder) out_folder.mkdir()
# Load the system plugins directory on Linux for system styles, if it exists. Try using Breeze if available, because # 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. # it looks nice, but fallback on kvantum if it isn't, since kvantum is likely to exist. If all else fails, fusion.
@@ -618,7 +514,7 @@ if __name__ == "__main__":
if translator.load(QLocale.system(), 'qtbase', '_', path): if translator.load(QLocale.system(), 'qtbase', '_', path):
app.installTranslator(translator) app.installTranslator(translator)
translator = QTranslator(app) translator = QTranslator(app)
path = 'resources/translations' path = os.path.join(os.path.dirname(__file__), "resources/translations")
if translator.load(QLocale.system(), 'nusget', '_', path): if translator.load(QLocale.system(), 'nusget', '_', path):
app.installTranslator(translator) app.installTranslator(translator)

View File

@@ -1,11 +1,15 @@
{ {
"files": [ "files": [
"NUSGet.py", "NUSGet.py",
"./qt/py/ui_MainMenu.py", "./modules/core.py",
"./qt/ui/MainMenu.ui",
"./resources/translations/nusget_es.ts", "./resources/translations/nusget_es.ts",
"./resources/translations/nusget_no.ts", "./resources/translations/nusget_no.ts",
"./resources/translations/nusget_nb.ts", "./resources/translations/nusget_nb.ts",
"./resources/translations/nusget_fr.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"
] ]
} }

View File

@@ -6,53 +6,71 @@ A modern and supercharged NUS downloader built with Python and Qt6. Powered by l
The name is a play on NuGet, the .NET package manager. Thank you [@Janni9009](https://github.com/Janni9009) for the name idea! The name is a play on NuGet, the .NET package manager. Thank you [@Janni9009](https://github.com/Janni9009) for the name idea!
## Features ## 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. 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: 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. - 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. Only supported for free titles.
- 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:** **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. Only supported for free titles.
**For vWii titles only:** **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:** **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). - "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 ## Building
### System Requirements ### System Requirements
- **Windows:** Python 3.11 (Requires Windows 8.1 or later) - **Windows:** Python 3.12 (Requires Windows 8.1 or later)
- **Linux:** Python 3.11 - **Linux:** Python 3.12
- **macOS:** Python 3.11 (Requires macOS 10.9 or later, however macOS 11.0 or later may be required for library support) - **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: ### 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`.
pip install -r requirements.txt ```shell
``` make all
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** 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** ## Translations
``` A huge thanks to all the wonderful translators who've helped make NUSGet available to more people!
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 - **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? ## Why this and not NUSD?

35
TRANSLATING.md Normal file
View 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
View File

@@ -0,0 +1,26 @@
# "build_translations.py", licensed under the MIT license
# Copyright 2024-2025 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))

View File

@@ -7,7 +7,7 @@
"World": [256, 512] "World": [256, 512]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Nintendo-DS-Cartridge-Whitelist-NUS" "Archive Name": "Nintendo-DS-Cartridge-Whitelist"
}, },
{ {
"Name": "Launcher (System Menu)", "Name": "Launcher (System Menu)",
@@ -21,7 +21,7 @@
"Australia/NZ": [512, 768, 1024, 1280, 1536, 1792] "Australia/NZ": [512, 768, 1024, 1280, 1536, 1792]
}, },
"Ticket": true, "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." "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] "Australia/NZ": [3, 4, 5, 6, 7, 8, 9]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Version-Data-NUS" "Archive Name": "Version-Data"
}, },
{ {
"Name": "WiFi Firmware", "Name": "WiFi Firmware",
@@ -45,7 +45,7 @@
"World": [256, 512] "World": [256, 512]
}, },
"Ticket": true, "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." "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] "World": [256]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "DS-Download-Play-NUS" "Archive Name": "DS-Download-Play"
}, },
{ {
"Name": "Flipnote Studio", "Name": "Flipnote Studio",
@@ -68,7 +68,7 @@
"Japan": [512] "Japan": [512]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Flipnote-Studio-NUS" "Archive Name": "Flipnote-Studio"
}, },
{ {
"Name": "Nintendo 3DS Transfer Tool", "Name": "Nintendo 3DS Transfer Tool",
@@ -81,7 +81,7 @@
"Australia/NZ": [512, 768] "Australia/NZ": [512, 768]
}, },
"Ticket": false, "Ticket": false,
"TAD Name": "Nintendo-3DS-Transfer-Tool-NUS" "Archive Name": "Nintendo-3DS-Transfer-Tool"
}, },
{ {
"Name": "Nintendo DSi Browser", "Name": "Nintendo DSi Browser",
@@ -92,7 +92,7 @@
"Japan": [768] "Japan": [768]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Nintendo-DSi-Browser-NUS" "Archive Name": "Nintendo-DSi-Browser"
}, },
{ {
"Name": "Nintendo DSi Camera", "Name": "Nintendo DSi Camera",
@@ -104,7 +104,7 @@
"Australia/NZ": [768, 1024] "Australia/NZ": [768, 1024]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Nintendo-DSi-Camera-NUS" "Archive Name": "Nintendo-DSi-Camera"
}, },
{ {
"Name": "Nintendo DSi Shop", "Name": "Nintendo DSi Shop",
@@ -118,7 +118,7 @@
"Australia/NZ": [1536, 1792, 2048, 2304, 2560, 2816, 3072] "Australia/NZ": [1536, 1792, 2048, 2304, 2560, 2816, 3072]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Nintendo-DSi-Shop-NUS" "Archive Name": "Nintendo-DSi-Shop"
}, },
{ {
"Name": "Nintendo DSi Sound", "Name": "Nintendo DSi Sound",
@@ -130,7 +130,7 @@
"Australia/NZ": [256, 512] "Australia/NZ": [256, 512]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Nintendo-DSi-Sound-NUS" "Archive Name": "Nintendo-DSi-Sound"
}, },
{ {
"Name": "Nintendo Zone", "Name": "Nintendo Zone",
@@ -142,7 +142,7 @@
"Australia/NZ": [512, 768] "Australia/NZ": [512, 768]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "Nintendo-DSi-Sound-NUS" "Archive Name": "Nintendo-DSi-Sound"
}, },
{ {
"Name": "System Settings", "Name": "System Settings",
@@ -156,7 +156,7 @@
"Australia/NZ": [512, 768] "Australia/NZ": [512, 768]
}, },
"Ticket": true, "Ticket": true,
"TAD Name": "System-Settings-NUS" "Archive Name": "System-Settings"
} }
], ],
"DSiWare": [ "DSiWare": [

View File

@@ -7,8 +7,8 @@
"World": [6, 7] "World": [6, 7]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "BC-NAND-NUS", "Archive Name": "BC-NAND",
"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." "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", "Name": "BC-WFS",
@@ -17,8 +17,8 @@
"World": [1] "World": [1]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "BC-WFS-NUS", "Archive Name": "BC-WFS",
"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." "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", "Name": "System Menu",
@@ -29,8 +29,19 @@
"Japan": [512, 544, 608] "Japan": [512, 544, 608]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "vWii-System-Menu", "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." "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": [ "System Channels": [
@@ -41,19 +52,7 @@
"World": [6] "World": [6]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "Mii-Channel-NUS" "Archive Name": "Mii-Channel"
},
{
"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."
}, },
{ {
"Name": "Shopping Channel", "Name": "Shopping Channel",
@@ -62,7 +61,7 @@
"World": [21] "World": [21]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "Shopping-Channel-NUS" "Archive Name": "Shopping-Channel"
}, },
{ {
"Name": "Return to Wii U Menu", "Name": "Return to Wii U Menu",
@@ -71,7 +70,7 @@
"World": [0] "World": [0]
}, },
"Ticket": true, "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." "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] "Japan": [0, 1, 2, 3, 5]
}, },
"Ticket": true, "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)", "Name": "Wii System Transfer (WagonCompat)",
@@ -94,7 +107,7 @@
"Japan": [29, 31] "Japan": [29, 31]
}, },
"Ticket": true, "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." "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] "Japan": [516]
}, },
"Ticket": false, "Ticket": false,
"WAD Name": "Wii-System-Transfer-Tool-WNP-NUS" "Archive Name": "Wii-System-Transfer-Tool-WNP"
} }
], ],
"IOS": [ "IOS": [
@@ -119,7 +132,7 @@
"World": [1290] "World": [1290]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS9-64-vWii" "Archive Name": "IOS9"
}, },
{ {
"Name": "IOS 12", "Name": "IOS 12",
@@ -128,7 +141,7 @@
"World": [782] "World": [782]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS12-64-vWii" "Archive Name": "IOS12"
}, },
{ {
"Name": "IOS 13", "Name": "IOS 13",
@@ -137,7 +150,7 @@
"World": [1288] "World": [1288]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS13-64-vWii" "Archive Name": "IOS13"
}, },
{ {
"Name": "IOS 14", "Name": "IOS 14",
@@ -146,7 +159,7 @@
"World": [1288] "World": [1288]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS14-64-vWii" "Archive Name": "IOS14"
}, },
{ {
"Name": "IOS 15", "Name": "IOS 15",
@@ -155,7 +168,7 @@
"World": [1288] "World": [1288]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS15-64-vWii" "Archive Name": "IOS15"
}, },
{ {
"Name": "IOS 17", "Name": "IOS 17",
@@ -164,7 +177,7 @@
"World": [1288] "World": [1288]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS17-64-vWii" "Archive Name": "IOS17"
}, },
{ {
"Name": "IOS 21", "Name": "IOS 21",
@@ -173,7 +186,7 @@
"World": [1295] "World": [1295]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS21-64-vWii" "Archive Name": "IOS21"
}, },
{ {
"Name": "IOS 22", "Name": "IOS 22",
@@ -182,7 +195,7 @@
"World": [1550] "World": [1550]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS22-64-vWii" "Archive Name": "IOS22"
}, },
{ {
"Name": "IOS 28", "Name": "IOS 28",
@@ -191,7 +204,7 @@
"World": [2063] "World": [2063]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS28-64-vWii" "Archive Name": "IOS28"
}, },
{ {
"Name": "IOS 31", "Name": "IOS 31",
@@ -200,7 +213,7 @@
"World": [3864] "World": [3864]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS31-64-vWii" "Archive Name": "IOS31"
}, },
{ {
"Name": "IOS 33", "Name": "IOS 33",
@@ -209,7 +222,7 @@
"World": [3864] "World": [3864]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS33-64-vWii" "Archive Name": "IOS33"
}, },
{ {
"Name": "IOS 34", "Name": "IOS 34",
@@ -218,7 +231,7 @@
"World": [3864] "World": [3864]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS34-64-vWii" "Archive Name": "IOS34"
}, },
{ {
"Name": "IOS 35", "Name": "IOS 35",
@@ -227,7 +240,7 @@
"World": [3864] "World": [3864]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS35-64-vWii" "Archive Name": "IOS35"
}, },
{ {
"Name": "IOS 36", "Name": "IOS 36",
@@ -236,7 +249,7 @@
"World": [3864] "World": [3864]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS36-64-vWii" "Archive Name": "IOS36"
}, },
{ {
"Name": "IOS 37", "Name": "IOS 37",
@@ -245,7 +258,7 @@
"World": [5919] "World": [5919]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS37-64-vWii" "Archive Name": "IOS37"
}, },
{ {
"Name": "IOS 38", "Name": "IOS 38",
@@ -254,7 +267,7 @@
"World": [4380] "World": [4380]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS38-64-vWii" "Archive Name": "IOS38"
}, },
{ {
"Name": "IOS 41", "Name": "IOS 41",
@@ -263,7 +276,7 @@
"World": [3863] "World": [3863]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS41-64-vWii" "Archive Name": "IOS41"
}, },
{ {
"Name": "IOS 43", "Name": "IOS 43",
@@ -272,7 +285,7 @@
"World": [3863] "World": [3863]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS43-64-vWii" "Archive Name": "IOS43"
}, },
{ {
"Name": "IOS 45", "Name": "IOS 45",
@@ -281,7 +294,7 @@
"World": [3863] "World": [3863]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS45-64-vWii" "Archive Name": "IOS45"
}, },
{ {
"Name": "IOS 46", "Name": "IOS 46",
@@ -290,7 +303,7 @@
"World": [3863] "World": [3863]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS46-64-vWii" "Archive Name": "IOS46"
}, },
{ {
"Name": "IOS 48", "Name": "IOS 48",
@@ -299,7 +312,7 @@
"World": [4380] "World": [4380]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS48-64-vWii" "Archive Name": "IOS48"
}, },
{ {
"Name": "IOS 53", "Name": "IOS 53",
@@ -308,7 +321,7 @@
"World": [5919] "World": [5919]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS53-64-vWii" "Archive Name": "IOS53"
}, },
{ {
"Name": "IOS 55", "Name": "IOS 55",
@@ -317,7 +330,7 @@
"World": [5919] "World": [5919]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS55-64-vWii" "Archive Name": "IOS55"
}, },
{ {
"Name": "IOS 56", "Name": "IOS 56",
@@ -326,7 +339,7 @@
"World": [5918] "World": [5918]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS56-64-vWii" "Archive Name": "IOS56"
}, },
{ {
"Name": "IOS 57", "Name": "IOS 57",
@@ -335,7 +348,7 @@
"World": [6175] "World": [6175]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS57-64-vWii" "Archive Name": "IOS57"
}, },
{ {
"Name": "IOS 58", "Name": "IOS 58",
@@ -344,7 +357,7 @@
"World": [6432] "World": [6432]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS58-64-vWii" "Archive Name": "IOS58"
}, },
{ {
"Name": "IOS 59", "Name": "IOS 59",
@@ -353,7 +366,7 @@
"World": [7201, 8737, 9249] "World": [7201, 8737, 9249]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS59-64-vWii" "Archive Name": "IOS59"
}, },
{ {
"Name": "IOS 62", "Name": "IOS 62",
@@ -362,7 +375,7 @@
"World": [6430, 6686, 6942] "World": [6430, 6686, 6942]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS62-64-vWii" "Archive Name": "IOS62"
}, },
{ {
"Name": "IOS 80", "Name": "IOS 80",
@@ -371,7 +384,7 @@
"World": [7200] "World": [7200]
}, },
"Ticket": true, "Ticket": true,
"WAD Name": "IOS80-64-vWii" "Archive Name": "IOS80"
} }
] ]
} }

File diff suppressed because it is too large Load Diff

16
example-script.json Normal file
View File

@@ -0,0 +1,16 @@
[
{
"Title ID": "0000000100000050",
"Console": "Wii"
},
{
"Title ID": "0000000100000002",
"Version": 518,
"Console": "Wii"
},
{
"Title ID": "00030017484E4145",
"Version": 1792,
"Console": "DSi"
}
]

63
modules/core.py Normal file
View File

@@ -0,0 +1,63 @@
# "modules/core.py", licensed under the MIT license
# Copyright 2024-2025 NinjaCheetah
import requests
from dataclasses import dataclass
from typing import List
from PySide6.QtCore import Qt as _Qt
@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 connect_label_to_checkbox(label, checkbox):
def toggle_checkbox(event):
if checkbox.isEnabled() and event.button() == _Qt.LeftButton:
checkbox.toggle()
label.mousePressEvent = toggle_checkbox
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
View File

@@ -0,0 +1,57 @@
# "modules/download_batch.py", licensed under the MIT license
# Copyright 2024-2025 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
View File

@@ -0,0 +1,116 @@
# "modules/download_dsi.py", licensed under the MIT license
# Copyright 2024-2025 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

144
modules/download_wii.py Normal file
View File

@@ -0,0 +1,144 @@
# "modules/download_wii.py", licensed under the MIT license
# Copyright 2024-2025 NinjaCheetah
import pathlib
from typing import List, Tuple
import libWiiPy
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.
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. 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.
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
# 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

163
modules/tree.py Normal file
View File

@@ -0,0 +1,163 @@
# "modules/tree.py", licensed under the MIT license
# Copyright 2024-2025 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
View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Name=NUSGet
Exec=/opt/NUSGet/NUSGet.bin %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

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

View File

@@ -3,7 +3,7 @@
################################################################################ ################################################################################
## Form generated from reading UI file 'MainMenu.ui' ## 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! ## 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, from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QHBoxLayout,
QHeaderView, QLabel, QLayout, QLineEdit, QHeaderView, QLabel, QLayout, QLineEdit,
QMainWindow, QMenuBar, QPushButton, QSizePolicy, QMainWindow, QMenuBar, QPushButton, QSizePolicy,
QSpacerItem, QTabWidget, QTextBrowser, QTreeWidget, QSpacerItem, QTabWidget, QTextBrowser, QTreeView,
QTreeWidgetItem, QVBoxLayout, QWidget) QVBoxLayout, QWidget)
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
@@ -32,39 +32,49 @@ class Ui_MainWindow(object):
self.centralwidget.setObjectName(u"centralwidget") self.centralwidget.setObjectName(u"centralwidget")
self.horizontalLayout_3 = QHBoxLayout(self.centralwidget) self.horizontalLayout_3 = QHBoxLayout(self.centralwidget)
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3") self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
self.horizontalLayout_3.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
self.vertical_layout_trees = QVBoxLayout() self.vertical_layout_trees = QVBoxLayout()
self.vertical_layout_trees.setObjectName(u"vertical_layout_trees") self.vertical_layout_trees.setObjectName(u"vertical_layout_trees")
self.label_2 = QLabel(self.centralwidget) self.tree_filter_layout = QHBoxLayout()
self.label_2.setObjectName(u"label_2") self.tree_filter_layout.setObjectName(u"tree_filter_layout")
font = QFont() self.tree_filter_input = QLineEdit(self.centralwidget)
font.setBold(True) self.tree_filter_input.setObjectName(u"tree_filter_input")
self.label_2.setFont(font) 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 = QTabWidget(self.centralwidget)
self.platform_tabs.setObjectName(u"platform_tabs") self.platform_tabs.setObjectName(u"platform_tabs")
sizePolicy = QSizePolicy(QSizePolicy.Policy.Maximum, QSizePolicy.Policy.Expanding) sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Maximum, QSizePolicy.Policy.Expanding)
sizePolicy.setHorizontalStretch(0) sizePolicy2.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0) sizePolicy2.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.platform_tabs.sizePolicy().hasHeightForWidth()) sizePolicy2.setHeightForWidth(self.platform_tabs.sizePolicy().hasHeightForWidth())
self.platform_tabs.setSizePolicy(sizePolicy) self.platform_tabs.setSizePolicy(sizePolicy2)
self.platform_tabs.setMinimumSize(QSize(410, 0)) self.platform_tabs.setMinimumSize(QSize(410, 0))
self.platform_tabs.setMaximumSize(QSize(410, 16777215)) self.platform_tabs.setMaximumSize(QSize(410, 16777215))
self.wii_tab = QWidget() self.wii_tab = QWidget()
self.wii_tab.setObjectName(u"wii_tab") self.wii_tab.setObjectName(u"wii_tab")
self.verticalLayout_2 = QVBoxLayout(self.wii_tab) self.verticalLayout_2 = QVBoxLayout(self.wii_tab)
self.verticalLayout_2.setObjectName(u"verticalLayout_2") self.verticalLayout_2.setObjectName(u"verticalLayout_2")
self.wii_title_tree = QTreeWidget(self.wii_tab) self.wii_title_tree = QTreeView(self.wii_tab)
__qtreewidgetitem = QTreeWidgetItem()
__qtreewidgetitem.setText(0, u"1");
self.wii_title_tree.setHeaderItem(__qtreewidgetitem)
self.wii_title_tree.setObjectName(u"wii_title_tree") 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) self.verticalLayout_2.addWidget(self.wii_title_tree)
@@ -73,16 +83,8 @@ class Ui_MainWindow(object):
self.vwii_tab.setObjectName(u"vwii_tab") self.vwii_tab.setObjectName(u"vwii_tab")
self.verticalLayout_4 = QVBoxLayout(self.vwii_tab) self.verticalLayout_4 = QVBoxLayout(self.vwii_tab)
self.verticalLayout_4.setObjectName(u"verticalLayout_4") self.verticalLayout_4.setObjectName(u"verticalLayout_4")
self.vwii_title_tree = QTreeWidget(self.vwii_tab) self.vwii_title_tree = QTreeView(self.vwii_tab)
__qtreewidgetitem1 = QTreeWidgetItem()
__qtreewidgetitem1.setText(0, u"1");
self.vwii_title_tree.setHeaderItem(__qtreewidgetitem1)
self.vwii_title_tree.setObjectName(u"vwii_title_tree") 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) self.verticalLayout_4.addWidget(self.vwii_title_tree)
@@ -91,14 +93,8 @@ class Ui_MainWindow(object):
self.dsi_tab.setObjectName(u"dsi_tab") self.dsi_tab.setObjectName(u"dsi_tab")
self.verticalLayout = QVBoxLayout(self.dsi_tab) self.verticalLayout = QVBoxLayout(self.dsi_tab)
self.verticalLayout.setObjectName(u"verticalLayout") self.verticalLayout.setObjectName(u"verticalLayout")
self.dsi_title_tree = QTreeWidget(self.dsi_tab) self.dsi_title_tree = QTreeView(self.dsi_tab)
__qtreewidgetitem2 = QTreeWidgetItem()
__qtreewidgetitem2.setText(0, u"1");
self.dsi_title_tree.setHeaderItem(__qtreewidgetitem2)
self.dsi_title_tree.setObjectName(u"dsi_title_tree") 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) self.verticalLayout.addWidget(self.dsi_title_tree)
@@ -111,7 +107,7 @@ class Ui_MainWindow(object):
self.vertical_layout_controls = QVBoxLayout() self.vertical_layout_controls = QVBoxLayout()
self.vertical_layout_controls.setObjectName(u"vertical_layout_controls") 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 = QHBoxLayout()
self.horizontal_layout_title_entry.setObjectName(u"horizontal_layout_title_entry") self.horizontal_layout_title_entry.setObjectName(u"horizontal_layout_title_entry")
self.tid_entry = QLineEdit(self.centralwidget) 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.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 = QPushButton(self.centralwidget)
self.download_btn.setObjectName(u"download_btn") 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 = QHBoxLayout()
self.horizontalLayout_5.setObjectName(u"horizontalLayout_5") self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
self.horizontalLayout_5.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize)
self.verticalLayout_7 = QVBoxLayout() self.verticalLayout_7 = QVBoxLayout()
self.verticalLayout_7.setSpacing(5)
self.verticalLayout_7.setObjectName(u"verticalLayout_7") self.verticalLayout_7.setObjectName(u"verticalLayout_7")
self.verticalLayout_7.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize)
self.label_3 = QLabel(self.centralwidget) self.label_3 = QLabel(self.centralwidget)
self.label_3.setObjectName(u"label_3") self.label_3.setObjectName(u"label_3")
font = QFont()
font.setBold(True)
self.label_3.setFont(font) self.label_3.setFont(font)
self.verticalLayout_7.addWidget(self.label_3) 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 = QCheckBox(self.centralwidget)
self.pack_archive_chkbox.setObjectName(u"pack_archive_chkbox") 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.pack_archive_chkbox_lbl = QLabel(self.centralwidget)
self.pack_archive_chkbox_lbl.setObjectName(u"pack_archive_chkbox_lbl")
sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.MinimumExpanding)
sizePolicy4.setHorizontalStretch(0)
sizePolicy4.setVerticalStretch(0)
sizePolicy4.setHeightForWidth(self.pack_archive_chkbox_lbl.sizePolicy().hasHeightForWidth())
self.pack_archive_chkbox_lbl.setSizePolicy(sizePolicy4)
self.pack_archive_chkbox_lbl.setWordWrap(True)
self.pack_archive_row.addWidget(self.pack_archive_chkbox_lbl)
self.verticalLayout_7.addLayout(self.pack_archive_row)
self.archive_file_entry = QLineEdit(self.centralwidget) self.archive_file_entry = QLineEdit(self.centralwidget)
self.archive_file_entry.setObjectName(u"archive_file_entry") 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.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 = QCheckBox(self.centralwidget)
self.keep_enc_chkbox.setObjectName(u"keep_enc_chkbox") 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.keep_enc_chkbox.setChecked(True)
self.verticalLayout_7.addWidget(self.keep_enc_chkbox) self.keep_enc_row.addWidget(self.keep_enc_chkbox)
self.keep_enc_chkbox_lbl = QLabel(self.centralwidget)
self.keep_enc_chkbox_lbl.setObjectName(u"keep_enc_chkbox_lbl")
sizePolicy4.setHeightForWidth(self.keep_enc_chkbox_lbl.sizePolicy().hasHeightForWidth())
self.keep_enc_chkbox_lbl.setSizePolicy(sizePolicy4)
self.keep_enc_chkbox_lbl.setWordWrap(True)
self.keep_enc_row.addWidget(self.keep_enc_chkbox_lbl)
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 = QCheckBox(self.centralwidget)
self.create_dec_chkbox.setObjectName(u"create_dec_chkbox") 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 = QCheckBox(self.centralwidget)
self.use_local_chkbox.setObjectName(u"use_local_chkbox") self.use_local_chkbox.setObjectName(u"use_local_chkbox")
self.use_local_chkbox.setEnabled(True) 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 = QCheckBox(self.centralwidget)
self.use_wiiu_nus_chkbox.setObjectName(u"use_wiiu_nus_chkbox") 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.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_chkbox_lbl = QLabel(self.centralwidget)
self.patch_ios_chkbox_lbl.setObjectName(u"patch_ios_chkbox_lbl")
self.patch_ios_chkbox_lbl.setEnabled(True)
sizePolicy4.setHeightForWidth(self.patch_ios_chkbox_lbl.sizePolicy().hasHeightForWidth())
self.patch_ios_chkbox_lbl.setSizePolicy(sizePolicy4)
self.patch_ios_chkbox_lbl.setWordWrap(True)
self.patch_ios_row.addWidget(self.patch_ios_chkbox_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.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.horizontalLayout_5.addLayout(self.verticalLayout_7)
self.verticalLayout_8 = QVBoxLayout() self.verticalLayout_8 = QVBoxLayout()
self.verticalLayout_8.setObjectName(u"verticalLayout_8") self.verticalLayout_8.setObjectName(u"verticalLayout_8")
self.verticalLayout_8.setSizeConstraint(QLayout.SizeConstraint.SetMinimumSize)
self.label_4 = QLabel(self.centralwidget) self.label_4 = QLabel(self.centralwidget)
self.label_4.setObjectName(u"label_4") self.label_4.setObjectName(u"label_4")
self.label_4.setFont(font) self.label_4.setFont(font)
self.verticalLayout_8.addWidget(self.label_4) 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 = QCheckBox(self.centralwidget)
self.pack_vwii_mode_chkbox.setObjectName(u"pack_vwii_mode_chkbox") self.pack_vwii_mode_chkbox.setObjectName(u"pack_vwii_mode_chkbox")
self.pack_vwii_mode_chkbox.setEnabled(False) 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_chkbox_lbl = QLabel(self.centralwidget)
self.pack_vwii_mode_chkbox_lbl.setObjectName(u"pack_vwii_mode_chkbox_lbl")
self.pack_vwii_mode_chkbox_lbl.setEnabled(True)
sizePolicy5 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
sizePolicy5.setHorizontalStretch(0)
sizePolicy5.setVerticalStretch(0)
sizePolicy5.setHeightForWidth(self.pack_vwii_mode_chkbox_lbl.sizePolicy().hasHeightForWidth())
self.pack_vwii_mode_chkbox_lbl.setSizePolicy(sizePolicy5)
self.pack_vwii_mode_chkbox_lbl.setWordWrap(True)
self.pack_vwii_mode_row.addWidget(self.pack_vwii_mode_chkbox_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.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) 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 = QTextBrowser(self.centralwidget)
self.log_text_browser.setObjectName(u"log_text_browser") 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) self.vertical_layout_controls.addWidget(self.log_text_browser)
@@ -237,7 +398,7 @@ class Ui_MainWindow(object):
MainWindow.setCentralWidget(self.centralwidget) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QMenuBar(MainWindow) self.menubar = QMenuBar(MainWindow)
self.menubar.setObjectName(u"menubar") 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) MainWindow.setMenuBar(self.menubar)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
@@ -251,7 +412,8 @@ class Ui_MainWindow(object):
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None)) 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.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.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)) 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.label_5.setText(QCoreApplication.translate("MainWindow", u"Console:", None))
self.console_select_dropdown.setCurrentText("") self.console_select_dropdown.setCurrentText("")
self.download_btn.setText(QCoreApplication.translate("MainWindow", u"Start Download", None)) 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.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.pack_archive_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Pack installable archive (WAD/TAD)", None))
self.archive_file_entry.setPlaceholderText(QCoreApplication.translate("MainWindow", u"File Name", 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.keep_enc_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Keep encrypted contents", None))
self.create_dec_chkbox.setText(QCoreApplication.translate("MainWindow", u"Create decrypted contents (*.app)", None)) self.create_dec_chkbox_lbl.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_local_chkbox_lbl.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.use_wiiu_nus_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Use the Wii U NUS (faster, only effects Wii/vWii)", None))
self.patch_ios_chkbox_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.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_chkbox_lbl.setText(QCoreApplication.translate("MainWindow", u"Re-encrypt title using the Wii Common Key", None))
self.log_text_browser.setMarkdown("") 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" 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" "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" "hr { height: 1px; border-width: 0; }\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)) "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 # retranslateUi

502
qt/ui/MainMenu.ui Normal file → Executable file
View File

@@ -27,20 +27,40 @@
</property> </property>
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QHBoxLayout" name="horizontalLayout_3"> <layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
</property>
<item> <item>
<layout class="QVBoxLayout" name="vertical_layout_trees"> <layout class="QVBoxLayout" name="vertical_layout_trees">
<item> <item>
<widget class="QLabel" name="label_2"> <layout class="QHBoxLayout" name="tree_filter_layout">
<property name="font"> <item>
<font> <widget class="QLineEdit" name="tree_filter_input">
<weight>75</weight> <property name="sizePolicy">
<bold>true</bold> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
</font> <horstretch>0</horstretch>
</property> <verstretch>0</verstretch>
<property name="text"> </sizepolicy>
<string>Available Titles</string> </property>
</property> <property name="placeholderText">
</widget> <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>
<item> <item>
<widget class="QTabWidget" name="platform_tabs"> <widget class="QTabWidget" name="platform_tabs">
@@ -71,28 +91,7 @@
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
<widget class="QTreeWidget" name="wii_title_tree"> <widget class="QTreeView" 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>
</item> </item>
</layout> </layout>
</widget> </widget>
@@ -102,28 +101,7 @@
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<widget class="QTreeWidget" name="vwii_title_tree"> <widget class="QTreeView" 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>
</item> </item>
</layout> </layout>
</widget> </widget>
@@ -133,22 +111,7 @@
</attribute> </attribute>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QTreeWidget" name="dsi_title_tree"> <widget class="QTreeView" 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>
</item> </item>
</layout> </layout>
</widget> </widget>
@@ -159,7 +122,7 @@
<item> <item>
<layout class="QVBoxLayout" name="vertical_layout_controls"> <layout class="QVBoxLayout" name="vertical_layout_controls">
<property name="sizeConstraint"> <property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum> <enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
</property> </property>
<item> <item>
<layout class="QHBoxLayout" name="horizontal_layout_title_entry"> <layout class="QHBoxLayout" name="horizontal_layout_title_entry">
@@ -222,21 +185,52 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QPushButton" name="download_btn"> <layout class="QHBoxLayout" name="horizontalLayout">
<property name="text"> <item>
<string>Start Download</string> <widget class="QPushButton" name="download_btn">
</property> <property name="sizePolicy">
</widget> <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>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_5"> <layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
</property>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
<property name="spacing">
<number>5</number>
</property>
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
</property>
<item> <item>
<widget class="QLabel" name="label_3"> <widget class="QLabel" name="label_3">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
@@ -246,11 +240,40 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="pack_archive_chkbox"> <layout class="QHBoxLayout" name="pack_archive_row">
<property name="text"> <property name="spacing">
<string>Pack installable archive (WAD/TAD)</string> <number>10</number>
</property> </property>
</widget> <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="pack_archive_chkbox_lbl">
<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>
<item> <item>
<widget class="QLineEdit" name="archive_file_entry"> <widget class="QLineEdit" name="archive_file_entry">
@@ -263,46 +286,213 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="keep_enc_chkbox"> <layout class="QHBoxLayout" name="keep_enc_row">
<property name="text"> <property name="spacing">
<string>Keep encrypted contents</string> <number>10</number>
</property> </property>
<property name="checked"> <item>
<bool>true</bool> <widget class="QCheckBox" name="keep_enc_chkbox">
</property> <property name="sizePolicy">
</widget> <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string notr="true"/>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="keep_enc_chkbox_lbl">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Keep encrypted contents</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="create_dec_chkbox"> <layout class="QHBoxLayout" name="create_dec_row">
<property name="text"> <property name="spacing">
<string>Create decrypted contents (*.app)</string> <number>10</number>
</property> </property>
</widget> <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>
<item> <item>
<widget class="QCheckBox" name="use_local_chkbox"> <layout class="QHBoxLayout" name="use_local_row">
<property name="enabled"> <property name="spacing">
<bool>true</bool> <number>10</number>
</property> </property>
<property name="text"> <item>
<string>Use local files, if they exist</string> <widget class="QCheckBox" name="use_local_chkbox">
</property> <property name="enabled">
</widget> <bool>true</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="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 local files, if they exist</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="use_wiiu_nus_chkbox"> <layout class="QHBoxLayout" name="use_wiiu_nus_row">
<property name="text"> <property name="spacing">
<string>Use the Wii U NUS (faster, only effects Wii/vWii)</string> <number>10</number>
</property> </property>
<property name="checked"> <property name="sizeConstraint">
<bool>true</bool> <enum>QLayout::SizeConstraint::SetDefaultConstraint</enum>
</property> </property>
</widget> <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_chkbox_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>
<item> <item>
<spacer name="verticalSpacer_2"> <spacer name="verticalSpacer_2">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Policy::Ignored</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@@ -312,15 +502,33 @@
</property> </property>
</spacer> </spacer>
</item> </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> </layout>
</item> </item>
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_8"> <layout class="QVBoxLayout" name="verticalLayout_8">
<property name="sizeConstraint">
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
</property>
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="label_4">
<property name="font"> <property name="font">
<font> <font>
<weight>75</weight>
<bold>true</bold> <bold>true</bold>
</font> </font>
</property> </property>
@@ -330,22 +538,51 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QCheckBox" name="pack_vwii_mode_chkbox"> <layout class="QHBoxLayout" name="pack_vwii_mode_row">
<property name="enabled"> <item>
<bool>false</bool> <widget class="QCheckBox" name="pack_vwii_mode_chkbox">
</property> <property name="enabled">
<property name="text"> <bool>false</bool>
<string>Re-encrypt title using the Wii Common Key</string> </property>
</property> <property name="sizePolicy">
</widget> <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="pack_vwii_mode_chkbox_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>
<item> <item>
<spacer name="verticalSpacer"> <spacer name="verticalSpacer">
<property name="orientation"> <property name="orientation">
<enum>Qt::Vertical</enum> <enum>Qt::Orientation::Vertical</enum>
</property> </property>
<property name="sizeType"> <property name="sizeType">
<enum>QSizePolicy::Expanding</enum> <enum>QSizePolicy::Policy::MinimumExpanding</enum>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="sizeHint" stdset="0">
<size> <size>
@@ -355,6 +592,22 @@
</property> </property>
</spacer> </spacer>
</item> </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> </layout>
</item> </item>
</layout> </layout>
@@ -364,7 +617,7 @@
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>0</width>
<height>312</height> <height>247</height>
</size> </size>
</property> </property>
<property name="markdown"> <property name="markdown">
@@ -372,10 +625,13 @@
</property> </property>
<property name="html"> <property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt; hr { height: 1px; border-width: 0; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -389,7 +645,7 @@ p, li { white-space: pre-wrap; }
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1010</width> <width>1010</width>
<height>29</height> <height>30</height>
</rect> </rect>
</property> </property>
</widget> </widget>

View File

@@ -3,4 +3,5 @@ nuitka
libWiiPy libWiiPy
libTWLPy libTWLPy
zstandard zstandard
requests
imageio imageio

View File

@@ -0,0 +1,378 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de_DE">
<context>
<name>MainWindow</name>
<message>
<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 &quot;NUSGet&quot; inside your downloads folder.</source>
<translatorcomment>&quot;Downloads&quot; in German copies of Windows and macOS isn&apos;t translated
Specified that the tickets for titles with a checkmark are publicly available, for clarity in the translation</translatorcomment>
<translation type="vanished">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 nicht entschlüsselt oder verpackt werden.
Titel werden in einem &quot;NUSGet&quot; Ordner innerhalb des Downloads-Ordners gespeichert.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="98"/>
<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 &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translatorcomment>&quot;Downloads&quot; in German copies of Windows and macOS isn&apos;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 nicht entschlüsselt oder verpackt werden.
Titel werden in einem &quot;NUSGet Downloads&quot; Ordner innerhalb des Downloads-Ordners gespeichert.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="192"/>
<source>NUSGet Update Available</source>
<translation>NUSGet-Update verfügbar</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="193"/>
<source>There&apos;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="286"/>
<source>No Output Selected</source>
<translatorcomment>Changed from &quot;output&quot; to &quot;packaging&quot; for clarity</translatorcomment>
<translation>Keine Verpackmethode ausgewählt</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<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="289"/>
<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 &quot;verschlüsselte Inhalte speichern&quot;, &quot;entschlüsselte Inhalte speichern (*.app)&quot; oder &quot;Installierbar verpacken (WAD/TAD)&quot; ausgewählt worden sein.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="318"/>
<source>Invalid Title ID</source>
<translation>Fehlerhafte Title-ID</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="319"/>
<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="321"/>
<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="323"/>
<source>Title ID/Version Not Found</source>
<translation>Title-ID/Version nicht gefunden</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="324"/>
<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="326"/>
<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="328"/>
<source>Content Decryption Failed</source>
<translation>Entschlüsselung fehlgeschlagen</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="329"/>
<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="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, 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. &quot;Lokale Dateien nutzen&quot; kann deaktiviert werden, um diese erneut herunterzuladen.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source>
<translation>Ticket nicht verfügbar</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source>
<translation>Es konnte kein Ticket für den geforderten Titel gefunden werden.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
<translation>Das Ticket zum Entschlüsseln konnte nicht heruntergeladen werden, jedoch ist &quot;Installierbar verpacken&quot; bzw. &quot;Entschlüsselte Inhalte speichern&quot; aktiv. Diese Optionen erfordern ein Ticket, daher wurden nur verschlüsselte Inhalte gespeichert.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="341"/>
<source>Unknown Error</source>
<translation>Unbekannter Fehler</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source>
<translation>Ein unbekannter Fehler ist aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="344"/>
<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="363"/>
<source>Script Issues Occurred</source>
<translation>Script-Fehler</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<source>Some issues occurred while running the download script.</source>
<translation>Ein Fehler ist im Script aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<source>Check the log for more details about what issues were encountered.</source>
<translatorcomment>To keep the indirectness of other text, this was changed to &quot;Error details have been written to the log.&quot;</translatorcomment>
<translation>Fehlerdetails wurden in den Log geschrieben.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<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>Die angezeigten Titel konnten wegen einem Fehler nicht heruntergeladen werden. Die Title-ID oder Version im Script könnte wohlmöglich fehlerhaft sein.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="383"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>&quot;Entschlüsselte Inhalte speichern&quot; bzw. &quot;Installierbar verpacken&quot; ist aktiv, jedoch fehlen Tickets für die angezeigten Titel. Sofern aktiv werden die verschlüsselten Inhalte trotzdem heruntergeladen.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="402"/>
<source>Script Download Failed</source>
<translation>Script-Herunterladen fehlgeschlagen</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<source>Open NUS Script</source>
<translatorcomment>Translating the file type is pointless, since it&apos;s not an actual &quot;script&quot;</translatorcomment>
<translation>NUS-Script öffnen</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<source>NUS Scripts (*.nus *.json)</source>
<translatorcomment>&quot;Scripts&quot; isn&apos;t the correct way to pluralize a word, and &quot;Scripte&quot; would misalign with referring to them as &quot;Script&quot;, so we just keep it as-is (it sounds plural enough anyway!)</translatorcomment>
<translation>NUS-Script (*.nus *.json)</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<source>An error occurred while parsing the script file!</source>
<translation>Ein Fehler ist während des Parsen des Script aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>Ein Fehler wurde in Linie {e.lineno}, Spalte {e.colno} gefunden. Das Script muss korrigiert werden.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="424"/>
<source>An error occurred while parsing Title IDs!</source>
<translation>Ein Fehler ist während des Parsen der Title-IDs aufgetreten.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>Der Titel an Stelle {script_data.index(title)} hat keine Title-ID.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="52"/>
<source>
Could not check for updates.</source>
<translation>
Konnte nicht nach Updates suchen.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="60"/>
<source>
There&apos;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="62"/>
<source>
You&apos;re running the latest release of NUSGet.</source>
<translatorcomment>Like previously, we&apos;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&apos;t shown</translatorcomment>
<translation>Hauptmenü</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="46"/>
<source>Search</source>
<translation>Suche</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
<source>Clear</source>
<translation>Leeren</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 &quot;Title ID&quot; 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>&quot;Patch&quot; does not have a good translation into German, and in most modding forums, it&apos;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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
</message>
</context>
</TS>

View File

@@ -4,115 +4,133 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="26"/> <location filename="../../qt/ui/MainMenu.ui" line="90"/>
<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> <source>Wii</source>
<translatorcomment>Does not change.</translatorcomment> <translatorcomment>Does not change.</translatorcomment>
<translation>Wii</translation> <translation type="unfinished">Wii</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="101"/> <location filename="../../qt/ui/MainMenu.ui" line="100"/>
<source>vWii</source> <source>vWii</source>
<translatorcomment>Does not change.</translatorcomment> <translatorcomment>Does not change.</translatorcomment>
<translation>vWii</translation> <translation>vWii</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="132"/> <location filename="../../qt/ui/MainMenu.ui" line="110"/>
<source>DSi</source> <source>DSi</source>
<translatorcomment>Does not change.</translatorcomment> <translatorcomment>Does not change.</translatorcomment>
<translation>DSi</translation> <translation>DSi</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="172"/> <location filename="../../qt/ui/MainMenu.ui" line="142"/>
<source>Title ID</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="179"/>
<source>v</source> <source>v</source>
<translatorcomment>Does not change.</translatorcomment> <translatorcomment>Does not change.</translatorcomment>
<translation>v</translation> <translation>v</translation>
</message> </message>
<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> <source>Version</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="199"/> <location filename="../../qt/ui/MainMenu.ui" line="162"/>
<source>Console:</source> <source>Console:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="227"/> <location filename="../../qt/ui/MainMenu.ui" line="198"/>
<source>Start Download</source> <source>Start Download</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>General Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Pack installable archive (WAD/TAD)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="261"/> <location filename="../../qt/ui/MainMenu.ui" line="284"/>
<source>File Name</source> <source>File Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="268"/> <location filename="../../qt/ui/MainMenu.ui" line="318"/>
<source>Keep encrypted contents</source> <source>Keep encrypted contents</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="278"/> <location filename="../../qt/ui/MainMenu.ui" line="354"/>
<source>Create decrypted contents (*.app)</source> <source>Create decrypted contents (*.app)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Use local files, if they exist</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="328"/> <location filename="../../qt/ui/MainMenu.ui" line="536"/>
<source>vWii Title Settings</source> <source>vWii Title Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Re-encrypt title using the Wii Common Key</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="374"/> <location filename="../../qt/ui/MainMenu.ui" line="627"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt; hr { height: 1px; border-width: 0; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source> li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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="98"/>
<source>NUSGet v{nusget_version} <source>NUSGet v{nusget_version}
Developed by NinjaCheetah Developed by NinjaCheetah
Powered by libWiiPy {libwiipy_version} Powered by libWiiPy {libwiipy_version}
@@ -122,83 +140,189 @@ 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 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 &quot;NUSGet&quot; inside your downloads folder.</source> Titles will be downloaded to a folder named &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="237"/> <location filename="../../NUSGet.py" line="192"/>
<source>NUSGet Update Available</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="193"/>
<source>There&apos;s a newer version of NUSGet available!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<source>You have not selected any format to output the data in!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<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="318"/>
<source>Invalid Title ID</source> <source>Invalid Title ID</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="238"/> <location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source> <source>The Title ID you have entered is not in a valid format!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="240"/> <location filename="../../NUSGet.py" line="321"/>
<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> <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> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="242"/> <location filename="../../NUSGet.py" line="323"/>
<source>Title ID/Version Not Found</source> <source>Title ID/Version Not Found</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="243"/> <location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source> <source>No title with the provided Title ID or version could be found!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="246"/> <location filename="../../NUSGet.py" line="326"/>
<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> <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> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="248"/> <location filename="../../NUSGet.py" line="328"/>
<source>Content Decryption Failed</source> <source>Content Decryption Failed</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="249"/> <location filename="../../NUSGet.py" line="329"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source> <source>Content decryption was not successful! Decrypted contents could not be created.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="252"/> <location filename="../../NUSGet.py" line="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source> <source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="255"/> <location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source> <source>Ticket Not Available</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="256"/> <location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source> <source>No Ticket is Available for the Requested Title!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="259"/> <location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source> <source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="261"/> <location filename="../../NUSGet.py" line="341"/>
<source>Unknown Error</source> <source>Unknown Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="262"/> <location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source> <source>An Unknown Error has Occurred!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="264"/> <location filename="../../NUSGet.py" line="344"/>
<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> <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> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../../NUSGet.py" line="363"/>
<source>Script Issues Occurred</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<source>Some issues occurred while running the download script.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<source>Check the log for more details about what issues were encountered.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<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="383"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, 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="402"/>
<source>Script Download Failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<source>Open NUS Script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<source>NUS Scripts (*.nus *.json)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<source>An error occurred while parsing the script file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<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="424"/>
<source>An error occurred while parsing Title IDs!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<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="52"/>
<source>
Could not check for updates.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../modules/core.py" line="60"/>
<source>
There&apos;s a newer version of NUSGet available!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../modules/core.py" line="62"/>
<source>
You&apos;re running the latest release of NUSGet.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
</TS> </TS>

View File

@@ -4,7 +4,7 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <message>
<location filename="../../NUSGet.py" line="81"/> <location filename="../../NUSGet.py" line="98"/>
<source>NUSGet v{nusget_version} <source>NUSGet v{nusget_version}
Developed by NinjaCheetah Developed by NinjaCheetah
Powered by libWiiPy {libwiipy_version} Powered by libWiiPy {libwiipy_version}
@@ -14,186 +14,310 @@ 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 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 &quot;NUSGet&quot; inside your downloads folder.</source> Titles will be downloaded to a folder named &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="237"/> <location filename="../../NUSGet.py" line="192"/>
<source>NUSGet Update Available</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="193"/>
<source>There&apos;s a newer version of NUSGet available!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<source>You have not selected any format to output the data in!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<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="318"/>
<source>Invalid Title ID</source> <source>Invalid Title ID</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="238"/> <location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source> <source>The Title ID you have entered is not in a valid format!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="240"/> <location filename="../../NUSGet.py" line="321"/>
<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> <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> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="242"/> <location filename="../../NUSGet.py" line="323"/>
<source>Title ID/Version Not Found</source> <source>Title ID/Version Not Found</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="243"/> <location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source> <source>No title with the provided Title ID or version could be found!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="246"/> <location filename="../../NUSGet.py" line="326"/>
<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> <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> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="248"/> <location filename="../../NUSGet.py" line="328"/>
<source>Content Decryption Failed</source> <source>Content Decryption Failed</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="249"/> <location filename="../../NUSGet.py" line="329"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source> <source>Content decryption was not successful! Decrypted contents could not be created.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="252"/> <location filename="../../NUSGet.py" line="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source> <source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="255"/> <location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source> <source>Ticket Not Available</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="256"/> <location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source> <source>No Ticket is Available for the Requested Title!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="259"/> <location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source> <source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="261"/> <location filename="../../NUSGet.py" line="341"/>
<source>Unknown Error</source> <source>Unknown Error</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="262"/> <location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source> <source>An Unknown Error has Occurred!</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="264"/> <location filename="../../NUSGet.py" line="344"/>
<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> <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> <translation type="unfinished"></translation>
</message> </message>
<message>
<location filename="../../NUSGet.py" line="363"/>
<source>Script Issues Occurred</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<source>Some issues occurred while running the download script.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<source>Check the log for more details about what issues were encountered.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<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="383"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, 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="402"/>
<source>Script Download Failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<source>Open NUS Script</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<source>NUS Scripts (*.nus *.json)</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<source>An error occurred while parsing the script file!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<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="424"/>
<source>An error occurred while parsing Title IDs!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation type="unfinished"></translation>
</message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="26"/> <location filename="../../qt/ui/MainMenu.ui" line="26"/>
<source>MainWindow</source> <source>MainWindow</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="41"/> <location filename="../../qt/ui/MainMenu.ui" line="46"/>
<source>Available Titles</source> <source>Search</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Wii</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="101"/> <location filename="../../qt/ui/MainMenu.ui" line="100"/>
<source>vWii</source> <source>vWii</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="132"/> <location filename="../../qt/ui/MainMenu.ui" line="110"/>
<source>DSi</source> <source>DSi</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="172"/> <location filename="../../qt/ui/MainMenu.ui" line="135"/>
<source>Title ID</source> <source>Title ID</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="179"/> <location filename="../../qt/ui/MainMenu.ui" line="142"/>
<source>v</source> <source>v</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="192"/> <location filename="../../qt/ui/MainMenu.ui" line="155"/>
<source>Version</source> <source>Version</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="199"/> <location filename="../../qt/ui/MainMenu.ui" line="162"/>
<source>Console:</source> <source>Console:</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="227"/> <location filename="../../qt/ui/MainMenu.ui" line="198"/>
<source>Start Download</source> <source>Start Download</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>General Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Pack installable archive (WAD/TAD)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="261"/> <location filename="../../qt/ui/MainMenu.ui" line="284"/>
<source>File Name</source> <source>File Name</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="268"/> <location filename="../../qt/ui/MainMenu.ui" line="318"/>
<source>Keep encrypted contents</source> <source>Keep encrypted contents</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="278"/> <location filename="../../qt/ui/MainMenu.ui" line="354"/>
<source>Create decrypted contents (*.app)</source> <source>Create decrypted contents (*.app)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Use local files, if they exist</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Use the Wii U NUS (faster, only effects Wii/vWii)</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>vWii Title Settings</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<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> <source>Re-encrypt title using the Wii Common Key</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="374"/> <location filename="../../qt/ui/MainMenu.ui" line="627"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt; <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt; &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; } p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt; hr { height: 1px; border-width: 0; }
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source> li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../modules/core.py" line="52"/>
<source>
Could not check for updates.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../modules/core.py" line="60"/>
<source>
There&apos;s a newer version of NUSGet available!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../modules/core.py" line="62"/>
<source>
You&apos;re running the latest release of NUSGet.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>

View File

@@ -4,7 +4,335 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <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>Cerca</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
<source>Clear</source>
<translation>Pulisci</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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="vanished">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="98"/>
<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 &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation>NUSGet v{nusget_version}
Sviluppato da NinjaCheetah
Funzionante con libWiiPy {libwiipy_version}
DSi support provided by libTWLPy {libtwlpy_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 &quot;NUSGet Downloads&quot; all&apos;interno della cartella Download.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation>Nessun output selezionato</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<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="289"/>
<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="318"/>
<source>Invalid Title ID</source>
<translation>ID Titolo invalido</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source>
<translation>L&apos; ID Titolo che hai inserito non è in un formato valido!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="321"/>
<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="323"/>
<source>Title ID/Version Not Found</source>
<translation>ID Titolo/Versione non trovata</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source>
<translation>Non è stato trovato nessun titolo con l&apos; ID Titolo o versione data!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="326"/>
<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&apos; 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="328"/>
<source>Content Decryption Failed</source>
<translation>Decriptazione contenuti fallita</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="329"/>
<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="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, 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 &quot;Usa file locali, se esistenti&quot;, prova a disabilitare quell&apos;opzione prima di riprovare a scaricare per aggiustare potenziali errori coi dati locali.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source>
<translation>Ticket non disponibile</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="336"/>
<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="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. 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 &quot;Crea archivio installabile&quot; o &quot;Crea contenuto decriptato&quot;. 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="341"/>
<source>Unknown Error</source>
<translation>Errore sconosciuto</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source>
<translation>Errore sconosciuto!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="344"/>
<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="363"/>
<source>Script Issues Occurred</source>
<translation>Errore script</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<source>Some issues occurred while running the download script.</source>
<translation>Ci sono stati degli errori con lo script di download.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<source>Check the log for more details about what issues were encountered.</source>
<translation>Guarda i log per più dettagli sull&apos;errore.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<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>I seguenti titoli non sono stati scaricati a causa di un errore. Controlla che l&apos;ID Titolo e la versione nello script siano validi.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="383"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="402"/>
<source>Script Download Failed</source>
<translation>Download script fallito</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<source>Open NUS Script</source>
<translation>Apri script NUS</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<source>NUS Scripts (*.nus *.json)</source>
<translation>Scrpit NUS (*.nus *.txt)</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<source>An error occurred while parsing the script file!</source>
<translation>Ci sono stati degli errori con lo script di download!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="424"/>
<source>An error occurred while parsing Title IDs!</source>
<translation>Ci sono stati degli errori con GLI id tITOLO!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>The title at index {script_data.index(title)} does not have a Title ID!</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>
<source>NUSGet v{nusget_version} <source>NUSGet v{nusget_version}
Developed by NinjaCheetah Developed by NinjaCheetah
Powered by libWiiPy {libwiipy_version} Powered by libWiiPy {libwiipy_version}
@@ -15,186 +343,53 @@ 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 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 &quot;NUSGet&quot; inside your downloads folder.</source> Titles will be downloaded to a folder named &quot;NUSGet&quot; inside your downloads folder.</source>
<translation type="unfinished"></translation> <translation type="vanished">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 &quot;NUSGet&quot; all&apos;interno della cartella Download.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="237"/> <location filename="../../qt/ui/MainMenu.ui" line="480"/>
<source>Invalid Title ID</source> <source>Apply patches to IOS (Applies to WADs only)</source>
<translation type="unfinished"></translation> <translation>Applica patch agli IOS (Solo per le WAD)</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="238"/> <location filename="../../NUSGet.py" line="192"/>
<source>The Title ID you have entered is not in a valid format!</source> <source>NUSGet Update Available</source>
<translation type="unfinished"></translation> <translation>Aggiornamento di NUSGet disponibile</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="240"/> <location filename="../../NUSGet.py" line="193"/>
<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> <source>There&apos;s a newer version of NUSGet available!</source>
<translation type="unfinished"></translation> <translation>Una nuova versione di NUSGet è disponibile!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="242"/> <location filename="../../modules/core.py" line="52"/>
<source>Title ID/Version Not Found</source> <source>
<translation type="unfinished"></translation>
Could not check for updates.</source>
<translation>Impossibile trovare eventuali aggiornamenti.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="243"/> <location filename="../../modules/core.py" line="60"/>
<source>No title with the provided Title ID or version could be found!</source> <source>
<translation type="unfinished"></translation>
There&apos;s a newer version of NUSGet available!</source>
<translation>Una nuova versione di NUSGet è disponibile!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="246"/> <location filename="../../modules/core.py" line="62"/>
<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> <source>
<translation type="unfinished"></translation>
</message> You&apos;re running the latest release of NUSGet.</source>
<message> <translation>
<location filename="../../NUSGet.py" line="248"/>
<source>Content Decryption Failed</source> Stai utilizzando l&apos;ultima versione di NUSGet.</translation>
<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 &quot;Use local files, if they exist&quot;, 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 &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. 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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message> </message>
</context> </context>
</TS> </TS>

View File

@@ -0,0 +1,400 @@
<?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></translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
<source>Clear</source>
<translation></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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="vanished">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="98"/>
<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 &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation>NUSGet v{nusget_version}
개발자 : NinjaCheetah
libWiiPy {libwiipy_version}
DSi 지원 : libTWLPy {libtwlpy_version}
ID를 .
, WAD TAD에 / . X가 .
&quot;NUSGet Downloads&quot; .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation> </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<source>You have not selected any format to output the data in!</source>
<translation> !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<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="318"/>
<source>Invalid Title ID</source>
<translation> ID</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source>
<translation> ID의 !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="321"/>
<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="323"/>
<source>Title ID/Version Not Found</source>
<translation> ID/ </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source>
<translation> ID !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="326"/>
<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="328"/>
<source>Content Decryption Failed</source>
<translation> </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="329"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
<translation> ! .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source>
<translation>TMD . &quot; &quot; , .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source>
<translation> </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source>
<translation> !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
<translation> &quot; &quot; &quot; &quot; . . .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="341"/>
<source>Unknown Error</source>
<translation> </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source>
<translation> !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="344"/>
<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="363"/>
<source>Script Issues Occurred</source>
<translation> </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<source>Some issues occurred while running the download script.</source>
<translation> .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<source>Check the log for more details about what issues were encountered.</source>
<translation> .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<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> . ID와 .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="383"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>&quot; &quot; &quot; &quot; . .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="402"/>
<source>Script Download Failed</source>
<translation> </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<source>Open NUS Script</source>
<translation>NUS </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<source>NUS Scripts (*.nus *.json)</source>
<translation>NUS (*.nus *.json)</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<source>An error occurred while parsing the script file!</source>
<translation> !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>{e.lineno} , {e.colno} . .</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="424"/>
<source>An error occurred while parsing Title IDs!</source>
<translation> ID를 !</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>{script_data.index(title)} ID가 !</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>
<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 &quot;NUSGet&quot; inside your downloads folder.</source>
<translation type="vanished">NUSGet v{nusget_version}
개발자 : NinjaCheetah
libWiiPy {libwiipy_version}
DSi 지원 : libTWLPy {libtwlpy_version}
ID를 .
, WAD TAD에 / . X가 .
&quot;NUSBet&quot; .</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="192"/>
<source>NUSGet Update Available</source>
<translation>NUSGet </translation>
</message>
<message>
<location filename="../../NUSGet.py" line="193"/>
<source>There&apos;s a newer version of NUSGet available!</source>
<translation>NUSBet의 !</translation>
</message>
<message>
<location filename="../../modules/core.py" line="52"/>
<source>
Could not check for updates.</source>
<translation>
.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="60"/>
<source>
There&apos;s a newer version of NUSGet available!</source>
<translation>
NUSBet의 !</translation>
</message>
<message>
<location filename="../../modules/core.py" line="62"/>
<source>
You&apos;re running the latest release of NUSGet.</source>
<translation>
NUSGet의 .</translation>
</message>
</context>
</TS>

View File

@@ -4,7 +4,146 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <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>Søk</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
<source>Clear</source>
<translation>Klar</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>Kjøre Skript</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 nytt ved hjelp av Wii Common Key</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="vanished">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<source>NUSGet v{nusget_version} <source>NUSGet v{nusget_version}
Developed by NinjaCheetah Developed by NinjaCheetah
Powered by libWiiPy {libwiipy_version} Powered by libWiiPy {libwiipy_version}
@@ -15,7 +154,7 @@ 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 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 &quot;NUSGet&quot; inside your downloads folder.</source> Titles will be downloaded to a folder named &quot;NUSGet&quot; inside your downloads folder.</source>
<translation>NUSGet v{nusget_version} <translation type="vanished">NUSGet v{nusget_version}
Utviklet av NinjaCheetah Utviklet av NinjaCheetah
Drevet av libWiiPy {libwiipy_version} Drevet av libWiiPy {libwiipy_version}
DSi støtte levert av libTWLPy {libtwlpy_version} DSi støtte levert av libTWLPy {libtwlpy_version}
@@ -27,187 +166,219 @@ Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypte
Titler er lastes ned til en mappe med navnet &quot;NUSGet&quot; i nedlastingsmappen din.</translation> Titler er lastes ned til en mappe med navnet &quot;NUSGet&quot; i nedlastingsmappen din.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="237"/> <location filename="../../NUSGet.py" line="98"/>
<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 &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation>NUSGet v{nusget_version}
Utviklet av NinjaCheetah
Drevet av libWiiPy {libwiipy_version}
DSi støtte levert av libTWLPy {libtwlpy_version}
Velg en tittel fra listen til venstre, eller skriv inn en Tittel ID for å begynne.
Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypteres og/eller pakkes inn i en WAD eller TAD. Titler med en X ikke har en billett, og bare det krypterte innholdet kan lagres.
Titler er lastes ned til en mappe med navnet &quot;NUSGet Downloads&quot; i nedlastingsmappen din.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation>Ingen Utgang Valgt</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<source>You have not selected any format to output the data in!</source>
<translation>Du ikke har valgt noe format å lagre dataene i!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<source>Please select at least one option for how you would like the download to be saved.</source>
<translation>Velg minst ett valg for hvordan du vil at nedlastingen skal lagres.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="318"/>
<source>Invalid Title ID</source> <source>Invalid Title ID</source>
<translation>Ugyldig Tittel ID</translation> <translation>Ugyldig Tittel ID</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="238"/> <location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source> <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> <translation>Tittel IDen du har angitt er ikke i et gyldig format!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="240"/> <location filename="../../NUSGet.py" line="321"/>
<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> <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 være 16-sifrede tall og bokstav strenger. Vennligst skriv inn en korrekt formatert Tittel ID, eller velg en fra menyen til venstre.</translation> <translation>Tittel IDer 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>
<message> <message>
<location filename="../../NUSGet.py" line="242"/> <location filename="../../NUSGet.py" line="323"/>
<source>Title ID/Version Not Found</source> <source>Title ID/Version Not Found</source>
<translation>Tittel ID/Versjon Ikke Funnet</translation> <translation>Tittel ID/Versjon Ikke Funnet</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="243"/> <location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source> <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> <translation>Ingen tittel med oppgitt Tittel ID eller versjon ble funnet!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="246"/> <location filename="../../NUSGet.py" line="326"/>
<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> <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> <translation>Sjekk 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>
<message> <message>
<location filename="../../NUSGet.py" line="248"/> <location filename="../../NUSGet.py" line="328"/>
<source>Content Decryption Failed</source> <source>Content Decryption Failed</source>
<translation>Dekryptering av Innhold Mislyktes</translation> <translation>Dekryptering av Innhold Mislyktes</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="249"/> <location filename="../../NUSGet.py" line="329"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source> <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> <translation>Dekryptering av innhold var ikke vellykket! Dekryptert innhold kunne ikke opprettes.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="252"/> <location filename="../../NUSGet.py" line="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source> <source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, 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 &quot;Bruk lokale filer, hvis de finnes&quot;, kan du prøve å deaktivere dette alternativet før du prøver nedlastingen nytt for å løse eventuelle problemer med lokale data.</translation> <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 &quot;Bruk lokale filer, hvis de finnes&quot;, kan du prøve å deaktivere dette alternativet før du prøver nedlastingen nytt for å løse eventuelle problemer med lokale data.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="255"/> <location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source> <source>Ticket Not Available</source>
<translation>Billett Ikke Tilgjengelig</translation> <translation>Billett Ikke Tilgjengelig</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="256"/> <location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source> <source>No Ticket is Available for the Requested Title!</source>
<translation>Ingen billett er tilgjengelig for den forespurte tittelen!</translation> <translation>Ingen billett er tilgjengelig for den forespurte tittelen!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="259"/> <location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source> <source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. 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 &quot;Pakk installerbart arkiv&quot; eller &quot;Opprett dekryptert innhold&quot;. Disse alternativene er ikke tilgjenelige for titler uten billett. Bare kryptert innhold har blitt lagret.</translation> <translation>En billett kunne ikke lastes ned for den forespurte tittelen, men du har valgt &quot;Pakk installerbart arkiv&quot; eller &quot;Opprett dekryptert innhold&quot;. Disse alternativene er ikke tilgjenelige for titler uten billett. Bare kryptert innhold har blitt lagret.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="261"/> <location filename="../../NUSGet.py" line="341"/>
<source>Unknown Error</source> <source>Unknown Error</source>
<translation>Ukjent Feil</translation> <translation>Ukjent Feil</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="262"/> <location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source> <source>An Unknown Error has Occurred!</source>
<translation>En ukjent feil har oppstått!</translation> <translation>En ukjent feil har oppstått!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="264"/> <location filename="../../NUSGet.py" line="344"/>
<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> <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 GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod.</translation> <translation>Prøv igjen. Hvis dette problemet vedvarer, åpne et nytt issue GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="26"/> <location filename="../../NUSGet.py" line="363"/>
<source>MainWindow</source> <source>Script Issues Occurred</source>
<translation>MainWindow</translation> <translation>Skriptfeil Oppstod</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="41"/> <location filename="../../NUSGet.py" line="364"/>
<source>Available Titles</source> <source>Some issues occurred while running the download script.</source>
<translation>Tilgjengelige Titler</translation> <translation>Noen feil oppstod under kjøring av nedlastingsskriptet.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="70"/> <location filename="../../NUSGet.py" line="366"/>
<source>Wii</source> <source>Check the log for more details about what issues were encountered.</source>
<translation>Wii</translation> <translation>Sjekk loggen for mer informasjon om feilene som har oppstått.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="101"/> <location filename="../../NUSGet.py" line="373"/>
<source>vWii</source> <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>vWii</translation> <translation>Følgende titler kunne ikke lastes ned grunn av en feil. Sjekk at Tittel IDen og versjon som er oppført i skriptet er gyldige.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="132"/> <location filename="../../NUSGet.py" line="383"/>
<source>DSi</source> <source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>DSi</translation> <translation>Du aktiverte &quot;Opprett dekryptert innhold&quot; eller &quot;Pakk installerbart archive&quot;, men følgende titler i skriptet har ikke tilgjengelige billetter. Hvis aktivert, ble kryptert innhold fortsatt lastet ned.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="172"/> <location filename="../../NUSGet.py" line="402"/>
<source>Title ID</source> <source>Script Download Failed</source>
<translation>Tittel ID</translation> <translation>Skriptnedlasting Mislyktes</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="179"/> <location filename="../../NUSGet.py" line="403"/>
<source>v</source> <source>Open NUS Script</source>
<translation>v</translation> <translation>Åpne NUS Skript</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="192"/> <location filename="../../NUSGet.py" line="404"/>
<source>Version</source> <source>NUS Scripts (*.nus *.json)</source>
<translation>Versjon</translation> <translation>NUS Skript (*.nus *.json)</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="199"/> <location filename="../../NUSGet.py" line="414"/>
<source>Console:</source> <source>An error occurred while parsing the script file!</source>
<translation>Konsoll:</translation> <translation>Det oppstod en feil under parsing av skriptfilen!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="227"/> <location filename="../../NUSGet.py" line="415"/>
<source>Start Download</source> <source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>Start Nedlasting</translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="244"/> <location filename="../../NUSGet.py" line="424"/>
<source>General Settings</source> <source>An error occurred while parsing Title IDs!</source>
<translation>Generelle Instillinger</translation> <translation>Det oppstod en feil under parsing av Tittel IDer!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="251"/> <location filename="../../NUSGet.py" line="425"/>
<source>Pack installable archive (WAD/TAD)</source> <source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>Pakke installerbart arkiv (WAD/TAD)</translation> <translation>Tittelen ved indeks {script_data.index(title)} har ikke en Tittel ID!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="261"/> <location filename="../../qt/ui/MainMenu.ui" line="480"/>
<source>File Name</source> <source>Apply patches to IOS (Applies to WADs only)</source>
<translation>Filnavn</translation> <translation>Påfør patcher IOS (gjelder kun WADer)</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="268"/> <location filename="../../NUSGet.py" line="192"/>
<source>Keep encrypted contents</source> <source>NUSGet Update Available</source>
<translation>Oppbevar kryptert innhold</translation> <translation>NUSGet Oppdatering Tilgjengelig</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="278"/> <location filename="../../NUSGet.py" line="193"/>
<source>Create decrypted contents (*.app)</source> <source>There&apos;s a newer version of NUSGet available!</source>
<translation>Opprette dekryptert innold (*.app)</translation> <translation>Det finnes en nyere versjon av NUSGet tilgjengelig!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="288"/> <location filename="../../modules/core.py" line="52"/>
<source>Use local files, if they exist</source> <source>
<translation>Bruk lokale filer, hvis de finnes</translation>
Could not check for updates.</source>
<translation>
Kunne ikke sjekke for oppdateringer.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="295"/> <location filename="../../modules/core.py" line="60"/>
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source> <source>
<translation>Bruk Wii U NUS (raskere, påvirker bare Wii/vWii)</translation>
There&apos;s a newer version of NUSGet available!</source>
<translation>
Det finnes en nyere versjon av NUSGet tilgjengelig!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="328"/> <location filename="../../modules/core.py" line="62"/>
<source>vWii Title Settings</source> <source>
<translation>vWii Tittelinstillinger</translation>
</message> You&apos;re running the latest release of NUSGet.</source>
<message> <translation>
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
<source>Re-encrypt title using the Wii Common Key</source> Du kjører den nyeste versjonen av NUSGet.</translation>
<translation>Krypter tittelen nytt ved hjelp av Wii Common Key</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message> </message>
</context> </context>
</TS> </TS>

View File

@@ -4,7 +4,146 @@
<context> <context>
<name>MainWindow</name> <name>MainWindow</name>
<message> <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>Søk</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
<source>Clear</source>
<translation>Klar</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>Kjøre Skript</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 nytt ved hjelp av Wii Common Key</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="vanished">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<source>NUSGet v{nusget_version} <source>NUSGet v{nusget_version}
Developed by NinjaCheetah Developed by NinjaCheetah
Powered by libWiiPy {libwiipy_version} Powered by libWiiPy {libwiipy_version}
@@ -15,7 +154,7 @@ 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 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 &quot;NUSGet&quot; inside your downloads folder.</source> Titles will be downloaded to a folder named &quot;NUSGet&quot; inside your downloads folder.</source>
<translation>NUSGet v{nusget_version} <translation type="vanished">NUSGet v{nusget_version}
Utviklet av NinjaCheetah Utviklet av NinjaCheetah
Drevet av libWiiPy {libwiipy_version} Drevet av libWiiPy {libwiipy_version}
DSi støtte levert av libTWLPy {libtwlpy_version} DSi støtte levert av libTWLPy {libtwlpy_version}
@@ -27,187 +166,219 @@ Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypte
Titler er lastes ned til en mappe med navnet &quot;NUSGet&quot; i nedlastingsmappen din.</translation> Titler er lastes ned til en mappe med navnet &quot;NUSGet&quot; i nedlastingsmappen din.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="237"/> <location filename="../../NUSGet.py" line="98"/>
<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 &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation>NUSGet v{nusget_version}
Utviklet av NinjaCheetah
Drevet av libWiiPy {libwiipy_version}
DSi støtte levert av libTWLPy {libtwlpy_version}
Velg en tittel fra listen til venstre, eller skriv inn en Tittel ID for å begynne.
Titler merket med en hake er fri og har en billett tilgjengelig, og kan dekrypteres og/eller pakkes inn i en WAD eller TAD. Titler med en X ikke har en billett, og bare det krypterte innholdet kan lagres.
Titler er lastes ned til en mappe med navnet &quot;NUSGet Downloads&quot; i nedlastingsmappen din.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation>Ingen Utgang Valgt</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<source>You have not selected any format to output the data in!</source>
<translation>Du ikke har valgt noe format å lagre dataene i!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<source>Please select at least one option for how you would like the download to be saved.</source>
<translation>Velg minst ett valg for hvordan du vil at nedlastingen skal lagres.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="318"/>
<source>Invalid Title ID</source> <source>Invalid Title ID</source>
<translation>Ugyldig Tittel ID</translation> <translation>Ugyldig Tittel ID</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="238"/> <location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source> <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> <translation>Tittel IDen du har angitt er ikke i et gyldig format!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="240"/> <location filename="../../NUSGet.py" line="321"/>
<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> <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 være 16-sifrede tall og bokstav strenger. Vennligst skriv inn en korrekt formatert Tittel ID, eller velg en fra menyen til venstre.</translation> <translation>Tittel IDer 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>
<message> <message>
<location filename="../../NUSGet.py" line="242"/> <location filename="../../NUSGet.py" line="323"/>
<source>Title ID/Version Not Found</source> <source>Title ID/Version Not Found</source>
<translation>Tittel ID/Versjon Ikke Funnet</translation> <translation>Tittel ID/Versjon Ikke Funnet</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="243"/> <location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source> <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> <translation>Ingen tittel med oppgitt Tittel ID eller versjon ble funnet!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="246"/> <location filename="../../NUSGet.py" line="326"/>
<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> <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> <translation>Sjekk 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>
<message> <message>
<location filename="../../NUSGet.py" line="248"/> <location filename="../../NUSGet.py" line="328"/>
<source>Content Decryption Failed</source> <source>Content Decryption Failed</source>
<translation>Dekryptering av Innhold Mislyktes</translation> <translation>Dekryptering av Innhold Mislyktes</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="249"/> <location filename="../../NUSGet.py" line="329"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source> <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> <translation>Dekryptering av innhold var ikke vellykket! Dekryptert innhold kunne ikke opprettes.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="252"/> <location filename="../../NUSGet.py" line="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source> <source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, 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 &quot;Bruk lokale filer, hvis de finnes&quot;, kan du prøve å deaktivere dette alternativet før du prøver nedlastingen nytt for å løse eventuelle problemer med lokale data.</translation> <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 &quot;Bruk lokale filer, hvis de finnes&quot;, kan du prøve å deaktivere dette alternativet før du prøver nedlastingen nytt for å løse eventuelle problemer med lokale data.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="255"/> <location filename="../../NUSGet.py" line="335"/>
<source>Ticket Not Available</source> <source>Ticket Not Available</source>
<translation>Billett Ikke Tilgjengelig</translation> <translation>Billett Ikke Tilgjengelig</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="256"/> <location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source> <source>No Ticket is Available for the Requested Title!</source>
<translation>Ingen billett er tilgjengelig for den forespurte tittelen!</translation> <translation>Ingen billett er tilgjengelig for den forespurte tittelen!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="259"/> <location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source> <source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. 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 &quot;Pakk installerbart arkiv&quot; eller &quot;Opprett dekryptert innhold&quot;. Disse alternativene er ikke tilgjenelige for titler uten billett. Bare kryptert innhold har blitt lagret.</translation> <translation>En billett kunne ikke lastes ned for den forespurte tittelen, men du har valgt &quot;Pakk installerbart arkiv&quot; eller &quot;Opprett dekryptert innhold&quot;. Disse alternativene er ikke tilgjenelige for titler uten billett. Bare kryptert innhold har blitt lagret.</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="261"/> <location filename="../../NUSGet.py" line="341"/>
<source>Unknown Error</source> <source>Unknown Error</source>
<translation>Ukjent Feil</translation> <translation>Ukjent Feil</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="262"/> <location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source> <source>An Unknown Error has Occurred!</source>
<translation>En ukjent feil har oppstått!</translation> <translation>En ukjent feil har oppstått!</translation>
</message> </message>
<message> <message>
<location filename="../../NUSGet.py" line="264"/> <location filename="../../NUSGet.py" line="344"/>
<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> <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 GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod.</translation> <translation>Prøv igjen. Hvis dette problemet vedvarer, åpne et nytt issue GitHub med detaljer om hva du prøvde å gjøre da denne feilen oppstod.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="26"/> <location filename="../../NUSGet.py" line="363"/>
<source>MainWindow</source> <source>Script Issues Occurred</source>
<translation>MainWindow</translation> <translation>Skriptfeil Oppstod</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="41"/> <location filename="../../NUSGet.py" line="364"/>
<source>Available Titles</source> <source>Some issues occurred while running the download script.</source>
<translation>Tilgjengelige Titler</translation> <translation>Noen feil oppstod under kjøring av nedlastingsskriptet.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="70"/> <location filename="../../NUSGet.py" line="366"/>
<source>Wii</source> <source>Check the log for more details about what issues were encountered.</source>
<translation>Wii</translation> <translation>Sjekk loggen for mer informasjon om feilene som har oppstått.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="101"/> <location filename="../../NUSGet.py" line="373"/>
<source>vWii</source> <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>vWii</translation> <translation>Følgende titler kunne ikke lastes ned grunn av en feil. Sjekk at Tittel IDen og versjon som er oppført i skriptet er gyldige.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="132"/> <location filename="../../NUSGet.py" line="383"/>
<source>DSi</source> <source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>DSi</translation> <translation>Du aktiverte &quot;Opprett dekryptert innhold&quot; eller &quot;Pakk installerbart archive&quot;, men følgende titler i skriptet har ikke tilgjengelige billetter. Hvis aktivert, ble kryptert innhold fortsatt lastet ned.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="172"/> <location filename="../../NUSGet.py" line="402"/>
<source>Title ID</source> <source>Script Download Failed</source>
<translation>Tittel ID</translation> <translation>Skriptnedlasting Mislyktes</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="179"/> <location filename="../../NUSGet.py" line="403"/>
<source>v</source> <source>Open NUS Script</source>
<translation>v</translation> <translation>Åpne NUS Skript</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="192"/> <location filename="../../NUSGet.py" line="404"/>
<source>Version</source> <source>NUS Scripts (*.nus *.json)</source>
<translation>Versjon</translation> <translation>NUS Skript (*.nus *.json)</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="199"/> <location filename="../../NUSGet.py" line="414"/>
<source>Console:</source> <source>An error occurred while parsing the script file!</source>
<translation>Konsoll:</translation> <translation>Det oppstod en feil under parsing av skriptfilen!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="227"/> <location filename="../../NUSGet.py" line="415"/>
<source>Start Download</source> <source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>Start Nedlasting</translation> <translation></translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="244"/> <location filename="../../NUSGet.py" line="424"/>
<source>General Settings</source> <source>An error occurred while parsing Title IDs!</source>
<translation>Generelle Instillinger</translation> <translation>Det oppstod en feil under parsing av Tittel IDer!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="251"/> <location filename="../../NUSGet.py" line="425"/>
<source>Pack installable archive (WAD/TAD)</source> <source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>Pakke installerbart arkiv (WAD/TAD)</translation> <translation>Tittelen ved indeks {script_data.index(title)} har ikke en Tittel ID!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="261"/> <location filename="../../qt/ui/MainMenu.ui" line="480"/>
<source>File Name</source> <source>Apply patches to IOS (Applies to WADs only)</source>
<translation>Filnavn</translation> <translation>Påfør patcher IOS (gjelder kun WADer)</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="268"/> <location filename="../../NUSGet.py" line="192"/>
<source>Keep encrypted contents</source> <source>NUSGet Update Available</source>
<translation>Oppbevar kryptert innhold</translation> <translation>NUSGet Oppdatering Tilgjengelig</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="278"/> <location filename="../../NUSGet.py" line="193"/>
<source>Create decrypted contents (*.app)</source> <source>There&apos;s a newer version of NUSGet available!</source>
<translation>Opprette dekryptert innold (*.app)</translation> <translation>Det finnes en nyere versjon av NUSGet tilgjengelig!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="288"/> <location filename="../../modules/core.py" line="52"/>
<source>Use local files, if they exist</source> <source>
<translation>Bruk lokale filer, hvis de finnes</translation>
Could not check for updates.</source>
<translation>
Kunne ikke sjekke for oppdateringer.</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="295"/> <location filename="../../modules/core.py" line="60"/>
<source>Use the Wii U NUS (faster, only effects Wii/vWii)</source> <source>
<translation>Bruk Wii U NUS (raskere, påvirker bare Wii/vWii)</translation>
There&apos;s a newer version of NUSGet available!</source>
<translation>
Det finnes en nyere versjon av NUSGet tilgjengelig!</translation>
</message> </message>
<message> <message>
<location filename="../../qt/ui/MainMenu.ui" line="328"/> <location filename="../../modules/core.py" line="62"/>
<source>vWii Title Settings</source> <source>
<translation>vWii Tittelinstillinger</translation>
</message> You&apos;re running the latest release of NUSGet.</source>
<message> <translation>
<location filename="../../qt/ui/MainMenu.ui" line="338"/>
<source>Re-encrypt title using the Wii Common Key</source> Du kjører den nyeste versjonen av NUSGet.</translation>
<translation>Krypter tittelen nytt ved hjelp av Wii Common Key</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="374"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Sans Serif&apos;; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message> </message>
</context> </context>
</TS> </TS>

View File

@@ -0,0 +1,377 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ro_RO">
<context>
<name>MainWindow</name>
<message>
<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 &quot;NUSGet&quot; inside your downloads folder.</source>
<translation type="vanished">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="98"/>
<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 &quot;NUSGet Downloads&quot; inside your downloads folder.</source>
<translation>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 Downloads în fișierul dvs. de download.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="192"/>
<source>NUSGet Update Available</source>
<translation>Actualizare NUSGet disponibilă</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="193"/>
<source>There&apos;s a newer version of NUSGet available!</source>
<translation>O nouă versiune NUSGet este disponibilă!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="286"/>
<source>No Output Selected</source>
<translation>Nu s-a selectat un output</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="287"/>
<source>You have not selected any format to output the data in!</source>
<translation>Nu ați selectat niciun format de ieșire!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="289"/>
<source>Please select at least one option for how you would like the download to be saved.</source>
<translation> rugăm selectați cel puțin o opțiune pentru modul în care doriți salvați datele descărcate.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="318"/>
<source>Invalid Title ID</source>
<translation>Title ID invalid</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="319"/>
<source>The Title ID you have entered is not in a valid format!</source>
<translation>Title ID pe care l-ați introdus este invalid!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="321"/>
<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>Title ID-urile trebuie conțină exact 16 cifre și/sau litere. 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="323"/>
<source>Title ID/Version Not Found</source>
<translation>Title ID/Versiunea nu a fost găsită</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="324"/>
<source>No title with the provided Title ID or version could be found!</source>
<translation>Niciun titlu care corespundă cu Title ID-ul sau cu versiunea introdusă nu a fost găsit!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="326"/>
<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> rugăm asigurați ați introdus un Title ID valid sau ați selectat unul din baza de date cu titluri, și versiunea introdusă există pentru titlul pe care încercați îl descărcați.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="328"/>
<source>Content Decryption Failed</source>
<translation>Decriptarea conținutului a eșuat</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="329"/>
<source>Content decryption was not successful! Decrypted contents could not be created.</source>
<translation>Decriptarea conținutului nu a reușit. Nu s-a putut crea conținutul decriptat.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="332"/>
<source>Your TMD or Ticket may be damaged, or they may not correspond with the content being decrypted. If you have checked &quot;Use local files, if they exist&quot;, try disabling that option before trying the download again to fix potential issues with local data.</source>
<translation>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 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="335"/>
<source>Ticket Not Available</source>
<translation>Ticket-ul nu este valabil</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="336"/>
<source>No Ticket is Available for the Requested Title!</source>
<translation>Niciun Ticket nu este valabil pentru titlul dorit!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="339"/>
<source>A ticket could not be downloaded for the requested title, but you have selected &quot;Pack installable archive&quot; or &quot;Create decrypted contents&quot;. These options are not available for titles without a ticket. Only encrypted contents have been saved.</source>
<translation>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="341"/>
<source>Unknown Error</source>
<translation>Eroare necunoscută</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="342"/>
<source>An Unknown Error has Occurred!</source>
<translation>S-a produs o eroare necunoscută!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="344"/>
<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> rugăm încercați din nou. Dacă problema persistă, rugăm deschideți un issue pe GitHub în care explicați ce ați încercat faceți atunci când această eroare a apărut.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="363"/>
<source>Script Issues Occurred</source>
<translation>Au apărut probleme cu scriptul</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="364"/>
<source>Some issues occurred while running the download script.</source>
<translation>Au apărut câteva probleme la rularea scriptului descărcat.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="366"/>
<source>Check the log for more details about what issues were encountered.</source>
<translation>Verificați logurile pentru mai multe detalii despre problemele întâmpinate.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="373"/>
<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>Următoarele titluri nu au putut fi descărcate din cauza unei erori. rugăm asigurați Title ID și versiunea listate în script sunt valide.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="383"/>
<source>You enabled &quot;Create decrypted contents&quot; or &quot;Pack installable archive&quot;, but the following titles in the script do not have tickets available. If enabled, encrypted contents were still downloaded.</source>
<translation>Ați activat Creare conținut decriptat sau Împachetați arhiva instalabilă, dar următoarele titluri în script nu au tichete valabile.În acest caz, conținuturile encriptate au fost oricum descărcate.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="402"/>
<source>Script Download Failed</source>
<translation>Descărcarea scriptului a eșuat</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="403"/>
<source>Open NUS Script</source>
<translation>Deschideți script NUS</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="404"/>
<source>NUS Scripts (*.nus *.json)</source>
<translation>Scripturi NUS (*.nus *.json)</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="414"/>
<source>An error occurred while parsing the script file!</source>
<translation>A apărut o eroare la parssarea acestui fișier script!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="415"/>
<source>Error encountered at line {e.lineno}, column {e.colno}. Please double-check the script and try again.</source>
<translation>S-a produs o eroare la linia {e.lineno}, coloana {e.colno}. rugăm verificați scriptul și încercați din nou.</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="424"/>
<source>An error occurred while parsing Title IDs!</source>
<translation>A apărut o eroare la procesarea Title ID-urilor!</translation>
</message>
<message>
<location filename="../../NUSGet.py" line="425"/>
<source>The title at index {script_data.index(title)} does not have a Title ID!</source>
<translation>Titlul la poziția {script_data.index(title)} nu are un Title ID!</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>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>Căutați</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="59"/>
<source>Clear</source>
<translation>Goliți câmpul</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>Title 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>Versiune</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="162"/>
<source>Console:</source>
<translation>Consolă:</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="198"/>
<source>Start Download</source>
<translation>Începeți descărcarea</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="211"/>
<source>Run Script</source>
<translation>Rulați script</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="238"/>
<source>General Settings</source>
<translation>Setări Generale</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="269"/>
<source>Pack installable archive (WAD/TAD)</source>
<translation>Împachetați arhiva instalabilă (WAD/TAD)</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="284"/>
<source>File Name</source>
<translation>Nume fișier</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="318"/>
<source>Keep encrypted contents</source>
<translation>Păstrați conținuturile encriptate</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="354"/>
<source>Create decrypted contents (*.app)</source>
<translation>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>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>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>Aplicați patch-uri pentru IOS (se aplică doar pentru WAD-uri)</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="536"/>
<source>vWii Title Settings</source>
<translation>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>Re-encriptați titlul folosind cheia comună Wii</translation>
</message>
<message>
<location filename="../../qt/ui/MainMenu.ui" line="627"/>
<source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
hr { height: 1px; border-width: 0; }
li.unchecked::marker { content: &quot;\2610&quot;; }
li.checked::marker { content: &quot;\2612&quot;; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Noto Sans&apos;; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-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:&apos;Sans Serif&apos;; font-size:9pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation></translation>
</message>
<message>
<location filename="../../modules/core.py" line="52"/>
<source>
Could not check for updates.</source>
<translation>
Nu s-a putut verifica dacă există actualizări.</translation>
</message>
<message>
<location filename="../../modules/core.py" line="60"/>
<source>
There&apos;s a newer version of NUSGet available!</source>
<translation>
O nouă versiune de NUSGet este valabilă!</translation>
</message>
<message>
<location filename="../../modules/core.py" line="62"/>
<source>
You&apos;re running the latest release of NUSGet.</source>
<translation>
Utilizați ultima versiune de NUSGet.</translation>
</message>
</context>
</TS>

30
update_translations.py Normal file
View File

@@ -0,0 +1,30 @@
# "update_translations.py", licensed under the MIT license
# Copyright 2024-2025 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))