Using IronRuby 1.0.0.0 with .NET 2.0 is still not doing the trick. It just seems to compress the data differently. I have also noticed that the compressed data is significantly larger than standard Ruby's. Either way, the Ruby Zlib library fails at reading it. It still throws the "incorrect data check" exception.
I'll just say what I'm trying to do. I created an external RMXP/RMVX script editor. It has a lot of neat features that the standard one does not have. Its not a full blown IDE, but it is a definite improvement. So as you can see, the ability to save the Scripts.rxdata file back into a format that can be read is a pretty pivotal function.
Everything else seems to work perfectly, except when you open RMXP's script editor, all the text for the scripts is blank. Stranger yet, even if you write new text into them and save it, the data still does not show up. At first I though perhaps I screwed up the sorta "ID' that RMXP assigns to each script, defined in the first element of each scripts array (in Scripts.rxdata), bur even when I tried loading the file from another project, you can clearly see the data as it is compressed, but any attempt to use Zlib::Inflate on it wil just throw the error. It doesn't do it when you start the editor, so I imagine Enterbrain must have included some catch in it to bypass any thrown Exceptions on the decompressing process.
Either way, I am very disappointed. It seems my only choice now is to try and find some Zlib library that is not native to .NET, and try to interface it.