Saturday, August 04, 2007
About XML + XSL
I developed the XML format for the Miis with two things in mind: Ease of use and scalability. With XML, you get a text format which is easy to read and modify. That in itself makes the format easy to use. People can easy take a Mii XML file and modify it to their own liking using a simple text editor.
With scalability I wanted something that I wouldn't have to worry about modifying continuously over time should the need arise. As a result I took into consideration what possibilities the XML format might need to account for. One of those was the pie in the sky possibility that the Mii Editor might one day also include a
Then you have XSL – a style sheet format for XML. The Mii XML uses an XSL style sheet to convert the XML into an HTML page for viewing your Mii XML files. Unfortunately, because of security restrictions, an XML file on your hard drive or a different domain should not be able to access the XSL style sheet used on the MiiEditor.com web site. As a result, this almost makes having the XSL useless as I didn't figure people would copying the XSL for their own use and modifying the XML to point to their version (which you can do to make it work), but I figured I would keep it around in case it was ever needed. Similarly, the XSL transformation to HTML uses a simple version of the Mii Editor to display Mii characters in a preview. Because I thought no one was using the XSL I never kept up with updating this version which currently breaks the preview.
Apparently I was wrong.
So in the next day or so, I will try to update the preview file so it will work with XML + XSL. I don't know how well it will work since a few things have changed since it did work, but we'll see what can be done about it. Thanks.
Friday, August 03, 2007
Mii Editor Updated
- Lip colors (finally!)
- Updated an eye icon
- Lowered freckles
- Character is now in full view on the first "General information" tab
- Versioning is available on the main File screen
- Updated the Image Export
- You can now export as PNG(!)
- Background color can now be set and can be transparent for a PNG export
- The Mii can be zoomed in the view using the Zoom slider
- The Mii can be moved in the view by clicking and dragging in the view
- The downloadable AIR version of the Mii Editor has been updated to this version
- It now supports drag and drop for Mii binary and XML files
- File uploads for XML should now work for the AIR version as well
Labels: air, beta, binary, color, desktop, export, fix, gui, lips, update, xml
Friday, June 29, 2007
Mii Editor Updated: Now with a Body
- Inclusion of Mii Body
- Image export size and background are retained when returning to the File screen
- Update of Export Preview when a new Mii is loaded
- Fixed error causing screen (tab) to change in the editor when a new Mii is loaded
- Added a simple scrollbar to the XML text output
- Most buttons now have visual feedback for when they are pressed (darken)
- Some hairstyles have been adjusted to be cleaner
- Some colors have been adjusted (i.e. the white favorite color is now less white)
Labels: beta, body, color, export, fix, gui, hair, update, xml
Wednesday, February 14, 2007
New XML and Eyes
If you've used the Mii Editor before, you may need to refresh/clear your cache before seeing the updates.
Labels: beta, eyes, update, xml
Saturday, February 10, 2007
Fixed Load File
Labels: beta, binary, fix, xml
XML Format Update

I took a break from doing visual improvements on character rendering and have turned focus instead to the XML. The idea behind the XML was to create a human-readable version of the Mii format which could be edited in simple text editors and uploaded back in the Mii Editor interface. I also wanted the XML to function as a file format that could support multiple Mii definitions.
The current format for the XML now supports that - more than one Mii can be placed in a single XML file. This, however, has not yet been implemented into the Mii Editor beta. So far all I have is an example (with a DTD and XSL for styling):
Right-click and download to see the XML, or simply click it to open it in your browser with the XSL applied (you can also view source from that to see the XML).
The XSL transformation includes a run-down of Mii character properties, a preview using the "view" Flash movie, and a link back the editor to edit it directly. Unfortunately, due to IE's active content issues, all previews will appear black until you click on them... why black, I don't know. The imagery should technically still show. Clicking should only be required for interactivity... but this is IE we're talking about so who knows (not me at least, not yet, but I will look into it).
I guess it should be noted that the preview is generated by a hex string coded into the XML by the editor (the same one used in URLs). If other properties in the XML are changed, the preview will not reflect those changes unless that hex string is updated as well.
... oh yeah, the format is not 100% complete either. I still want to transform type values to match their location in the interface. For instance the first type on the first page of the hair tab in the Wii has a value other than 0 - its like 16 or something. I want to make the XML values match what is more naturally assumed - the first being 0, the second 1, etc.
Update: I narrowed the black preview in IE to be a result of using 100% to size the SWF object. I just hardcoded in the size now and it seems to work fine.
Labels: links, upcoming, update, website, xml
Friday, February 09, 2007
XML Format Change
More complete documentation on the XML format will be provided when it has been finalized.
Friday, February 02, 2007
Partly Functional Classic UI

I hooked in the "Classic UI" to the current character rendering and you can now use it to change most of the values: Classic UI Preview. Basically the only thing you can't change are the colors. Also, there is no load or save features in this UI yet and no icons for characteristic types. You can scroll through the pages of types available, but you can't tell what you're looking at until you select something and the preview is updated.
I did allow XML editing through the File button. This will let you bring in XML from the Alpha version, edit the character through this UI, and take it back over to the alpha to save.
More information in regards to the additional options (Mii ID and Mii MAC) can be found on the FAQ of MiiEditor.com.
Labels: alpha, gui, update, xml
Sunday, January 28, 2007
Mii XML
Use the Show XML to load the XML data from the current Mii into the XML editing pane. Edit the values as needed keeping them within the ranges indicated by the min, max, and maxChars attributes. When finished, click on the Read XML button to save the changes and update the Mii character in the editor.
Note: The XML format is subject to change as the Mii Editor is developed further.
Subscribe to Posts [Atom]