(Not entirely sure if this is the correct forum to ask this question given that technically this can apply to every version of RPG Maker that uses some RGSS version, but since I mainly use RMXP I figure it makes sense to ask here...)
Having looked around the forum a fair amount it's been made pretty clear that generally modifying and reverse engineering/disassembling the engine files (ie the Game.exe and any RGSS DLL) directly is a hard no-go legally, something you just are not allowed to do unless you have express permission from the devs to do so. This makes sense to me and it's a fairly obvious restriction.
What I'm confused about is I've seen that scripts (such as those by himeworks) that do make modifications/patches to any engine code are seemingly considered or implied to be legal, even though it's blatantly obvious that said patches are being done by editing the raw assembly code in the exe/DLL. In theory, all the same reasons that editing (and shipping a game with modified) engine files ought to apply here; you're still modifying the engine (probably without permission) and to even find the right bytes to edit, you'd have to dissasemble them until you find what you're looking for, right? Is it just the fact that since the original files are left untouched and because both only the code in-memory ever gets edited as well as the fact that the ruby interpreter is running your script in the first place to cause these edits that makes these ok?
This comes around to the question I'm posing in the thread title, which is that would it be legal to create a ruby script that uses Win32API to call the
Thanks in advance!
Having looked around the forum a fair amount it's been made pretty clear that generally modifying and reverse engineering/disassembling the engine files (ie the Game.exe and any RGSS DLL) directly is a hard no-go legally, something you just are not allowed to do unless you have express permission from the devs to do so. This makes sense to me and it's a fairly obvious restriction.
What I'm confused about is I've seen that scripts (such as those by himeworks) that do make modifications/patches to any engine code are seemingly considered or implied to be legal, even though it's blatantly obvious that said patches are being done by editing the raw assembly code in the exe/DLL. In theory, all the same reasons that editing (and shipping a game with modified) engine files ought to apply here; you're still modifying the engine (probably without permission) and to even find the right bytes to edit, you'd have to dissasemble them until you find what you're looking for, right? Is it just the fact that since the original files are left untouched and because both only the code in-memory ever gets edited as well as the fact that the ruby interpreter is running your script in the first place to cause these edits that makes these ok?
This comes around to the question I'm posing in the thread title, which is that would it be legal to create a ruby script that uses Win32API to call the
WriteProcessMemory function (as well as some other ones to actually use it properly) that patches over RGSS assembly code? My main motivation in asking is that if I ever do finish and/or release a game, I'd like to add support for frame-rates higher than 40 as well as removing the 120 FPS hard cap that the Graphics module sets, which I couldn't figure out a way to achieve that without attempting to patch the raw assembly that enforces the cap.Thanks in advance!