In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Mini-XML: Difference between revisions

From WiiBrew
Jump to navigation Jump to search
Crayon (talk | contribs)
mNo edit summary
Gu1dry (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 6: Line 6:
| maintainer  =  
| maintainer  =  
| contributor =  
| contributor =  
| portedby    = beardface
| portedby    =  
| version    = 2.5
| version    = 2.6
| licence    = GNU LGPL
| licence    = GNU LGPL
| download    = http://wiichat.googlecode.com/files/mxml-wii.tgz
| download    = https://sourceforge.net/projects/devkitpro/files/portlibs
| website    = http://www.minixml.org/
| website    = http://www.minixml.org/
| discussion  =  
| discussion  =  
| source      =  
| source      = https://sourceforge.net/projects/devkitpro/files/portlibs
}}
}}
'''Mini-XML''' is a library ported for Wii to load and save XML config files in your GameCube/Wii apps.


'''Mini-XML''' is a library ported for Wii to load and save XML config files in your gc/wii apps.
== Install ==
* Copy files to $(PORTLIBS)


==Install==
== Usage ==
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.
You need to use [[libfat]] to make libmxml work.


Line 39: Line 27:
#include "mxml.h"
#include "mxml.h"
</source>
</source>
See main.cpp in the source file for example.


Add the extra libraries to link with the project in your Makefile:
Add the extra libraries to link with the project in your Makefile:
Line 46: Line 32:
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]]

Latest revision as of 21:15, 4 November 2009

Mini-XML
General
Author(s)Matthew Sweet
TypePorted Libraries
Version2.6
LicenceGNU LGPL
Links
Download
Website
Source

Mini-XML is a library ported for Wii to load and save XML config files in your GameCube/Wii apps.

Install

  • Copy files to $(PORTLIBS)

Usage

You need to use libfat to make libmxml work.

Include these for mxml:

#include <fat.h>
#include "mxml.h"

Add the extra libraries to link with the project in your Makefile:

LIBS := -lfat -lmxml ...

Documentation

Tons of doc at http://www.minixml.org