I'm not sure if this is the right forum to ask... I heard game such as oneshot used both RPG Maker and the open source program for Ruby script called MKXP, which made the director to connect the RPG Maker program with the external code such as C++ while making and develop their game. Anyone used the program over here?
I'm curious about the process of how I could connect the external code to RPG Maker(I mean the process after download-maybe about which files to open from MKXP and how to connect the external code that is written?),
and if it supports Javascript to connect with Vx ace,
and if it's legal maybe...? I've heard in some points that using MKXP to make RPG maker games could be illegal, but seeing the case of Oneshot, I assume it's not- but I bet correct info is the best.
Nope, mkxp can't support javascript on its own. It just can't, only runs on ruby 2.x or 3.x depending on the build.
And regarding your last point there, do you own the engine like VX ACE? You do? Then why can't you make your game using its editor and run it using any executable at will? Just thinking aloud here.
MKXP is - as opposed to all other tries before that one - declared legal, although I don't have any link to that post.
Now a bit of background.
MKXP can only work because all makers since RMXP have been double interpreted engines - the games were never compiled.
The first interpreter is the one that interprets Ruby code on the local machine (or javascript for MV and MZ). This interpreter always runs the engine code, which in itself includes an interpreter for event code.
So MKXP is basically an interpreter for running Ruby/RGSSx - code on whatever the target hardware is. That in itself can never be illegal.
The difference comes from the display library used by RM XP/VX/VXA. That one is closed source and only available as an encrypted dll.
Most early converters hacked the dll to learn how to access them, and that broke the EULA and made them illegal.
MKXP went the much more difficult route of replacing that original display library with something else (DirectX in case of Windows).
That is why it remains legal - it never broke any laws on being programmed.
Err, nope. Mkxp doesn't DIRECTLY rely on DirectX as you might think. It might... yet, that is not guaranteed at all. Honestly, not depending on the platform you pick, it might still use OpenGL as its default backend for all graphical stuff. It still exists on Windows so why not? OpenGL has been quite common in Linux and similar OS's so it's the default option just because. SDL2 is a complex bridge to all the underlying technologies, but AFAICR you'd have to tell it explicitly to depend on DirectX to do some stuff. (Somebody correct me if they can find the source files saying otherwise.)
Both SDL2 and OpenGL are legal from the very beginning so their implementation won't break the law.
Why don't you find an executable that runs on javascript instead? I mean, VX ACE uses Ruby by default so it makes sense to create an alternate binary that also does that on a modern build of Ruby.
Rubygems are extensions written in C for Ruby aka CRuby or pure Ruby scripts.