In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Talk:Wii.py"

From WiiBrew
Jump to navigation Jump to search
(→‎I need help please :(: - Fixing a little mistake)
Line 33: Line 33:
  
 
I already moved the script so its in the same directory as the script wii.py. I have Python, PIL, PyCrypto and wxPython all installed. What's wrong, and can I fix it? Thanks. --[[User:SifJar|SifJar]] 19:00, 17 October 2010 (CEST)
 
I already moved the script so its in the same directory as the script wii.py. I have Python, PIL, PyCrypto and wxPython all installed. What's wrong, and can I fix it? Thanks. --[[User:SifJar|SifJar]] 19:00, 17 October 2010 (CEST)
 +
:Just playing with this a bit since you mentioned it... first get the latest version from git with 'git clone http://github.com/icefire/Wii.py.git' then I think the thing is these are source codes that are meant to be incorporated into python code of your own. I was able to use the bns.py to convert a bns file to wav with 'python bns.py -d sound.bin out.wav'. But I had no quick luck unpacking a U8 archive, the example doesn't work, I get an error where U8 is not defined. [[User:Dashxdr|Dashxdr]] 23:08, 17 October 2010 (CEST)

Revision as of 23:08, 17 October 2010

FOF

could someone try porting FoF? it is written in python Calthephenom 19:35, 19 August 2009 (UTC)

Uh...see WiiPy, this is just a library for PC programs. Xuzz 21:04, 19 August 2009 (UTC)

tutorial

Some tutorial for the basic stuff is needed like how to read the titleid of a wad and stuff like that

I need help please :(

I am trying to play about with some Wii.py stuff, but I'm having some difficulty. Basically what I want to be able to do is-

  1. Unpack WADs
  2. Extract U8 archives
  3. Pack WADs


I am trying to use pywii\wadunpack.py to unpack a WAD, but its not working. I get this error:

C:\Documents and Settings\Inspiron 6000\My Documents\Homebrew\Wii\Tools\icefire-Wii.py-3826ae7\icefire-Wi
i.py-3826ae7>wadunpack.py
Usage: python wadunpack.py <input> <output> ...

C:\Documents and Settings\Inspiron 6000\My Documents\Homebrew\Wii\Tools\icefire-Wii.py-3826ae7\icefire-Wi
i.py-3826ae7>wadunpack.py staticbase.wad staticbase
Traceback (most recent call last):
  File "C:\Documents and Settings\Inspiron 6000\My Documents\Homebrew\Wii\Tools\icefire-Wii.py-3826ae7\ic
efire-Wii.py-3826ae7\wadunpack.py", line 10, in <module>
    Wii.WAD(elem).unpack(elem2)
AttributeError: 'Title' object has no attribute 'unpack'

I already moved the script so its in the same directory as the script wii.py. I have Python, PIL, PyCrypto and wxPython all installed. What's wrong, and can I fix it? Thanks. --SifJar 19:00, 17 October 2010 (CEST)

Just playing with this a bit since you mentioned it... first get the latest version from git with 'git clone http://github.com/icefire/Wii.py.git' then I think the thing is these are source codes that are meant to be incorporated into python code of your own. I was able to use the bns.py to convert a bns file to wav with 'python bns.py -d sound.bin out.wav'. But I had no quick luck unpacking a U8 archive, the example doesn't work, I get an error where U8 is not defined. Dashxdr 23:08, 17 October 2010 (CEST)