But why would you want other languages to support it? What would you do with it that you'd need to use it outside of RM?
Because there are many developers out there that are probably more experienced with other languages for certain types of applications. If I prefer to write java applications, I might write the passage map editor in Java rather than Ruby. This allows non-ruby developers to contribute tools.
For example, PK8's
icon index utility is not written in RM, or ruby, but it achieves it purpose. I don't know what anyone would do with it outside of RM, but the format used (eg: an image) is not specific to RM.
This is all within the context of exporters.
I could say let's all use JSON to store passage settings like this
{ "1,1": { "up": true, "left": false, "right": false, "down": false }, "1,2": { "up": true, "left": false, "right": false, "down": true }}Which is very verbose of course, but is pretty easy to parse and you could even do it in notepad.There should be no requirement that RM (or even ruby) must be used to create this file; it may be easier to do it in RM for some and not for others.
And for prototyping purposes, it would be sufficient to just store it as tables in a hash in a file called "passages.rvdata2".
If you wanted to edit it outside of RM for some reason, you'd need not only an exporter, but an importer as well.
You would need an importer for the passages.rvdata2 file as well. Storing it in ruby's Marshal format just makes it much easier to write the importer because all you need is to Marshal.load and you've imported it (whereas storing it in JSON or some other format would require you to build the table during the import step)