Mini-XML: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
WiibrewBot (talk | contribs) m Robot: Cosmetic changes |
||
Line 17: | Line 17: | ||
'''Mini-XML''' is a library ported for Wii to load and save XML config files in your gc/wii apps. | '''Mini-XML''' is a library ported for Wii to load and save XML config files in your gc/wii apps. | ||
==Install== | == Install == | ||
Option 1: | Option 1: | ||
*copy mxml/include/mxml.h to $(DEVKITPPC)/libogc/include | *copy mxml/include/mxml.h to $(DEVKITPPC)/libogc/include | ||
*copy mxml/lib/libmxml.a | *copy mxml/lib/libmxml.a to $(DEVKITPPC)/libogc/lib/*/ | ||
Option 2: | Option 2: | ||
*setup your Makefile to use the mxml dir for the libs and includes | *setup your Makefile to use the mxml dir for the libs and includes | ||
==Running the test== | == Running the test == | ||
Use [[wiiload]] to run mxml-wii.elf/dol on your Wii. | Use [[wiiload]] to run mxml-wii.elf/dol on your Wii. | ||
It will create test_file.xml and save/load to verify it works. | It will create test_file.xml and save/load to verify it works. | ||
Line 31: | Line 31: | ||
Or, you can make a directory and use the [[HBC]]. | Or, you can make a directory and use the [[HBC]]. | ||
==Usage== | == Usage == | ||
You need to use [[libfat]] to make libmxml work. | You need to use [[libfat]] to make libmxml work. | ||
Line 46: | Line 46: | ||
LIBS := -lfat -lmxml ... | LIBS := -lfat -lmxml ... | ||
==Documentation== | == Documentation == | ||
Tons of doc at http://www.minixml.org | Tons of doc at http://www.minixml.org | ||
[[Category:Libraries]] | [[Category:Libraries]] |
Revision as of 18:14, 10 August 2009
Mini-XML | |
General | |
---|---|
Author(s) | Matthew Sweet |
Ported by | beardface |
Type | Ported Libraries |
Version | 2.5 |
Licence | GNU LGPL |
Links | |
Download | |
Website |
Mini-XML is a library ported for Wii to load and save XML config files in your gc/wii apps.
Install
Option 1:
- copy mxml/include/mxml.h to $(DEVKITPPC)/libogc/include
- copy mxml/lib/libmxml.a to $(DEVKITPPC)/libogc/lib/*/
Option 2:
- setup your Makefile to use the mxml dir for the libs and includes
Running the test
Use wiiload to run mxml-wii.elf/dol on your Wii. It will create test_file.xml and save/load to verify it works.
Or, you can make a directory and use the HBC.
Usage
You need to use libfat to make libmxml work.
Include these for mxml:
#include <fat.h>
#include "mxml.h"
See main.cpp in the source file for example.
Add the extra libraries to link with the project in your Makefile:
LIBS := -lfat -lmxml ...
Documentation
Tons of doc at http://www.minixml.org