So I was thinking in the shower (as you do), about RPG Maker.
RGSS, specifically. It's a nicely packaged set of Ruby scripts, which are ran by a C made program.
Now let's say we rewrote all of the hidden scripts and pasted them into the scripts.rxdata file. Would it then not be feasible to create a ruby program to run this file, as game.exe does?
My thought is basically one of expandability and user choice. If we did have this scenario, then a different Bitmap class could be created for say, Gosu, or SFML, or any other graphics library you can think of. The game could be encrypted with any form of encryption.
If this is the case, couple of questions:
1. What are the default scripts? (Or, have I missed any?)
Bitmap
Sprite
Plane
Viewport
Tilemap
Window
Color
Table
Tone
RPG::*
Audio
Graphics
(Seems a lot..)
2. Is there a method in Ruby to print out... well, there is, but I can't get it to work... method forms:
to_print = ""
methods = Object.methods
for i in 0..methods.size
to_print += methods + " " + Object.method[methods].parameters.join(", ") + "\n"
end
print to_print
Should work... well, in my mind should work. It doesn't.
Anyway, would simply be useful (and necessary, really) for recreating the hidden scripts.
RGSS, specifically. It's a nicely packaged set of Ruby scripts, which are ran by a C made program.
Now let's say we rewrote all of the hidden scripts and pasted them into the scripts.rxdata file. Would it then not be feasible to create a ruby program to run this file, as game.exe does?
My thought is basically one of expandability and user choice. If we did have this scenario, then a different Bitmap class could be created for say, Gosu, or SFML, or any other graphics library you can think of. The game could be encrypted with any form of encryption.
If this is the case, couple of questions:
1. What are the default scripts? (Or, have I missed any?)
Bitmap
Sprite
Plane
Viewport
Tilemap
Window
Color
Table
Tone
RPG::*
Audio
Graphics
(Seems a lot..)
2. Is there a method in Ruby to print out... well, there is, but I can't get it to work... method forms:
to_print = ""
methods = Object.methods
for i in 0..methods.size
to_print += methods + " " + Object.method[methods].parameters.join(", ") + "\n"
end
print to_print
Should work... well, in my mind should work. It doesn't.
Anyway, would simply be useful (and necessary, really) for recreating the hidden scripts.