Where I can find a tool for testing RGSS script? I mean, like sandbox or console in codecademy. Thanks for your help.
RGSSx script supporting tool
RGSSx Script SupportI don't know if you tried this yet, but RM comes with a console for debugging and testing various data for scripts. All you have to do is use 'p' without the quotation marks and push your data after that. So and example could be:
Code:
def evaluate_value @example_value = 0 do_something_here @example_value = new_value # Print New Value into Console p @example_valueend
This is the only one I know of: http://forum.chaos-project.com/index.php?topic=10420.0
But even then...not really sandbox.
But even then...not really sandbox.
you're pretty much left to just do it and try right in RM... after all, RGSSX is not open source, there are parts that are hidden from the public.
Hmm, wil do this, it can be added to Main section right? So I can get result quickly. And how I can do puts in VX? There are no console at all.
I had downloaded that once, but it crashes everytime I am trying to open it. I am sure I fully downloaded it, but, ok, I will re-download it.
EDIT: I mean no response after clicking Gemini.exe
Hmm, I understand.
Actually I just want to try some basic ruby like hashes, methods, etc, but if the method contains some element from RGSSx, it won't work with console on codecademy (I usually uses that web). Thanks for answers.
Using RGSS Console itself is more than enough. What makes you don't want to use that?
If you want a console in VX, you could try this
http://www.theolized.com/2013/08/rgss-console-untuk-xp-dan-vx.html
If you want a console in VX, you could try this
http://www.theolized.com/2013/08/rgss-console-untuk-xp-dan-vx.html
Because I need to playtest it again and again.
From what I understand, Sokita is asking for a tool in which you can write some lines and test it without using RM itself... Is that right?
Yup. You are right.
Which is hard to do given that RGSS and RM itself has a lot of hidden code, which to make a working "simulator" you'd need to know.
It would be quite a useful tool especially for creating scripts and testing it without access to RM, but given that reverse-engineering the engine is prohibited (to obtain those hidden codes), I wonder how you could do that...
It would be quite a useful tool especially for creating scripts and testing it without access to RM, but given that reverse-engineering the engine is prohibited (to obtain those hidden codes), I wonder how you could do that...
Haven't tried it yet, but it (seems) requires gosu to work.
https://github.com/CaptainJet/RM-Gosu
Have you installed Ruby environment on your PC?
https://github.com/CaptainJet/RM-Gosu
Have you installed Ruby environment on your PC?
Hmm, I understand, sir. It is impossible without breaking EULA.
Hmm, I am not sure... Can you teach me how? (Maybe via facebook chat instead?)
Not really -- you can create an approximation of the RGSSx hidden classes which simply respond to the messages sent from the Ruby side. Getting the methods which these objects respond to is simple, and it really isn't all that hard to write wrappers around, say, OpenGL which provide the same general functionality. There are a few problematic classes, of course, but for the most part, it's not too difficult to do.
Also, this may not be exactly what you're looking for, but Enelvon and I wrote a REPL for Ace (SES Console) which allows you to write code and dynamically test it inside of a running Ace game being played in test mode. This isn't exactly a sandbox, but you can use the macro functionality that we provide to write an externally defined macro containing the code you want to test, dynamically call that macro during play testing (which loads it into the current game), then tweak the code as the game is running and get the basic results that you want.
The REPL is available here. The latest stable version is 1.3, but we also have an unstable version 1.4 available from the unstable branch here (which is actually very stable and contains a lot of functionality missing from stable version 1.3).
If you need more instruction on how to get the SES Console working how you want it, please feel free to send me a PM. I'd be happy to help.
Thanks Solistra (and Enelvon), I think I can mark this as solved now. I will PM you later, Solistra
Original thread: https://forums.rpgmakerweb.com/threads/rgssx-script-supporting-tool.35231/