I don`t know if there are some body still use GE now. And one and a half years past from last reply by me.
Because of the change of the offical Mod of SC2 in 3.0, the GE can not get SC2 Libs from the MPQ.
I have modify the code and so that GE can load galaxy files at \TriggerLibs
So that it can work now.
If SC2 change its Lib, you can get the new files from SC2 yourself, and then copy them to \TriggerLibs .
Or you have some mod wiht custom lib, and you want to use it at many different Projects , you can also put the galaxy files of the Libs in \TriggerLibs .
There are so many mistakes in GE , as SBeier say, it`s hard to correct them. The compiler can not support Array Ref and the other two Ref. And some bug in your script can`t find out too, such as the parameters in the declaration of function is not the same as function entity it self, GE can not find it.
I updata it here, my vision support English and Chinese.You can choose one
I am sorry to say this so late. And I am a new programmer. So I had not say the truth that I had translated GE++ into Chinese and remove some functions such as the upload library half a year before.(I linked to this page ) http://bbs.islga.org/forum.php?mod=viewthread&tid=2152473
This is the page. I like GE++, it is cool.
I know little C#, and it is so hard for me to do much for GE++, and I don't agree some ideas form you. Just like I have said , I don't like the code translation.
I was a mapper of war3 also. And the script language of it, the Jass is so lag, the translated language of Jass , which named VJass, may be more lag than the same code of function.
So I want to remove this function of GE++ . I don't know how much I would do, there is so little user of galaxy for mapping. And I find none us GE++ in China.
Thank you for you job ,I express my sincerely sorry again about what I do.
How long taking in compiling is mainly decided by code complexity, or how many lines of MapScript.galaxy.
Unlucky,my script of 600+ lines generate 13000+ lines MapScript.galaxy,and most of the lines are assignment sof variables` initial value
@Slarti
Could you add a new type of compile without the generation of MapScript.galaxy.It takes too long time (always more then 5 min) to generating MapScript.galaxy,.
Time maybe waste in assignment of variables` initial values in function.
thanks.
Ps: Do you know the function ref ,struct ref ,and array ref ? these are addied in v1.5 of SE.But there is no GUI for them .
You can find script about them in SC2Mapster.
I ask for this function just because the syntax checker of normal editor is not easy to use.And some times I just write program to show a system or other things.So I need a simple syntax check
Could you add an option to Galaxy Editor about that when compile ,if there were no errors in the script there would no output format to changeing my script.
I mean that the syntax used in compile is the syntax of the galaxy
You can rename any map with "坦克",and have a test. I think the reason for the error is not the library,the same bug is also exist at NewGen for WE. Some software for WE use the library storm.dll can deal with a War3 map which has a Chinese name.
If my project map has a Chinese when I select the project,there will be two error.
1.Unable to open the map to the fetch Regions.
2.Unable to open the map to the fetch Objects.
Found a bug:
When I use a string which contain some Chinese characters. And a number behind a character,such as "我0",when complie and run ,there will be a error.
And there is another problem. The paeameters specification which shows when I input a function, is not long enough to show all the parameters.And can it support word warp?
I don`t know if there are some body still use GE now. And one and a half years past from last reply by me.
Because of the change of the offical Mod of SC2 in 3.0, the GE can not get SC2 Libs from the MPQ. I have modify the code and so that GE can load galaxy files at \TriggerLibs So that it can work now. If SC2 change its Lib, you can get the new files from SC2 yourself, and then copy them to \TriggerLibs . Or you have some mod wiht custom lib, and you want to use it at many different Projects , you can also put the galaxy files of the Libs in \TriggerLibs .
I updata the source file to the GitHub ,If anyone who want to modify it, you can download at https://github.com/Whimsyduke/GalaxyEditorPlusPlus.git
@KorvinGump: Go
There are so many mistakes in GE , as SBeier say, it`s hard to correct them. The compiler can not support Array Ref and the other two Ref. And some bug in your script can`t find out too, such as the parameters in the declaration of function is not the same as function entity it self, GE can not find it.
I updata it here, my vision support English and Chinese.You can choose one
@SBeier
I am sorry to say this so late. And I am a new programmer. So I had not say the truth that I had translated GE++ into Chinese and remove some functions such as the upload library half a year before.(I linked to this page )
http://bbs.islga.org/forum.php?mod=viewthread&tid=2152473
This is the page. I like GE++, it is cool.
I know little C#, and it is so hard for me to do much for GE++, and I don't agree some ideas form you. Just like I have said , I don't like the code translation.
I was a mapper of war3 also. And the script language of it, the Jass is so lag, the translated language of Jass , which named VJass, may be more lag than the same code of function.
So I want to remove this function of GE++ . I don't know how much I would do, there is so little user of galaxy for mapping. And I find none us GE++ in China.
Thank you for you job ,I express my sincerely sorry again about what I do.
Do GE still Develop?
@DieHappy1234: Go
How long taking in compiling is mainly decided by code complexity, or how many lines of MapScript.galaxy. Unlucky,my script of 600+ lines generate 13000+ lines MapScript.galaxy,and most of the lines are assignment sof variables` initial value
@Slarti Could you add a new type of compile without the generation of MapScript.galaxy.It takes too long time (always more then 5 min) to generating MapScript.galaxy,. Time maybe waste in assignment of variables` initial values in function.
thanks.
Ps: Do you know the function ref ,struct ref ,and array ref ? these are addied in v1.5 of SE.But there is no GUI for them . You can find script about them in SC2Mapster.
Sorry for my poor English.
I ask for this function just because the syntax checker of normal editor is not easy to use.And some times I just write program to show a system or other things.So I need a simple syntax check
Could you add an option to Galaxy Editor about that when compile ,if there were no errors in the script there would no output format to changeing my script. I mean that the syntax used in compile is the syntax of the galaxy
You can rename any map with "坦克",and have a test. I think the reason for the error is not the library,the same bug is also exist at NewGen for WE. Some software for WE use the library storm.dll can deal with a War3 map which has a Chinese name.
sorry,I mean that the project map has a Chinese name.
If my project map has a Chinese when I select the project,there will be two error. 1.Unable to open the map to the fetch Regions. 2.Unable to open the map to the fetch Objects.
It is the same as #247.
For all the version , the porject settings is like this
Found a bug: When I use a string which contain some Chinese characters. And a number behind a character,such as "我0",when complie and run ,there will be a error.
And there is another problem. The paeameters specification which shows when I input a function, is not long enough to show all the parameters.And can it support word warp?
System.Collections.Generic.KeyNotFoundException: 给定关键字不在字典中。 在 System.Collections.Generic.Dictionary`2.get_Item(TKey key) 在 Galaxy_Editor_2.Compiler.Phases.Transformations.LivenessAnalysis.DefaultIn(Node node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Phases\Transformations\LivenessAnalysis.cs:行号 506 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.InAExpStm(AExpStm node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2062 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAExpStm(AExpStm node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2072 在 Galaxy_Editor_2.Compiler.Generated.node.AExpStm.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 4868 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAABlock(AABlock node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2051 在 Galaxy_Editor_2.Compiler.Generated.node.AABlock.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 4716 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseABlockStm(ABlockStm node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2199 在 Galaxy_Editor_2.Compiler.Generated.node.ABlockStm.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 5575 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAIfThenStm(AIfThenStm node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2095 在 Galaxy_Editor_2.Compiler.Generated.node.AIfThenStm.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 4990 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAABlock(AABlock node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2051 在 Galaxy_Editor_2.Compiler.Generated.node.AABlock.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 4716 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseABlockStm(ABlockStm node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2199 在 Galaxy_Editor_2.Compiler.Generated.node.ABlockStm.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 5575 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAIfThenStm(AIfThenStm node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2095 在 Galaxy_Editor_2.Compiler.Generated.node.AIfThenStm.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 4990 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAABlock(AABlock node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 2051 在 Galaxy_Editor_2.Compiler.Generated.node.AABlock.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 4716 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAMethodDecl(AMethodDecl node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 1463 在 Galaxy_Editor_2.Compiler.Phases.Transformations.LivenessAnalysis.CaseAMethodDecl(AMethodDecl node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Phases\Transformations\LivenessAnalysis.cs:行号 292 在 Galaxy_Editor_2.Compiler.Generated.node.AMethodDecl.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 1108 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAASourceFile(AASourceFile node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 1286 在 Galaxy_Editor_2.Compiler.Generated.node.AASourceFile.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 156 在 Galaxy_Editor_2.Compiler.Generated.analysis.DepthFirstAdapter.CaseAAProgram(AAProgram node) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\analysis.cs:行号 1325 在 Galaxy_Editor_2.Compiler.Generated.node.AAProgram.Apply(Switch sw) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Generated\prods.cs:行号 411 在 Galaxy_Editor_2.Compiler.Phases.Transformations.FinalTransformations.Apply(AAProgram ast) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Phases\Transformations\FinalTransformations.cs:行号 144 在 Galaxy_Editor_2.Compiler.Phases.Transformations.FinalTransformations.Parse(AAProgram ast, ErrorCollection errors, SharedData data, String& rootFile) 位置 C:\Users\Beier\Documents\Visual Studio 2010\Projects\Galaxy Editor 2\Galaxy Editor 2\Compiler\Phases\Transformations\FinalTransformations.cs:行号 18
This error occured at I compile. The script I complie is upload. This error happened at v2.20 and v2.22,but not happened at v2.17