Project on Github.
If you're interested in the project just let me know.
I came across this XML parsing/generating library when I was looking for pure-ruby implementations of various serializers, and after copying some extra files over and adding a new file, I've got it working in RM.
I haven't extensively tested it, but it seems to be able to parse and generate XML files.
The next step is to provide serialization methods for ruby objects so that we can store our data in XML rather than binary Marshal format.
The goal is to be able to provide XML serialization as an alternative to ruby's Marshal serialization. This way, you can do things like
- share project files through version control systems (though, my understanding is that this can already be done? So I'm not sure if there's any value to text-format in this case)
- modify database files without having to go through Ruby (you can use an external editor, use scripts to generate it, etc)
Sure, everything can be done if you just use Ruby, but the idea is that you shouldn't be restricted to Ruby. Or IronRuby. Or having to find a library for working with ruby's binary serialization.
I saw this http://www.hbgames.org/forums/viewtopic.php?f=155&t=72404, so evidently XML support for RPG Maker has already been done somewhere? If there's already a project for it, I'd like to know.
If you're interested in the project just let me know.
I came across this XML parsing/generating library when I was looking for pure-ruby implementations of various serializers, and after copying some extra files over and adding a new file, I've got it working in RM.
I haven't extensively tested it, but it seems to be able to parse and generate XML files.
The next step is to provide serialization methods for ruby objects so that we can store our data in XML rather than binary Marshal format.
The goal is to be able to provide XML serialization as an alternative to ruby's Marshal serialization. This way, you can do things like
- share project files through version control systems (though, my understanding is that this can already be done? So I'm not sure if there's any value to text-format in this case)
- modify database files without having to go through Ruby (you can use an external editor, use scripts to generate it, etc)
Sure, everything can be done if you just use Ruby, but the idea is that you shouldn't be restricted to Ruby. Or IronRuby. Or having to find a library for working with ruby's binary serialization.
I saw this http://www.hbgames.org/forums/viewtopic.php?f=155&t=72404, so evidently XML support for RPG Maker has already been done somewhere? If there's already a project for it, I'd like to know.