RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Gemini - RGSS/RGSS2 Script Editor

0 Members and 2 Guests are viewing this topic.

**
Rep:
Level 82
Gemini Script Editor
Authors: ForeverZer0
Version: 1.1.6
Type: RGSS/RGSS2 Script Editor

Introduction

Gemini, named after the Zodiac Twins (RMXP/RMVX), is a feature-rich script editor designed purposefully for the RPG Maker community.  It can directly read and write archived Scripts.rxdata and Scripts.rvdata files, which allows you to use the power of an external IDE without the trouble of importing/exporting scripts to and from the built-in editor.   

Features

  • Uses the popular SciLexer library for syntax highlighting
  • Custom color and font styles for parsing Ruby syntax
  • Auto-Complete function to help improve productivity, letting you choose default words, or create your own list
  • Auto-Indentation which follows standard Ruby conventions
  • "Script-Structuring" to apply proper format to your script with the click of a button
  • Batch comment/uncomment selected lines
  • Line highlighter with custom style as an added visual guide
  • Indentation guides for easily seeing the start/end of blocks
  • Brace-matching for tracking down the elusive missing parenthesis...
  • Powerful Find/Replace function, as well as incremental search
  • Tabbed-style editor for quickly switching between open scripts
  • Automatic updater built-in so you can make sure you have the latest version
  • Debug games directly from the editor, with choice to run normally or in DEBUG/TEST mode
  • Character map for using special Unicode character sets
  • Simple and intuitive interface
  • Portable, no-install application
  • Much more!

Screenshots

Spoiler for:
Spoiler for:
Spoiler for:
Spoiler for:

Download

Gemini.zip (3.93 MB)
Direct
Mirror 1
Mirror 2

Gemini.exe (Self-Extracting archive)(3.76 MB)
Direct
Mirror 1
Mirror 2

Compatibility

Requires Microsoft .NET Framework 2.0 or higher.

Credits and Thanks

  • ForeverZer0, for the application
  • Chaos-Project, for support and feedback
  • Javier "TDS" Cabrera, for testing

Author's Notes

There are still a few minor bugs to work out, but version 1.0 is stable and working.
The largest know bug is some instances of keyword highlighting.  For some keywords, the word will not highlight if it is mid-line after a statement, i.e.  do_something if something_else
In this example, the "if" will not colorize unless it is in parenthesis.  This is an issue with the native library that I am looking into.

Another known issue is some special characters loaded from scripts will not display correctly.  This is a text encoding bug and will hopefully be fixed soon.
« Last Edit: September 11, 2011, 06:52:10 PM by ForeverZero »

pokeball TDSOffline
***
Rep:
Level 84
-T D S-
Silver - GIAW 11 (Hard)Silver - Game In A Week VII
Looks very nice.

These are a few bugs I found.

Browse button does not work when making a new project.

Missing the #~ comment shortcut (CTRL + Q)

A right click selection box with options on the scripts tabs would be nice.

Could not test scripts due to bug "RGSS-RTP Standard not found." and I do have the RTP.


I hope you keep working on this, and I love the program overall especially the auto complete feature.

I will continue testing it as it is updated.

*
Rep:
Level 85
I am the wood of my broom
2010 Project of the YearProject of the Month winner for January 2010Project of the Month winner for January 2009Project of the Month winner for April 2010
*speechless* Holy macaroni in a stick. I'm going to download this now!


**
Rep:
Level 82
Updated to 1.02
  • Fixed the bug with the scripts not loading.  Ending up just being a typo that was made in the created Game.ini
  • Fixed the issue with the "Browse" dialog not appearing when clicked
  • Added Ctrl + Q functionality

You can simply use the update function from the menu under the "About" tab to apply it.

Glad you all like so far.  Keep an eye for more bugs and let me know so I can get them fixed.  The context menu for the tabs will likely be seen in a update in the near future.

pokeball TDSOffline
***
Rep:
Level 84
-T D S-
Silver - GIAW 11 (Hard)Silver - Game In A Week VII
Alright, updated and now the game appears when testing scripts but the "RGSS-RTP standard not found." still appears in a window with "Converter" as it's title.

I think that it could be because I only have the VX RTP and not the XP RTP.

The CTRL + Q Shortcut adds the comment but only on the selected line and not all selected lines. It also seems to add a space.

This might sound a little nit picky but when making a new project and giving it a name it would be nice if the name of the folder would change as well.

Also adding a "Add word to auto-complete list" to the context menu when highlighting a word from the scripts themselves would be nice too (I don't fully understand how word groups work, so I don't know if this would clash with it).

I will continue testing it and report anything else I find.

**
Rep:
Level 82
Ah, I understand the issue with the converter now.  I misunderstand what you said in your last post, but it ended up leading me to another bug.  I really like the idea for the auto-complete being added from the context menu.

Give me a few minutes and I'll supply another update.  Thank you again for the suggestions, I'll keep fixing any bugs/suggestions you have that I can.  :D

pokeball TDSOffline
***
Rep:
Level 84
-T D S-
Silver - GIAW 11 (Hard)Silver - Game In A Week VII
Sorry about that, I'm usually very bad at explaining things.

After poking around the functions and testing out a script, I noticed that for some reason no changes are happening at all when you run a game.

I added a simple p "Hello world" to a script then saved it and the game just ran normally as if nothing had been added.

I tried it with a personal VX project and edited the scripts too and it was still the same, the game would run but none of the edits made to the scripts did anything.

I also have another suggestion, but I don't know if it would really help or not. Feel free to ignore it since it's something I feel is more lacking in RPG Maker itself.

It's the ability to make your own list databases which you could fill with custom information. I was thinking if it would be possible to do something similar to the notes in skills and items the database.

You would make a new list and then fill in the text you want for regexp matching and afterwards you could port it into a ruby module using each index in the list as the ID or whatever is more suitable to extract the information later.

Again, sorry if my explanations are not very good.

**
Rep:
Level 82
The not saving is due to the fact the converter not working, which is what actually saves the data.  Its a simple fix, which I will apply tomorrow.  This problem should only be for RMVX projects at the moment.

*
my name is Timothy what's yours
Rep:
Level 79
Hello
2014 Most Missed Member2014 Zero to Hero2014 Best IRC Quote2012 Zero To HeroSecret Santa 2012 ParticipantContestant - GIAW 9For frequently finding and reporting spam and spam bots2011 Zero to Hero
It's because you discriminate against VX scripters, isn't it?!
it's like a metaphor or something i don't know

**
Rep:
Level 82
Updated to version 1.0.8
  • Fixed Ctrl+Q to allow for multi-line commenting
  • Fixed issue with Converter requiring the RPG Maker XP run-time package to be installed
  • Added an "Add to Auto-Complete" function to context menu
  • Fixed existing batch comment/uncomment function from adding newlines and improved coding by eliminating unnecessary iterations
  • Added "Version History" menu item under the "About" tab for viewing changes between updates
  • Added functionality to have New Project directories sync with the game title unless explicitly changed

This should fix the issue with data not being saved in RMVX.  You will have to open the application, choose "Delete Configuration" under the File tab, then restart Gemini for the changes to be applied to the converter. 


EDIT:

Updates to v.1.1.5
  • Added option to toggle code-folding ON/OFF under Settings menu item
  • Added Empty Line Remove function under Edit menu item
  • Added a "Sort" button in the Auto-Complete configuration for sorting all items alphabetically
  • Added an internal function to automatically remove any duplicate words in the auto-complete list
  • Embedded the RMXP and RMVX libraries into the application, and the option to copy them to the game's directory when creating new projects, which will allow projects to be run without having the RPG Maker installed on the system
  • Added the ability to have newly created projects be automatically loaded into the editor
  • Fixed bug that would prevent projects from being ran if they were opened a certain way
« Last Edit: September 11, 2011, 04:58:41 AM by ForeverZero »

**
Rep:
Level 70
Eclipse
Dude, this is ridiculously awesome!  It even solves the problem of RMXP having to be quit and reloaded when you modify scripts.rxdata!  I was running into this when using scripts I wrote that would extract scripts.rxdata so you could use an outside editor, and then recompile it after.  Very messy.

You can edit other stuff in RMXP while using Gemini as a script editor, and running the project through gemini runs your game with all the new modifications.  However, if you open up the script editor in RMXP, the changes from Gemini WILL NOT show up until you reload your project.  But who would want to use the crappy RMXP script editor when you have this??

You are a god!  Is this going to be integrated into ARC?

**
Rep:
Level 82
Likely something similar, and I will also likely be heading the creation of the script editor for ARC, but Gemini actually is not related to ARC at all.  I wrote it in C#, using the .NET Framework, which ARC does not support.  Using .NET would make ARC Windows dependent, which is not our goal.  While there is Mono and such, we are designing it to not depend on external frameworks.  This was more or less just a little side-project of mine.

*
Rep:
Level 85
I am the wood of my broom
2010 Project of the YearProject of the Month winner for January 2010Project of the Month winner for January 2009Project of the Month winner for April 2010
Man, this is a great thing since it's amazing to script with, but totally obliterated all my Japanese scripts. I'm glad that I made a backup and I really hope the encoding bug is fixed soon! (If you're curious: www.youtube.com/watch?v=Db7V-tUN_m0&feature=channel_video_title)


*
Rep: +0/-0Level 25
RMRK Junior
You can simply use the update function from the menu under the "About" tab to apply it.