Libmii: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Mdbrim (talk | contribs)
Mdbrim (talk | contribs)
Line 26: Line 26:


# Download the zip file.
# Download the zip file.
# Put the libmii.a and libisfs.a files in the libogc/lib/wii folder in devKitPro.
# Put the libmii.a and libisfs.a files in the libogc/lib/wii folder in devKitPro. (or applicable library folder)
# Put the isfs folder and mii.h file in the libogc/include folder in devKitPro.
# Put the isfs folder and mii.h file in the libogc/include folder in devKitPro. (or applicable include folder)
# Be sure to add "#include <mii.h>" in your source
# Be sure to add "#include <mii.h>" in your source
# Edit your MakeFile LIBS: line to include "-lmii" and "-lisfs"
# Edit your MakeFile LIBS: line to include "-lmii" and "-lisfs"

Revision as of 01:17, 5 April 2010

Libmii
General
Author(s)mdbrim
TypeLibrary
Version1.0
Links
Download
Website
Source

Libmii is a library for use with Nintendo Wii homebrew. It allows programmers to access the Mii data on the Wii and use it homebrew applications. Libmii retrieves the raw data associated with each mii on your wii. To use this data to draw your miis, please see INSERT NAME HERE (still trying to figure out what to call this page... will be up soon).

Mii structure

Libmii is based on the structure of this page: Mii Data#Mii format with a few additions.

What does work

Everything!

What doesn't work

Requirements

  • libisfs (a copy is included within the libmii zip file)

Installation

  1. Download the zip file.
  2. Put the libmii.a and libisfs.a files in the libogc/lib/wii folder in devKitPro. (or applicable library folder)
  3. Put the isfs folder and mii.h file in the libogc/include folder in devKitPro. (or applicable include folder)
  4. Be sure to add "#include <mii.h>" in your source
  5. Edit your MakeFile LIBS: line to include "-lmii" and "-lisfs"

Credits

Special thanks to Matthew Bauer for starting this project... without his framework and initial versions of Libmii, this working product would not have been possible (or at least have taken me a LOT longer to do!)

Example

Coming soon (files being uploaded and wiki is being edited now!)