1. Are you planning to upload your awesome tool to Hive? Please review the rules here.
    July 9, 2018: The rules for the Tool Section have been revised. Please be sure to read the revisions.
    Dismiss Notice
  2. Seek unity between the elements in the 22nd Terraining Contest Poll.
    Dismiss Notice
  3. Seize the moment! The 18th Mini Mapping Contest has commenced.
    Dismiss Notice
  4. The heavens smile on the old faithful. The 16th Techtree Contest has begun.
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

SharpCraft World Editor Extended Bundle

Submitted by MindWorX
This bundle is marked as approved. It works and satisfies the submission rules.
SharpCraft WEX Bundle v0.1.3.1
World Editor Extended is the successor to the Jass NewGen Pack. It is updated to work with the newest editor and includes the main features that JNGP had.

To use this, simply use the SharpCraft.Launcher and launch the "Warcraft III - World Editor (WEX)" profile or use the included "World Editor Extended.exe" to launch it directly.

Keep in mind that this is a work in progress. There are still several features missing. Features will be added in as time allows it and as they are requested. Some features might never return because the original developers are gone.

SharpCraft can be discussed in the hosted project subforum.

Semi-Complete Feature List
  • JassHelper, a vJASS compiler, that replaces the internal world editor compiler completely. No more crashes from bad code and many more features through vJASS.
  • Trigger Editor Syntax Highlight (TESH), a code syntax highlighter for the Trigger Editor, that makes coding in JASS/vJASS a breeze.
  • Grimoire Extensions (Grimex), a library of tools that extend the functionality of vJASS giving it the ability to create new objects(units, items, etc.) and more.
  • Increased/Removed various limits, like the number of doodads, destructables and more.
  • Object Id dialog, that allows you to manually set the object id when creating a new object. Want to make a hero peasent? Just copy the peasent, and when the dialog asks, just change the first letter to upper case, and he's ready.

Changelog
Code (Text):

v0.1.3.1
* Updated to WE 1.29.0
* Updated TESH function database to have new natives ( thanks to @Abovegame )
* Fixed crash with ObjectDataExtractor when it couldn't locate Java, instead it will simply disable itself silently.
* Attempted to shorten paths, to avoid crash due to long path names.

v0.1.3.0
* Updated to WE 1.29.0 PTR - This is very experimental and have been done hastily. It should work with vJass/Wurst and TESH. Other features have been removed since they're now included in the vanilla editor.

v0.1.2.9
* Updated to WE 1.28.5

v0.1.2.8
* Updated TESH, to fix a rare bug where it would crash the editor.
* Added WurstScript experimentally, use at your own risk. WEX will not keep the same update cycle as WurstScript, so you will have to update it manually if you encounter bugs.

v0.1.2.7
* Added fix for the File Importer.

v0.1.2.6
* Updated to WE 1.28.4
* Fixed up SharpCraft to work with new editor executable name.
* Fixed up WEX to work with new editor executable name.

v0.1.2.5
* Improved extended settings with -window and -opengl options.
* Included the option to launch with a special WEX profile. This does nothing yet, but will in the future.

v0.1.2.4
* Fixed window names for TESH so it works on all languages automatically.
* Added more no-limits features, like steep cliffs and a wider range of terrain heights.

v0.1.2.3
* Updated to WE 1.28.2
* Added support for -loadfile and other parameters directly.
* Replaced TESH with TESH 2.0
* Fixed various issues across versions, should work perfectly for all supported versions now.

v0.1.1.2
* Fixed issues with enabling disabled triggers with vJASS code or missing init function.
* Added menu entries for JassHelper.

v0.1.1.1
* Updated with support for WE 1.26 and 1.27b. !!THIS IS EXPERIMENTAL!!
* Fixed a mistake introduced last update that might've made things unstable.

v0.1.1.0
* Added fix for Test Map. You can now get back to mapping!
* Updated Extended Editor Settings (allow local files)

v0.1.0.2
* Updated to WE 1.28.1 (still works for 1.27b, 1.28)
* Fixed Extended Editor Settings for Increased Map Dimensions, so 480x480 maps are back on the menu!

v0.1.0.1
* Updated to WE 1.28 (still works for 1.27b)
* Updated Extended Editor Settings (increased map dimensions)
* Fixed up Grimex(ObjectMerger, etc.)
* Improved menus a bit and removed some unused stuff.
* Removed various stuff like all the default profiles and some stuff that shouldn't have been included.

v0.1.0.0
* Initial release.
* * JassHelper
* * Trigger Editor Syntax Highlight
* * Extended Editor Settings (nolimits, custom object id, etc.)
Known Issues
Version Status
  • 1.28.5 - Tested and fully supported.
  • 1.28.4 - Tested and fully supported.
  • 1.28.3 - Skipped!
  • 1.28.2 - Tested and fully supported.
  • 1.28.1 - Tested and fully supported.
  • 1.28.0 - Tested and fully supported.
  • 1.27.1 - Tested and fully supported.
  • 1.27.0 - Tested and fully supported.
  • 1.26.0 - Tested and fully supported.
Test Instructions (for those interested in helping)
  1. Start the Editor
  2. Create a new 480x480 map
  3. Test the map to make sure test map works
  4. Open the Trigger Editor, make sure TESH is present, and add the following custom script somewhere
    1. Script to add: //! external ObjectMerger
    2. Save the map and make sure it comes up with an error about ObjectMerger arguments
  5. Open the Object Editor and create an object, making sure the object id dialog pops up.
The SharpCraft WEX Bundle should not be redistributed! The Hive Workshop is the only official source for the SharpCraft WEX Bundle!
Contents

SharpCraft WEX Bundle (0.1.3.1) (Binary)

Reviews
StoPCampinGn00b
Approved. One of the best and most essential tools a Warcraft 3 modder can have. 5/5!
  1. EdwardElric

    EdwardElric

    Joined:
    Jun 19, 2010
    Messages:
    49
    Resources:
    0
    Resources:
    0
    - i get a "PathTooLongException" quite early, although my path depth isn't that deep. maybe you can reduce file system structure a bit...
    some paths like: "...\SharpCraftWEX0.1.1.2\profiles\Warcraft III - World Editor (WEX)\plugins\MindWorX.War3Editor.TriggerEditorSyntaxHighlight\MindWorX.War3Editor.TriggerEditorSyntaxHighlight.dll"
    should be shorter. although i like descriptive names, the default profile name ("Warcraft III - World Editor (WEX)") or plugin or DLL names like "MindWorX.War3Editor.TriggerEditorSyntaxHighlight" should be shorter...
    - in "SharpCraft.Launcher.exe" when you "Modify" the "Profile", the row with label "Path" should be named "Path to 'WorldEdit.exe'" for better comprehension...
    - i have to run "SharpCraft.Launcher.exe" as administrator, otherwise the button "Launch" is without function. maybe you could add that info above in the WEX download description as a note...

    edit:
    bleh...
    only now i understood that this "SharpCraft WEX Bundle" contains SharpCraft & WEX! man! took a while. so the label called "Path" is absolutely ok. didn't know you now can even choose between:
    - Starcraft II Game
    - Starcraft II Editor
    - Warcraft III Game
    - Warcraft III Editor
    :eek:
     
    Last edited: May 1, 2017
  2. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    Yeah, I'll look at reducing the path lengths. It is possible to just move the plugins out of their individual sub folders. That would remove a lot. And I'll try and shorten the filenames themselves.
    I added the bit about administrative running. I did experience it myself, but only because worldedit.exe was set to require admin when running.
     
  3. CAAentertainment

    CAAentertainment

    Joined:
    Jun 25, 2010
    Messages:
    115
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Man, sometimes I wish Sharpcraft had it's own updater as a exe instead of me having to download it from all these great updates. xD

    That, and the possibility to recover the map if your computer shuts down on while working on it... God, I wish that was a thing so much! But you have enough on your plate as it is. I look forward to when you find a way to allow multiple terrain outside the current tile space limitation!
     
  4. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    An auto updater is planned, but focus have been on creating a stable system first and get JNGP replaced as soon as possible.
     
  5. EdwardElric

    EdwardElric

    Joined:
    Jun 19, 2010
    Messages:
    49
    Resources:
    0
    Resources:
    0
    MindWorX, in your SharpCraft WEX Bundle, can i use the "old" plugins (DLL files) from SharpCraft for the Warcraft III game or do they need to be reworked again? Tried to put the plugins/ modules DLL files into "plugins" folder of my WC3-TFT game profile of WEX Bundle, but when i try to launch this profile ("Blizzard.WarcraftIII.Game") i get a "ReflectionTypeLoadException" & WC3 don't even start.
    here's screenshot of the error message window:
    Imgur: The most awesome images on the Internet

    added plugins to "...\0.1.1.2\profiles\War3-TFT\plugins\":
    - MindWorX.Modules.Stopwatch.dll
    - MindWorX.SharpCraft.Lidgren.Network.dll
    - MindWorX.SharpCraft.Modules.InputAPI.dll
    - MindWorX.SharpCraft.Modules.InterfaceAPI.dll
    - MindWorX.SharpCraft.Modules.JassAPI.dll
    - MindWorX.SharpCraft.Modules.JassDebugger.dll
    - MindWorX.SharpCraft.Modules.WarAPI.dll

    so, at the moment my map cannot be played...
     
    Last edited: May 2, 2017
  6. persian gulf

    persian gulf

    Joined:
    Nov 22, 2014
    Messages:
    6
    Resources:
    0
    Resources:
    0
    hi . how i can fix this error guys?
     

    Attached Files:

  7. Zwiebelchen

    Zwiebelchen

    Joined:
    Sep 17, 2009
    Messages:
    7,014
    Resources:
    12
    Models:
    5
    Maps:
    1
    Spells:
    1
    Tutorials:
    1
    JASS:
    4
    Resources:
    12
    Well not for me then. When I open the trigger editor, Tesh doesnt highlight anything for me.
     
  8. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    Show me the log, and I can take a look.
     
  9. A Void

    A Void

    Joined:
    Mar 29, 2011
    Messages:
    2,482
    Resources:
    10
    Models:
    2
    Spells:
    1
    Tutorials:
    7
    Resources:
    10
    Could you add the option to disable editor sounds pre-127?
     
  10. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    Good idea, I'll give it a try. I'm so used to the volume control in WE that I didn't think of it. If I recall correctly, JNGP simply imported an mpq with all sounds disabled.
     
  11. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    I just checked, and even worldedit 1.21b which comes with JNGP allows you to disable sounds in preferences. Are there any limitations to just doing that?
     
  12. A Void

    A Void

    Joined:
    Mar 29, 2011
    Messages:
    2,482
    Resources:
    10
    Models:
    2
    Spells:
    1
    Tutorials:
    7
    Resources:
    10
    I have no idea, so why did they include that new feature in 1.27? I never noticed those sound volume options. Weird? Huh?

    Those volume options work perfectly, I guess it was already included. But why make such a feature in JNGP or 1.27 again?
     
  13. Hotwer

    Hotwer

    Joined:
    Mar 10, 2013
    Messages:
    370
    Resources:
    0
    Resources:
    0
    Is there any problems copy pasting my old versions profile folder to the new version? Or you're changing it so much you don't recommend?
     
  14. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    Best I can think is maybe it affects loading times of World Edit? If it doesn't have to load sounds, it might start faster. I might give it a test when I have some spare time.

    It's possible, although plugins do change and sometimes I add or remove plugins, so I wouldn't recommend it. What you can do, is remove all plugins from the "profile/Warcraft III - World Editor (WEX)/plugins" folder except the one named MindWorX.SimplePluginStorage. MindWorX.SimplePluginStorage is the plugin that stores your settings.
     
  15. Hotwer

    Hotwer

    Joined:
    Mar 10, 2013
    Messages:
    370
    Resources:
    0
    Resources:
    0
    It's a minor complain I have to set the WE everytime I update it. It's not a big deal. I will wait until it's stable again.

    Also, another thing: I have a map that have JNGP along with WEU, and this map have a lot of WEU triggers (like RemoveLocation, DestroyGroup, ...) and because of it I can't open the map with WEX, my only remaining problem was the 480x480 map size, but now you're featuring that, I'm changing WEU GUI trigger back to custom script so I can open it with WEX. TL;DR: I know it's outdated, but you intend on integrate WEX with WEU? Or import it's GUI functions (it's better than using custom script in the middle of GUI Triggers, IMO)?
     
  16. KILLCIDE

    KILLCIDE

    Administrator

    Joined:
    Jul 22, 2015
    Messages:
    3,503
    Resources:
    20
    Models:
    2
    Icons:
    10
    Spells:
    7
    Tutorials:
    1
    Resources:
    20
    Does that include the style settings of TESH?
     
  17. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    I didn't realize people still used WEU. The biggest challenge is that it needs to be updated. If I import it as it is now, it'll overwrite all the new GUI functions like "Key of ..." for hashtables and more.
    Sadly not. TESH would need to be rewritten to use the SimplePluginStorage system.
     
  18. A Void

    A Void

    Joined:
    Mar 29, 2011
    Messages:
    2,482
    Resources:
    10
    Models:
    2
    Spells:
    1
    Tutorials:
    7
    Resources:
    10
    For some reason I started getting this error:

    Error

    2017-05-02 23:48:30.446 +03:00 [SharpCraft][0.1.0.0][Error] Unable to locate address for "WE_LaunchMapFix"

    2017-05-02 23:48:30.493 +03:00 [SharpCraft][0.1.0.0][Error] Failed { ModuleFileName: "amdihk32.dll", Exception: Win32Exception { NativeErrorCode: 126, ErrorCode: -2147467259, Message: "The specified module could not be found", Data: [], InnerException: null, TargetSite: null, StackTrace: null, HelpLink: null, Source: null, HResult: -2147467259 } }


    It wouldn't open WEX anymore.
     
  19. MindWorX

    MindWorX

    Joined:
    Aug 3, 2004
    Messages:
    690
    Resources:
    5
    Tools:
    1
    Tutorials:
    4
    Resources:
    5
    The WE_LaunchMapFix stuff is just because you're using an older version where the launch map fix isn't needed.
    And dlls frequently can't load, that's just the way windows works. Can you send me the complete log?
     
  20. A Void

    A Void

    Joined:
    Mar 29, 2011
    Messages:
    2,482
    Resources:
    10
    Models:
    2
    Spells:
    1
    Tutorials:
    7
    Resources:
    10
    So...?