Line 35:
Line 35:
** setting.txt
** setting.txt
** Savegames
** Savegames
+
+
== Dependencies ==
+
+
* PyCrypto
+
* Python 2.x - works with 2.5 and 2.6 for sure, may work with earlier releases.
+
* PIL (Python Imaging Library)
+
* wxPython if you want to use the toScreen() method of the TPL object
== Usage ==
== Usage ==
−
todo
+
Downloads the latest System Menu from NUS and packs it into a WAD:
+
<source lang="python">
+
import Wii
+
Wii.NUS.download(0x000000010000002).dumpFile("SystemMenu-latest.wad")
+
</source>
== Bugs & Suggestions ==
== Bugs & Suggestions ==
Line 60:
Line 71:
== Credits ==
== Credits ==
−
This library was written by [[User:Xuzz|Xuzz]], [[User:SquidMan|SquidMan]], [[User:megazig|megazig]], [[User:Matt_P|Matt_P]], and [[User:Omega|Omega]]. It contains the LZ77 code written by [[User:marcan|marcan]], with few modifications. Thanks go out to marcan for providing the idea of writing a Wii library in Python!
+
This library was written by [[User:Xuzz|Xuzz]], [[User:SquidMan|SquidMan]], [[User:megazig|megazig]], [[User:Matt_P|Matt_P]], and [[User:Omega|Omega]]. It contains the LZ77 code written by [[User:marcan|marcan]], with few modifications. Thanks go out to marcan for providing the idea of writing a Wii library in Python! Credit goes to Daeken for the Struct.py -- thanks a ton, its awesome!