Qwad

Aus Wiiki
Wechseln zu:Navigation, Suche

Qwad ist ein PythonQt- und WiiPy-basiertes Werkzeug, mit dessen Hilfe man IOS und Kanäle vom NUS herunterladen und als WAD-Datei packen kann. Qwad ist primär für GNU/Linux-Benutzer gedacht, ist jedoch auch unter Windows und MacOS lauffähig.

Änderungslogbuch

-- 0.9 --
* bugfix: fix downloading youtube from cli
* bugfix: fix tmd-viewer file-chooser not offering all tmd-files
* update: added new youtube channel versions
* update: show deactivation info for disabled services channels
* new: add skyward sword savegame fix
* new: add lovefilm channel
* new: add wii u transfer channel
* new: add photo channel 1.1b
* new: add kirby channel (for completelyness)

-- 0.8 --
* bugfix: fix relative paths for -d/--download cli on linux
* bugfix: fix downloading without packgin for -d/--download cli
* bugfix: titleid for US WiiSpeak has been the PAL version
* update link to pycrypto installer for Windows in 'DEPS'
* only chdir on linux (not working for some on windows(?))
* added support for downloading YouTube channel

-- 0.7 --
* cli-options now can properly handle relative paths
* --tmdinfo does now longer fail when checking an IOS
* don't enforce decrypt=false on unpacking cli
* automatic whitespace fixes

-- 0.6 --
* fixed a string in german translation
* fixed selecting file in TMD-Viewer
* fixed show ascii id of title in TMD-Viewer
* only install qm-files for translation, not ts-files aswell
* changed default directory to $HOME (so that file-selectors
  don't start at Qwads source or installation directory)
* added command line options (see CLI file)

-- 0.5a --
* correctly show version of IOS62
* fix downloading shop channel

-- 0.5 --
* add debian packaging scripts
* install translations
* remove some unused WiiPy stuff, Qwad now runs fine on Python3
* added IOS62 and Shop v21
* fixed a bug in Makefile, improved clean rule
* added german translation (99%)
* new icon from NeoRame

-- 0.4 --
* add new IOS to downloader
* show available versions of selected IOS in downloader
* downloading channels is currently not possible
* logical sorting of IOS in downloader (IOS4 is the first, not after IOS39)
  taken from: [http://code.activestate.com/recipes/135435/]
* ensure Python 2.x is used, Python 3.x is not yet supported
* separate combobox for choosing channels, system-menu in downloader
* combobox to choose region for channels (JAP, PAL or USA)
* changed order of tabs, downloader is now default tab
* improved TMD Viewer
  - display title ID as ascii
  - display reserved
  - display required IOS (properly)
  - use QLabel instead of QLineEdit
* improved about dialog

-- 0.3 --
* Updated some porject's files which still referenced wii signer
* Added application's name and organization
* Now NUS title combobox is displayed sorteed
* Fixed everyone votes channel not returning a correct titleid
* Added some IOS to the dictionary
* Now can display the data stored in a TMD file.

-- 0.2 --
* Backend changed from Wii Signer to the awesome Wii.py
* Added support form downloading and packing wads from NUS
* Added statusbar
* Now the backend runs in a different thread

Known bugs:
* Title names and some statusbar messages don't get translated
* Title dictionary is incomplete. Additionally, there may be titles in the combobox which aren't actually in the NUS.

-- 0.1.1 --
* Fixed open modes and paths in order to work in Windows
* Independization from Wii Signer, due to needed changes to the original code. Now Qwad isn't a frontend anymore.

-- 0.1 - First public version --

Funktionen

NUS Downloader

Mit Hilfe des eingebauten NUS Downloaders können Kanäle und IOS von selbigem heruntergeladen werden.

Qwad 0.6: NUS Downloader


IOS können direkt ausgewählt und heruntergeladen werden, für Kanäle muss zunächst die Region (PAL, JAP, USA) ausgewählt werden. Zudem bietet Qwad die Möglichkeit das IOS/den Kanal direkt als WAD-Datei zu packen oder andernfalls die Inhalte zu entschlüsseln. Qwad zeigt zu jedem IOS/Kanal die verfügbaren Versionen an und ggf. ob diese Stubs sind (sprich: unbrauchbar).

WAD-Entpacker

Qwad kann vorhandene WAD-Dateien wieder entpacken, so lassen sich die Inhalte inspizieren, austauschen oder in ein extrahiertes BootMii-Backup "installieren".

Qwad 0.6: WAD-Entpacker


WAD-Packer

Entpackte WAD-Dateien lassen sich selbstverständlich wieder neu packen.

Qwad 0.6: WAD-Packer


TMD-Anzeiger

Entpackte WAD-Dateien enthalten eine TMD-Datei, welche diverse Informationen über den Inhalt bereitstellt. Im Bildschirmfoto wird die TMD-Datei des HomebrewFilters inspiziert.

Qwad 0.6: TMD-Anzeiger


Shell-Parameter

Qwad bietet auch die Möglichkeit mit Hilfe von Shell-Parametern in Skripte eingebaut zu werden, um so diverse Tätigkeiten (halb)automatisch ablaufen zu lassen. Hinweis: alle Pfade müssen absolut sein, Qwad kann (noch) nicht mit relativen Pfaden umgehen. (Beispiel: /home/user/Desktop/IOS58.wad anstelle von ./IOS58.wad)

Download-Parameter

Die Option -d (lang: --download) initiiert den Download eines IOS, unter Verwendung folgender Syntax:

qwad -d <IOS> <Version> <Output> <Decrypt> <Pack>

Die Parameter <Decrypt> und <Pack> sind bool'sche Werte, die sich gegenseitig ausschließen. Für den Parameter <IOS> werden sowohl hexadezimale Werte, als auch alpha-Numerische Werte unterstützt. Zum herunterladen der neuesten Version 0 angeben (keine Überprüfung auf Stubs!)

Beispiel zum Download des IOS58:

qwad -d <IOS>            <VERSION> <OUTPUT>       <DECRYPT> <PACK>
qwad -d IOS58            6176      $PWD/IOS58.wad False     True
qwad -d 000000010000003a 6176      $PWD/IOS58.wad True      False

Resultat: IOS58.wad

Für Kanäle werden folgende Namen verwendet:

boot => BOOT2
bbciplayer => BBC iPlayer
systemmenu => System Menu
checkmiiout => Check Mii Out
digicamprint => Digicam Print
eula => EULA
everyonevotes => Everyone Votes
jamwiththeband => Jam With The Band
japanfoodservice => Japan Food Service
mii => Mii Channel
news => News
nintendo => Nintendo
opera => Opera
photo => Photo
photo11 => Photo 1.1
regionselect => Region Select
shashin => Shashin Channel
shop => Shop
todaytomorrow => Today & Tomorrow
tvfriend => TV Friend / G-Guide
weather => Weather
wiinoma => Wii No Ma
wiispeak => Wii Speak

Zusätzlich muss eine Region angehängt werden, Beispiele:

mii.pal
systemmenu.jap
shop.usa

Beispiel zum Download des Mii Kanals (PAL):

qwad -d <KANAL>          <VERSION> <OUTPUT>       <DECRYPT> <PACK>
qwad -d mii.pal          0         $PWD/Mii.wad   False      True

Resultat: Mii.wad

Unpack-Parameter

Die Option -u (lang: --unpack) entpackt eine WAD-Datei in ein angegebenes Verzeichnis.

qwad -u <WAD>          <FOLDER>
qwad -u $PWD/IOS58.wad $PWD/IOS58-Unpacked

Resultat: IOS58-Unpacked/

Pack-Parameter

Die Option -p (lang: --pack) packt ein Verzechnis als WAD-Datei.

qwad -p <FOLDER>        <WAD>
qwad -p IOS58-Unpacked/ IOS58.wad

Resultat: IOS58.wad

GetVersions-Parameter

Die Option -g (lang: --getversions) zeigt alle verfügbaren Versionen eines IOS an (Daten-Quelle ist die Qwad-eigene Datenbank). Wie auch bei der Option -d werden sowohl hexadezimale also auch alpha-numerische Werte unterstützt.

Bespiel anhand des IOS9:

qwad -g <IOS>
qwad -g IOS9
qwad -g 0000000100000009

Resultat: "Available Versions for IOS9: 520, 521, 778, 1034"

qwad -g <KANAL>
qwad -g mii.pal

Resultat: "Available Versions for Mii Channel: 2, 3, 4, 5, 6"

Convert-Parameter

Die Option -c (lang --convert) zeigt dem Benutzer für einen angegeben hexadezimalen Wert den alpha-numerischen an und anders herum.

Beispiel anhand des IOS36:

qwad -c <IOS>
qwad -c IOS36
qwad -c 0000000100000024

Resultat: "IOS36 == 0000000100000024"

qwad -c <KANAL>
qwad -c mii.pal
qwad -c 0001000248414341

Resultat: "Mii Channel == 0001000248414341"

TMD-Info-Parameter

Die Option -t (lang --tmdinfo) zeigt dem Benutzer alle verfügbaren Daten aus einer TMD-Datei an (im Beispiel: TMD des HomebrewFilters).

qwad -t <TMD>
qwad -t $PWD/0001000154484246.tmd

Resultat:

Title ID (HEX)     : 0001000154484246
Title ID (ASCII)   : THBF
Title Version      : 41
Title Boot Index   : 2
Title Contents     : 3
Title IOS          : IOS58
Title Access Rights: 3
Title Type         : 1
Title Group ID     : 21065
Title Reserved     : _

Installation

Eine Installation ist nicht nötig, es genügt die Datei "Qwad.pyw" mittels Python zu starten. Für Unixoide Systeme liegt eine Makefile bei, die eine unkomplizierte Installation ermöglicht. Qwad benötigt folgende (unter Windows meist) zusätzliche Software:

GNU/Linux-Benutzer können alle Pakete bequem über den jeweiligen Paket-Manager installieren. Nach der Installation unter Unixoiden gibt es den system-weiten Befehl qwad.

Resourcen

Qwad verfolgt ein transparentes Entwicklungs-Modell, das heißt es gibt ein frei verfügbares GIT-Repositorium, mit dessen Hilfe interessierte (und erfahrene) Anwender sich jederzeit eine Beta-Version herunterladen und testen können.

Resourcen
GIT-Repositorium (Web-Ansicht) (Checkout) git clone git://git.tuxfamily.org/gitroot/qwad/qwad.git
Download (TarBall) (Debian Package)
Diskussion Wii-Homebrew.com Forum Nanolx.org (Homepage)