Save-Point
XP maps saved in RB files - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: XP maps saved in RB files (/thread-277.html)



XP maps saved in RB files - kyonides - 05-01-2010

Hi, I was wondering if anyone could provide me with a script or dll or both to convert maps rxdata files in RB (Ruby) files with no encryption. The idea is to be able to design maps in XP and use them in Gosu, which uses Ruby and OpenGL to draw graphics on a window, duh. I have no idea whether or not this request could be relatively simple, but any help would be appreciated.


XP maps saved in RB files - vgvgf - 05-02-2010

All the RMXP data is saved with Marshal, the ruby serializer class. You can load them in the same way the rmxp scripts do in gosu if you include the RPG::Map class (and maybe others if required), that is the data structure of maps. You can find it on the RMXP help file.

You will need also the Table RGSS class, I have created a Table clone some time ago: http://www.hbgames.org/forums/viewtopic.php?p=624725#p624725