[C#] Gemini - RGSS/RGSS2 Script Editor

Started by ForeverZer0, September 08, 2011, 01:21:23 am

Previous topic - Next topic

ForeverZer0

September 08, 2011, 01:21:23 am Last Edit: January 16, 2012, 08:16:28 pm by ForeverZer0
Gemini Script Editor

Authors: ForeverZer0 & Zeus81
Version: 2.0.0
Type: RGSS/RGSS2 Script Editor



Introduction


Gemini, named after the Zodiac Twins (RMXP/RMVX)(and now VX Ace!), is a feature-rich script editor designed purposefully for the RPG Maker community.  It can directly read and write archived Scripts.r*data 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: ShowHide

Spoiler: ShowHide

Spoiler: ShowHide

Spoiler: ShowHide



Download

Gemini.zip (12.84)
Direct

Gemini.exe (Self-Extracting archive)(12.54 MB)
Direct

Do to a lack of time to fix bugs, and for the benefit of others, I am open-sourcing Gemini, and I welcome anyone with knowledge of .NET to fix/add anything they wish, under the following conditions, which I respectfully ask be followed:


  • Gemini is to remain non-commercial

  • Original credit is to be given, although feel free to add yourself for any changes that are made

  • Please notify me if you decide to host it anywhere other than where I already have



Gemini 1.1.6 - Source (17.8 MB)(Self-Extracting Archive)
Gemini 1.1.6 - Source (19.2 MB)(ZIP)
Gemini 2.0.0 - Source (22.0 MB)(Self-Extracting Archive)
Gemini 2.0.0 - Source (41.2 MB)(ZIP)

Older Versions
Gemini 1.1.6
Gemini 1.1.6 (Source)


Compatibility

Requires Microsoft .NET Framework 4.0 (Web Installer) or higher.


Credits and Thanks


  • ForeverZer0 and Zeus81, for the application

  • Chaos-Project, for support and feedback

  • Javier "TDS" Cabrera, for testing




Author's Notes

As of version 2.0, there are as of yet no know bugs or issues. Please report any that you may find, thanks! ;)
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Blizzard

Very sexy. Now get back to bed.

If you have some useful concepts and features that can be applied to the ARC editor as well, don't by shy to implement them there, too.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

If you'd like you could host Gemini and its updates on Decisive Media. We're still keeping that offer with the whole FTP and MySql stuff.

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ForeverZer0

I'd be happy if you guys could host it.  :)

Updated to 1.02

  • Fixed the bug with the scripts not loading for created RMVX projects.  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 for inserting comments onto a line


You can simply use the update function from the menu under the "About" tab to apply it.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

G_G

I'll PM you your FTP info. Thanks for the awesome tool. I've created you an FTP account and a subdomain. Also if you want I'll make you a MySql account as well.

ForeverZer0

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. 
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

G_G


ForeverZer0

September 09, 2011, 08:19:12 pm #8 Last Edit: September 11, 2011, 12:52:03 am by ForeverZer0
I only made it because I knew I would need it for fixing all my bugs... xD

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
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Blizzard

You didn't add any mirror links in the first post, even though you uploaded the stuff. xD
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ForeverZer0

I'm a little embarrassed, but I'm not sure how to create a download link with it, I am not very familiar with FTP.  :P
I got link for the file at the host, but if I paste it in my browser's address bar, or even use the "ftp" tags in a post, it takes me to a screen where I have to login first. I'm pretty sure that this is not how its supposed to be, and I know I am missing some stupid thing somewhere.  Sorry for being an idiot.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

G_G

http://zer0.decisive-media.net/Gemini/

Theres the directory. I dunno what file to link to. :S Just remember that zer0.decisive-media.net is your home directory. So if you create a folder test, it would be http://zer0.decisive-media.net/test/

ForeverZer0

Alrighty, I got DM's working good. I see how the link needs to be now, but I am getting a error when trying CP's.

I tried this link:  http://foreverzer0.chaos-project.com/Gemini/Archives/Gemini.exe
It gives me an error saying I cannot access the site directly with an IP.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

ForeverZer0

* Double-Posts *

Gemini is now open-source. If you are interested, please see the original post for the links.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

G_G

So if I say I host it in a different folder on DM, should I aware you of it? :V I am kind of curious how you did this so I shall peak into your code a bit. I might even prod it some, maybe even go all out with it. Who knows. ;3

Fantasist

This is just wow! *levels up, downloads source and release*
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)


The best of freeware reviews: Gizmo's Freeware Reviews




Metalero

well... I don't know if are still giving support to Gemin

I found a bug, and I tried to fix it, but I have no knowledge about scintilla neither ruby parsing... the thing is, sometimes the program isn't able to save some characters
In my case this two:


_
°


I didn't use that chars, but that chars are in the default RPG Maker XP scripts.

Gemini writes a char like


Ä


decens of thousands of times where the "problematic" chars where, and then, it can't show or save that huge number of chars and crash


The characters were in:

Game_Character2 and 3


# * Turn 90° Right or Left
when 21  # Turn 90° left


and in Window_NameEdit


if c == nil
   c = "_"
end





ForeverZer0

Yes, I am aware of the encoding bugs, which I mentioned in the main post. I haven't really had time to fix it, and I am working on ARC now, so I open-sourced it for others to fix if they so chose. I know of one or two people who are continuing support on it, so if they ever get around to providing an update, I will update the link with the fixed version.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

ForeverZer0

    * Bumps for the HUGE update *

    Just before releasing Gemini's source, I was contacted by Zeus81, who was interested in the code and wanted to help with fixing bugs and making future updates. I released the code to him, and all I can say now is that he delivered on his word in the best fashion. He made vast improvements to Gemini in nearly every respect, most notably in regards to the a huge speed increase in saving/loading/running, fixing ALL the known errors, and many GUI improvements. 

    If you currently have Gemini, update now, if you tried and didn't like it, I ask that you give it another try, and if you never have before, than what the hell are you waiting for?  ;)

    Changelog: ShowHide


    • Splash Screen

    • New logo

    • Moved to IronRuby 1.1.3 and .Net 4

    • Moved to Scintilla 2.2.2, the RMVXAce one, which have received some fix

    • Fixed "New Project" title bug

    • Added RPG Maker VX Ace projects support

    • Improved loading and saving speed drastically

    • Added ability to open r*data scripts files directly

    • Changed "Recently Open Projects" order, now most recents are on top of the list

    • Added "Auto-Open Most Recent on Start" option

    • Added interoperability with RPG Maker, we can now use both at the same time, the scripts from Gemini are kept

    • Added "Close Project" button

    • Improved Import functions to support multiple files at once

    • Added Export as r*data script file, it can be use as backup

    • Changed Settings format and save location, since Gemini is a portable application I though it would be better to have it in the same folder

    • Added save confirmation dialog before running game or closing Gemini

    • Added new style for line number margin in the style configuration

    • Changed Auto Complete list to display words that 'contains' tapped text (instead of 'start with') + alphabetically sorted

    • Removed Auto Complete validation chars "([.{:" that could validate unwanted words due to non case sensitiveness

    • Changed "Auto Complete Configuration" behavior, now we activate word groups by selecting them and it's smart (aka we have RMXP constants if an RMXP project is open, etc...)

    • Added RPG Maker help files to open with F1

    • Added F12 shortcut for running game

    • Added button to open current project folder

    • Merged update process into Gemini

    • Added "Auto Check Updates" option

    • Added possibility to copy/paste scripts between different Gemini's instances and/or RPG Maker

    • Added drag drop to reorder scripts list

    • Added drag drop to reorder open scripts tabs

    • Added display of the altered state of scripts in tabs and script list with a *

    • Added close button on tabs and middle click to close them too

    • Added new tabbed interface for searches with Ctrl+Maj+F

    • Fixed find/replace window bugs

    • Added Ctrl+0 to reset the text zoom

    • Fixed coloring bugs

    • Fixed encoding bug

    • Improved "Auto-Indent" and "Stucture Script" algorythms

    [/list]
    I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

    G_G


    ForeverZer0

    I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

    G_G

    Was he able to figure out the issue with zlib?

    ForeverZer0

    Yes, I haven't reviewed everything in detail yet, but at glance, it appears he used an actual Zlib .NET library, instead of using IronRuby's version of it. Don't know why I didn't think of that...

    Or it was fixed in the newest IronRuby build. I made a bug report at CodePlex about it when I discovered it.
    I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

    Blizzard

    Check out Daygames and our games:

    King of Booze 2      King of Booze: Never Ever
    Drinking Game for Android      Never have I ever for Android
    Drinking Game for iOS      Never have I ever for iOS


    Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

    Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

    LiTTleDRAgo

    It seems that I can't download all gemini links in page 1

    Error (509)
    This account's public links are generating too much traffic and have been temporarily disabled!


    could anyone mirror it in mediafire?

    ForeverZer0

    April 19, 2012, 01:39:37 am #25 Last Edit: April 19, 2012, 01:41:27 am by ForeverZer0
    Yeah, sorry about the Dropbox link, it will be back up in a few days, after my "suspension" is over, and hopefully there to stay.

    Here's a copy from Mediafire until then.  http://www.mediafire.com/?xt122r85sjia2i6
    I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

    ThalliumShine

    Not intended to necropost but, is there an update of this tool for RPG Maker VX Ace?

    PhoenixFire

    Well, I mean, it is from.. uhh... what, approx three and a half years ago?

    I think it would be cool if someone took that task upon themselves, but I'm not sure anyone here even remembered this existed until you posted in it hahaha
    Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

    Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?

    KK20

    Last I could recall, another user picked up developing this further on another site. iirc F0 stopped working on this a good while back.

    So, unless that other user has made progress, I doubt this will ever see an update.





       


       
       


       
       

    Other Projects
    RPG Maker XP AceUpgrade RMXP to RMVXA performance!
    XPA TilemapTilemap rewrite with many features, including custom resolution!



    Nintendo Switch Friend Code: 8310-1917-5318
    Discord: KK20 Tyler#8901

    Join the CP Discord Server!

    PhoenixFire

    I know this is a long-dead topic, however, I simply have to point this out. Are you aware that Gemini is the 1st recommended file/text editor listed in the read me file for the new Luna engine that Deciga/Enterbrain released?
    Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

    Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?

    ThalliumShine

    Well they haven't included if there's an RGSS3 version of Gemini yet.

    Blizzard

    Check out Daygames and our games:

    King of Booze 2      King of Booze: Never Ever
    Drinking Game for Android      Never have I ever for Android
    Drinking Game for iOS      Never have I ever for iOS


    Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

    Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

    KK20

    If it doesn't work with RGSS3, why is it that when I google for it, a lot of sites say it supports it?





       


       
       


       
       

    Other Projects
    RPG Maker XP AceUpgrade RMXP to RMVXA performance!
    XPA TilemapTilemap rewrite with many features, including custom resolution!



    Nintendo Switch Friend Code: 8310-1917-5318
    Discord: KK20 Tyler#8901

    Join the CP Discord Server!

    G_G

    Maybe the guy who was working on it before added support? I mean, the guy after Zer0.

    KK20

    I'm just wondering why ThalliumShine is claiming it doesn't.





       


       
       


       
       

    Other Projects
    RPG Maker XP AceUpgrade RMXP to RMVXA performance!
    XPA TilemapTilemap rewrite with many features, including custom resolution!



    Nintendo Switch Friend Code: 8310-1917-5318
    Discord: KK20 Tyler#8901

    Join the CP Discord Server!

    ForeverZer0

    If I remember correctly, Ace was just coming out when we were finishing the final built, and I thought some support was added for it. I will have to take a look.

    I was thinking of creating a new updated build, possibly from scratch. There are a few things I am not happy with, that I would like to see different.
    I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

    PhoenixFire

    Quote from: Blizzard on February 08, 2015, 03:10:15 am
    Are you sure that it's THIS Gemini?


    Yes, I'm certain. The file has a link to this exact topic hahah
    Quote from: Subsonic_Noise on July 01, 2011, 02:42:19 amNext off, how to create a first person shooter using microsoft excel.

    Quote from: Zeriab on September 09, 2011, 02:58:58 pm<Remember when computers had turbo buttons?

    Blizzard

    Check out Daygames and our games:

    King of Booze 2      King of Booze: Never Ever
    Drinking Game for Android      Never have I ever for Android
    Drinking Game for iOS      Never have I ever for iOS


    Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

    Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.