[Release] libWiiSharp

Discussion in 'Wii - Hacking' started by Leathl, Mar 28, 2010.

Mar 28, 2010

[Release] libWiiSharp by Leathl at 7:27 PM (1,421 Views / 0 Likes) 6 replies

  1. Leathl
    OP

    Member Leathl GBAtemp Regular

    Joined:
    Aug 15, 2009
    Messages:
    239
    Location:
    Berlin
    Country:
    Germany
    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!)

     
  2. WiiCrazy

    Member WiiCrazy Be water my friend!

    Joined:
    May 8, 2008
    Messages:
    2,391
    Location:
    Istanbul
    Country:
    Turkey
    Nice work! I wonder when I'll use these image & u8 functions in my programs... With these tools for example I can easily create an automated c64 vc injector...
     
  3. Remfin

    Newcomer Remfin Advanced Member

    Joined:
    Mar 5, 2010
    Messages:
    65
    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.
     
  4. Leathl
    OP

    Member Leathl GBAtemp Regular

    Joined:
    Aug 15, 2009
    Messages:
    239
    Location:
    Berlin
    Country:
    Germany
    Next release will have the possibility to get streams passed.
     
  5. smf

    Member smf GBAtemp Advanced Fan

    Joined:
    Feb 23, 2009
    Messages:
    836
    Country:
    United Kingdom
    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.
     
  6. fiveighteen

    Member fiveighteen High Hopes and Low Expectations

    Joined:
    Jun 30, 2008
    Messages:
    1,750
    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.
     
  7. Leathl
    OP

    Member Leathl GBAtemp Regular

    Joined:
    Aug 15, 2009
    Messages:
    239
    Location:
    Berlin
    Country:
    Germany
    I'll debug it later.

    Edit: Only a little bug in the TplConverter Example code, doesn't affect libWiiSharp.
     

Share This Page