YesNoOk
avatar

ScriptGremlin Beta 3b (Read 3033 times)

Started by Kyran, March 19, 2011, 03:14:17 am
Share this topic:
ScriptGremlin Beta 3b
#1  March 19, 2011, 03:14:17 am
  • avatar
  • *
If you're new to the program:
ScriptGremlin is a word processor to assist MUGEN developers with character creation. Gremlin's productivity features are oriented towards the generation of script and modular code, as well as providing syntax highlighting to make code easier to read and debug. Gremlin can do a lot of work for you via templates, variables, and functions.



Features
   *  Edits all CMD and state files within a character's .DEF
   *  Common word processing:  find, replace, undo, redo, and drag-drop
   *  Syntax highlighting and error browsing (incomplete)
   *  Auto-Complete with help documentation for reference
   *  Automatically inserts required fields when you create a block's Type
   *  Customizable, programmable templates
   *  User-programmable design-time functions

Compatibility

Fighter Factory
Gremlin works alongside Fighter Factory. You must save in Gremlin to overwrite files whenever you save in FF, but you probably had to do that with Notepad/Textpad too! This way, your taskbar has a lot less on it.

Mugen 1.0
Script files are version-neutral, meaning Gremlin can read anything it knows how to. If ElecByte creates a new SCtrl, special attribute flag, trigger, or absolutely anything, you can add the new entry to Gremlin's INI files, making you completely independent of updates from me. You will need to add V1.0 language to Gremlin's INI files if you want Auto-complete to make sense of them.

WinMugen
Again, script files are neutral. Gremlin comes configured to support the pre-1.0 language.

What's new in Beta 3b
*  Autocomplete works for triggers Const(), GetHitVar(), and Command; learns the Cmd
*  Autocomplete works for Command and Const file block fields, such as Size and Velocity
*  Tokenizer's grammar can be previewed with F5
*  Command annotations:  press F2 to see all command sequences for a string
*  Calltips:  press F1 to see field parameter information
*  Press escape to disable any of the above

Syntax highlighting is disabled for expressions in this version, as I'm still working on my syntax tree.

NOTE:  Characters that use the same file for Cmd and Const (check your .DEF) probably will not load with this version.

Download ScriptGremlin Beta 3b
http://www.mediafire.com/?927l143q877rj3q

Update
Beta 3b is out as of 5/25/2011.

I need your opinions and feedback on what features would save you guys time and effort.

Enjoy!
Last Edit: May 25, 2011, 10:01:43 pm by Kyran
Re: ScriptGremlin script editor
#2  March 19, 2011, 03:52:19 am
  • ****
  • HAHAHAHAHAHAHAHA
    • Chile
I would test it, but... eSnips? I have some problems downloading from it.

Cap

Re: ScriptGremlin script editor
#3  March 19, 2011, 04:05:01 am
  • ****
  • Get your hands off of me, you damn dirty ape!
    • USA
I would test it, but... eSnips? I have some problems downloading from it.
As in, actual problems, or just the fact it's a virus-infested shithole?

Ontopic; Please change the host, that way more people will download, and thus provide feedback, on this.
Re: ScriptGremlin script editor
#4  March 19, 2011, 04:16:09 am
  • avatar
  • *
Update:  changed the download link to MediaFire. I'm all ears if you want to suggest a file-hosting service.
Re: ScriptGremlin script editor
#5  March 19, 2011, 11:06:58 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Welcome back. :)

Also, VirtualTek is working on a new version of Fighter Factory, which is in beta test phase. You may want to contact him to put ideas in common and even work together.
Re: ScriptGremlin Beta 2c
#6  March 20, 2011, 03:07:24 am
  • avatar
  • *
Thanks Cybaster. It's good to be back. I just uploaded the new Beta. Code-generation (hitdefs) for Clsn1 frames is a go. Check first post for details. :D

I read the new FF thread. Hoping I can still make some useful features for Gremlin, though.
Re: ScriptGremlin Beta 2c
#7  March 20, 2011, 04:10:49 am
  • *****
  • Beemo Is Camera !! :O
    • USA
    • StormEX-Team.com/
Welcome back! Its been awhile sense I've seen you around.
Re: ScriptGremlin Beta 2d
#8  March 26, 2011, 03:34:51 am
  • avatar
  • *
Several GUI fixes in this update. This should be the last update before I work on the syntax reader, unless someone finds a crash/bug. Let me know. :)

Feel free to private message me with requests, help, or comments too.
Re: ScriptGremlin Beta 3a
#9  April 17, 2011, 05:35:57 am
  • avatar
  • *
Bumped for new release, which includes a crash fix. See original post for details.
Re: ScriptGremlin Beta 3a
#10  May 16, 2011, 03:36:13 am
  • avatar
  • *
Just to report on progress...

Gremlin can now perfectly syntax highlight correct or incorrect Consts and Cmds block fields, as well as template stuff. It has INI files for the new blocks, their fields, and their parameters. Next, I'm going to rewire the Autocomplete and help to support the new stuff, using an optimized block parser which properly detects the current block's type. Making the routine generic enough to handle every situation took some time, but this side of things is pretty much done. :D

Because Mugen expression syntax -- everything to the right of an '=' sign in any field -- requires a custom lexer to properly evaluate and highlight, I'll spend time this week studying this topic.

In other news, Gremlin now reports to Debug.txt whenever the Docs do not contain a particular field for an SCtrl, when a character is loaded. This tells us what SCtrls need updating. Also, Gremlin now has a Refactor menu which copies the selected SCtrl into Templates.INI -- with or without triggers, with or without values. This makes it easier to create templates.

That's all for now.
Re: ScriptGremlin Beta 3a
#11  May 17, 2011, 11:22:24 am
  • avatar
  • *
Another update with screenies for everyone. I'm having a good time here, and I've managed to quickly get a number of new things working.

First, there's the Calltip. You press F1 and you get information for the parameter you're in. Plus, the parameter is boxed so that no one is confused about it. Escape key turns it off. It's lightning fast too, and it works in all files on ALL field types:  SCtrls, Constants, Commands, etc.


The F1 help also shows the definition of Gremlin variables/functions whenever one is selected in the Template file.


The F2 help works a little differently. It displays all the command sequences for the selected command.


No new release yet, but these new features are stable. Just wanted to share :D
Re: ScriptGremlin Beta 3b
#12  May 25, 2011, 10:02:41 pm
  • avatar
  • *
Bumped for new beta release.

Autocomplete should be working swell now.