Hacking [Release] libWiiSharp

Leathl

Well-Known Member
OP
Member
Joined
Aug 15, 2009
Messages
239
Trophies
0
Location
Berlin
Website
Visit site
XP
90
Country
Gambia, The
libWiiSharp is a Wii related .NET (2.0+) library.
It can be used with any .NET language to easily develop Wii related applications.

All public functions are documented and most should be pretty self-explanatory.
There are also some example applications that use libWiiSharp included.

If you want to contribute, mail me at leathl[-at-]gmail[-dot-]com.

Download: http://code.google.com/p/libwiisharp/downloads/list
(Please just link to this site instead of mirroring the archive, thanks!)

QUOTE said:
Features:
  • Convert Wave to BNS sound (no BNS to Wave yet)
  • Get required TPLs of brlan/brlyt files (no further handling yet)
  • Transmit files to HBC
  • Download titles from NUS
  • Patch IOS (Fakesigning, ES_Identify, NAND Permissions)
  • Compress/Decompress using Lz77 algorithm
  • Handle IMD5/IMET headers
  • Handle the following filetypes
    • WAD
    • U8
    • TMD
    • Ticket
    • Certificate Chain
  • Convert TPLs back and forth with the following formats
    • RGBA8 (to / from)
    • RGB565 (to / from)
    • RGB5A3 (to / from)
    • IA8 (to / from)
    • IA4 (to / from)
    • I8 (to / from)
    • I4 (to / from)
    • CI8 (from)
    • CI4 (from)
    • CI14X2 (from)
    • CMP / S3TC (from)


Changelog:

Version 0.1
  • Initial Release
 

Remfin

Well-Known Member
Newcomer
Joined
Mar 5, 2010
Messages
65
Trophies
0
XP
75
Country
United States
If I may make a suggestion (just from perusing a few of the files): implement Stream support. Everything seems to work with strings (and the library opens the file) or byte arrays, and that's kind of limiting--you need to extract everything to work on it or you need big chunks of memory.
 

smf

Well-Known Member
Member
Joined
Feb 23, 2009
Messages
6,647
Trophies
2
XP
5,887
Country
United Kingdom
Leathl said:
Next release will have the possibility to get streams passed.

I have a .net library that I've been working on that might intersect with this. I'm looking at releasing something this week, because I have an app that I want to get out. I'll give you a shout afterwards and we can chat.
 

fiveighteen

Distractible Dabbler
Member
Joined
Jun 30, 2008
Messages
1,768
Trophies
2
XP
1,930
Country
United States
Great work, once again, Leathl!

I was messing around with the WAD and U8 Un/Packers and the TPL converter and I'm having a couple issues with the TPL converter. I first used it to convert "nand.tpl" into "nand1.png" and "nand2.png" from the Red Steel 2 ISO, and it worked, but then I moved onto "BatteryCritical.tpl" and it gave me this error:

"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index."

If I keep trying TPLs after opening the first one successfully, it always gives that error. If I close the TPL converter and then reopen it and just try any other TPLs first, such as any other TPLs on the Red Steel 2 ISO or TPLs in an MPlayer CE WAD I had, it gives me this error:

"Object reference not set to an instance of an object"

It's not a big deal, considering I was just messing around with stuff, but I figured it might help you sort it out in some way.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: