This is the first step at creating something interesting with Apollo and Mii binary files. Others have been working on some cool apps including the MiiEditor and MiiMall, etc so you might ask.. why are you doing this?.. Like Michael Hedges said, "Because it's there"!
Actually there was a discussion the other day about integrating the Wii with online marketing and of course the idea came up of uploading and sharing your Mii character, so I thought it would be a great way to learn Apollo and do something fun at the same time.
Turns out, there's really nothing too Apolloish about this app other than reading in a file but you can imagine all the possibilities for it... Well I can't yet, so help me figure out how to use this ;)
The first step is to simply read in the binary file into some useful data structure so we can draw the character. Thanks to some help I got with bit masks and shifting, I got it working last night. My MiiParser takes a ByteArray and goes to work sorting out all the bits and bytes.
If you are interested in helping me work on this, let me know. I need a flash artist to create all the pieces so I can put bits to pixels. It would also be great to build a generic parser and a C-like struct in AS3 in order to do things more abstractly ( is that a word? ) like other languages have done for years.
You can get the code here. It was built with Flex Builder and Apollo although there's nothing flexy or apolloish about it really.... yet.
Also you can see the Mii data format here, another MiiEditor here and definitely check out the MiiMall.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment