This was posted a while ago. I will post the link here if can find it.
EDIT: Just searched and noticed you already made this post and someone told you it had already been posted. Just wondering why you posted this again?
Here is the link to the first thread. http://www.wiihacks.com/member-submi...urce-code.html