In Pokemon Reborn I had to implement some nasty hacks to get zip working (for unzipping a patch) because the ruby gems from Ruby’s standard library are not available in JoiPlay’s RPG Maker plugin. Namely I had to edit rubyzip to comment out any usages of zlip, stringio, pathname and encoding. It now works at least for the simple case of just unzipping a simple patch.zip file but I would not be surprised if it broke in the future.
It would make my life a lot easier if I could use Ruby’s stdlib gems in JoiPlay the same way I can in mkxp-z.
On another note Ruby’s require
doesn’t work on JoiPlay. In mkxp-z I’m using this for instance:
$:.push('gems')
require 'rubygems'
But for JoiPlay I’m forced to use require_relative
instead.
This is broken since JoiPlay’s RPG Maker plugin 1.20.51. In older versions, require
worked.