DarkBlizz

Game On => Land of AI => STARCRAFT II: WINGS OF LIBERTY => AI Development => Topic started by: kazibi on March 29, 2010, 09:27:18 AM

Title: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: kazibi on March 29, 2010, 09:27:18 AM
Update: Plans for v.2
MilkyWAI Editor v.1 BETA
 
  First public beta. Bug reports are welcome.
 
  Release Notes:
 
  * Some minor features disabled such as deleting whole files from a   project subfolder, and changing project export path.
  * Galaxy completition disabled (working hard on it!)
  * Some preferences are enabled but not implemented (hide editor line   numbers, mark current line, etc)
  * This release should not be used in a production enviroment, its meant   for TESTING.
  * Code folding not working properly
  * Random crashes (again, working on it  :whistle: )
  * EasyExport will crash often, but try again.

Features:

*   Galaxy syntax highlighting/ code completition /  code folding
*   Galaxy validator (thx to LAPIN)
* Creation of AI's in a project-like   way
* One-clik export to MPQ, directly to SC directory ;)
* XML syntax highlighting
* User friendly   (you want more ppl coding AI's, dont you?)

  It's still untested, It may NOT WORK in yor system.

This is the way you will work with my editor:

1. Open MWAIE   from your desktop.
2. Follow a simple wizard in order to create a new   project
3. Start Coding
4. Try Export
5. Fix validation errors
6.   Export
7. Launch SCII




Beta V2 Milestone:

-- Main improvements/additions

* Whole project validation
* Galaxy code completion
* XML code highlighting
* Files realtime backup (protect against crashes)
* Most options from preferences implemented
* Fullscreen mode
* App name change (I'll make a poll)
* Better icons
* Help viewer and "what is this?" help
* Options to associate project&galaxy files to MWAIE
* Basic drag&drop support

-- Improvements by category

* Improved editor:
    > correct folding
    > fastest&better coloring
    > options to change editor styles (colors, font)
    > different char enconding support
    > info about total lines/words/enconding
    > better open/save/save as (currently they dont show files names while saving/opening, etc)
    > editor integrated with find/replace (no popup dialog)
    > native functions highlighting   
    > lots of new text-editor-like options
   
* Tabbar
    > Context menu for rapidly file close/save/new/etc
    > Custom styling for tabs (for rapidly change current file when having a lot of files)

* Improved validator:
    > remove repetitive messages
    > add better icons
    > options to change the colors/fonts/size of errors
    > include extra files/folders for validation
    > better understanding about what is begin parsed, i.e  single file/project file/ project
       
* Importing&Exporting
    > configure hash table size/compression algorithm /etc.
    > option to export to a triggerLibs folder in SC2 root folder
    > import files from mpqs
   
* Projects
    > option to hide folders/files from view
    > lots of new options: file management/project settings/ project merge
    > debug/release mode
        (maybe not implemented in next beta, plans for this is to parse all projects galaxy files and remove debug calls, among other options)

* Help
    > help viewer
    > some tutorials for newbies

-- Bug fixes

* Fix exporting crashes once for all
* Fix known memory leak bugs
* Fix extra white spaces added to files when saving
* If you find a bug, please post.




 
  Screenshots:
  (http://img101.imageshack.us/img101/7687/mwaie3.png)
  (http://img64.imageshack.us/img64/8264/mwaie2.png)(http://img709.imageshack.us/img709/1047/mwaie1.png)

 
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: LAPIN on March 29, 2010, 10:39:32 AM
Looks great!


Just need to wait 3 more days. ;-)


P.S. There should be a new "major" version of lapin.exe in the upcoming days too. It will change the command line options a bit (nothing too big though)
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Kernel64 on March 29, 2010, 11:30:30 AM
if ( AwesomenessEval(MWAIE) > PureAwesome) {
     Kernel64("NoseBleed", AwesomenessEval(MWAIE) ) == true;
}
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: kazibi on March 29, 2010, 09:34:41 PM
Thank you both.

Right now nearly all modules are finished, but I'm polishing them, fixing every bug I encounter on the way.
Suggestion of features are welcome.

@LAPIN
do you have a ETA? I would like to release MWAIE with the most recent version of your validaor.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: LAPIN on March 29, 2010, 10:02:05 PM
It just got out a few minutes ago. :-)
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Sixen on March 30, 2010, 12:46:37 AM
The name of your editor sounds oddly familiar... Sorta like the Editor SC2Mapster released weeks ago. I wonder what inspired you (http://www.sc2mapster.com/assets/milkywayedit/).
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: hd on March 30, 2010, 11:48:09 AM
Quote from: Sixen on March 30, 2010, 12:46:37 AM
The name of your editor sounds oddly familiar... Sorta like the Editor SC2Mapster released weeks ago. I wonder what inspired you (http://www.sc2mapster.com/assets/milkywayedit/).

Or when people hear Galaxy they think "Milky Way"... since we live in the Milky Way galaxy.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: sanktanglia on March 30, 2010, 04:19:46 PM
while i love your tool, and think its a great idea, id really appreciate it if you changed the name. we have been calling our map editor Milky Way Editor for near a few months now, and id hate for confusion to happen
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Bifuu on March 30, 2010, 04:24:37 PM
Quote from: hd on March 30, 2010, 11:48:09 AM
Quote from: Sixen on March 30, 2010, 12:46:37 AM
The name of your editor sounds oddly familiar... Sorta like the Editor SC2Mapster released weeks ago. I wonder what inspired you (http://www.sc2mapster.com/assets/milkywayedit/).

Or when people hear Galaxy they think "Milky Way"... since we live in the Milky Way galaxy.


You know what you are right, people thing of MilkyWay when people think of Galaxy, and well the Author knew that and her knew there was a MilkyWayEditor too from Mapster... Want proof?


(http://i42.tinypic.com/10r1wxy.png)


Kinda Funny his original name was MilkyWayEditor, and knew about Mapster's So he had to change it, not very cleverly tho


http://en.wikipedia.org/wiki/List_of_galaxies (http://en.wikipedia.org/wiki/List_of_galaxies) Here you go OP, Andromeda is still available i think
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: LAPIN on March 30, 2010, 04:33:00 PM
Good work.


You better run, sc2mapster are sending their army of angry kids to register on darkblizz and QQ.


I'm sure you can come up with a better name. :-)


Lapin
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: kazibi on March 30, 2010, 05:44:23 PM
Quote from: sanktanglia on March 30, 2010, 04:19:46 PM
while i love your tool, and think its a great idea, id really appreciate it if you changed the name. we have been calling our map editor Milky Way Editor for near a few months now, and id hate for confusion to happen

I didn't know about your editor until a few days ago, just as you, I chose the name of my application some time ago (and yes, by the fact we live in the milky wAI). I'll change the name, but until I get a decent one, it remains MWAIE.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: hd on March 31, 2010, 12:39:00 AM
Or was originally going to name it Milkway and realized he could make a pun out of it replacing the 'y' in 'way' with an 'i' thus making a pun on it being an AI editor.

Get over it already.

Quote from: Bifuu on March 30, 2010, 04:24:37 PM
Quote from: hd on March 30, 2010, 11:48:09 AM
Quote from: Sixen on March 30, 2010, 12:46:37 AM
The name of your editor sounds oddly familiar... Sorta like the Editor SC2Mapster released weeks ago. I wonder what inspired you (http://www.sc2mapster.com/assets/milkywayedit/).

Or when people hear Galaxy they think "Milky Way"... since we live in the Milky Way galaxy.


You know what you are right, people thing of MilkyWay when people think of Galaxy, and well the Author knew that and her knew there was a MilkyWayEditor too from Mapster... Want proof?


(http://i42.tinypic.com/10r1wxy.png)


Kinda Funny his original name was MilkyWayEditor, and knew about Mapster's So he had to change it, not very cleverly tho


http://en.wikipedia.org/wiki/List_of_galaxies (http://en.wikipedia.org/wiki/List_of_galaxies) Here you go OP, Andromeda is still available i think
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: sanktanglia on March 31, 2010, 08:25:42 PM
thanks for that, its def not a huge deal, and i appreciate it. really cool too, seeing it made me realize i need to start working on the galaxy side of our editor :)
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Kernel64 on April 03, 2010, 11:49:53 AM
Any updates? release? I've been checking this thread like every hour.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: kazibi on April 05, 2010, 11:12:49 AM
I'll upload v0.1 in a couple of hours, keep refreshing!

PD: Name hasn't changed (yet). Suggestions are welcome.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Chriamon on April 05, 2010, 08:22:47 PM
I don't think my refreshing this page so much is good for the darkblizz servers...  ;D
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: kazibi on April 05, 2010, 10:12:13 PM
Packing It...

There will be some features disabled though...

Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!!)
Post by: kazibi on April 06, 2010, 01:12:13 AM
And.. there is it. Hope you like it  :) .
V.2 In a week or so...
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!!)
Post by: Kernel64 on April 06, 2010, 03:49:05 AM
Dude, I'm starting to think you're one wicked tease. :D

Seriously, come on man! ;)
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: Chriamon on April 07, 2010, 10:56:57 AM
Very nice man, I DLed it, and I like it a lot.

A question:

Is there a way to make a project out of an already built AI? The AI I've been working on is a modified version of just the zerg from the Ghost AI, and I was already a good deal into it when this came out.

Again, thanks for this, its pretty sweet.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: kazibi on April 07, 2010, 03:51:43 PM
@up
Yes, you start a new project and when it ask you for base AI, chek "Custom base AI" and select your AI (it needs to be already packed with MPQEditor for example).

If you see any bugs or have a nice suggestion, please, let me know.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: Chriamon on April 07, 2010, 04:58:00 PM
Quote from: kazibi on April 07, 2010, 03:51:43 PM
@up
Yes, you start a new project and when it ask you for base AI, chek "Custom base AI" and select your AI (it needs to be already packed with MPQEditor for example).

If you see any bugs or have a nice suggestion, please, let me know.

Well, I noticed that on a few of my scripts that I edited with your program, when I open them in another editor (notepad++ for instance), there is a large amount of whitespace, kinda weird. It seems to do it mainly when I tab something over in milkyway, that it sometimes creates a linebreak in otehr editors.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: darkshark on April 07, 2010, 06:15:00 PM
AndromedAi
or
AIndromeda


there..
I think the first one looks Better
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: kazibi on April 09, 2010, 08:13:58 AM
@Chriamon
Thank you for the report, I see the error now, should be fixed in next release.

@post
I've edited the main post with the plans for beta v2. If you have any suggestions or feature request, let me know.

About the name of the app, it will be confined to a poll.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: Kernel64 on April 10, 2010, 04:32:16 AM
This is awesome! Nice work man.

I'll wait for the release version.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: AlsoKnownAs on April 10, 2010, 06:43:28 AM
Thanks kazibi, keep it up! XD
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: kazibi on April 10, 2010, 08:56:10 AM
Thank you for your support.

V.1.1 released. Some minor issues fixes, not worth mentioning.
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Applewilliam on April 10, 2010, 09:55:21 AM
Quote from: Kernel64 on March 29, 2010, 11:30:30 AM
if ( AwesomenessEval(MWAIE) > PureAwesome) {
     Kernel64("NoseBleed", AwesomenessEval(MWAIE) ) == true;
}

^^ funny shit. but shouldn't it only be 1 equal sign, since your setting it to true?
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)
Post by: Kernel64 on April 10, 2010, 02:33:38 PM
Quote from: Applewilliam on April 10, 2010, 09:55:21 AM
Quote from: Kernel64 on March 29, 2010, 11:30:30 AM
if ( AwesomenessEval(MWAIE) > PureAwesome) {
     Kernel64("NoseBleed", AwesomenessEval(MWAIE) ) == true;
}

^^ funny shit. but shouldn't it only be 1 equal sign, since your setting it to true?

Yeah, MilkyWAI gave an error and said something like:

ERROR in Line 204: You're kidding me right?
Title: Re: [AI Editing Tool] MilkyWAI Editor (BETA)( v.1 RELEASED!! Yes, released)
Post by: Chriamon on April 13, 2010, 04:55:11 PM
I'm still getting the same error, extra whitespace when the galaxy files are opened in other editors. It wouldn't be such a big deal, but sometimes this whitespace can cause the galaxy file to not work.

EDIT: Nevermind, It seems I was still using the old version >.>