Install WEX from here:SharpCraft World Editor Extended Bundle
After that you may need to replace addresses.xml file in the plugins folder.
SharpCraft World Editor Extended Bundle
After that you cam simply use vJASS code in your map. It will be automatically compiled when you save or test the map.
//! import "./Scripts/imports.j"
According to the manual it should look like this: //! import "subfolder\f.j" So no ./ and a backslash instead of the normal one.
If you test a map that is not saved, the map is copied to another location and the relative path might no longer work. It is recommended to always save the map before testing.
I have no personal experience with the import command or zinc, so my information is only based on the jasshelper manual.
## Requirements:
- Cohadar jasshelper
## Building:
```
copy "%path_to_repo%\map.w3x" "%path_to_output%\vf.w3x"
cd "%path_to_cohadar_jasshelper%\jasshelper\cohadar"
"jasshelper.exe" --debug common.j Blizzard.j "%path_to_output%\vf.w3x"
```
When I run jasshelper.exe I get this error message though: Screenshot - 4702d796646b900222c149375ed6f406 - GyazoThe instruction explains what commands you need in the console.
1. You copy your map from one point to another. The map you are currently developing is copied to another place, so jasshelper does not change the base map.
You can do that manually in windows explorer if you prefer it that way.
2.You navigate to the location of cohadars jasshelper: cd "%path_to_cohadar_jasshelper%\jasshelper\cohadar"
3.you use hasshelper with the parameters on your copied map.
In this instruction the base map is named map.w3x and the map that will be compiled with jasshelper will be named vf.w3x