• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

viable Cjass/Vjass editor

Level 5
Joined
Mar 22, 2009
Messages
171
Is there any currently functional tools to allow saving of maps that already use Cjass? I have several old maps, and can no longer get Newgenpack + Adichelper to save them in a functional state, because it just errors out, or fails to make a runnable map. Or do I just have no option but to manually translate everything?
Error is the unrecognized Pjass error, or an error related to just not having cjass and/or vjass.

Also, I can't get newgen to compile other, pre-cjass mapseven without cjass, and can't get wex to run at all. What, if anything, is the current third party editor addon currently used?

I haven't bought reforged, if that matters.

The maps do run, and open fine, but you can't save them without it breaking. So probably if I had the same kind of enviornment I had 5 or so years ago, it would probably still work, and still produce a functional map, but that was like 2 computers ago, and fresh installs of the tools aren't working.

Maybe there is a way to get the older versions?
 
Last edited:
If you're modding for the recent patches (e.g. above 1.26), I think most folks are just using the default editor for most non-scripting parts. Most of the JNGP features have been included into the latest editor (including JassHelper--you can enable it in the Trigger Editor).

But the default editor still doesn't have any syntax highlighting, so there's a big assortment of build environments that folks are using. A lot of people will dev their code in vs-code (or something similar) and then use tools to inject the code into the map (e.g. Ceres for Lua [discontinued tho], I think wurstscript has its own tool, etc.). Or you can just copy & paste.

...but that is probably not very helpful for your current issue. cJASS doesn't have much support anymore (as far as I know), so IMO your best options are:
  1. You could try cJass2Lua. I haven't personally used it but it may be a good option if you decide to translate it anyway. I also highly recommend going through this tutorial (A comprehensive guide to Mapping in Lua) if you decide to use Lua for your maps going forward. There are a lot of utility systems that take a lot of the pain away (especially since most lua typos and such get exposed at run-time rather than compile-time).
  2. ... or you could export the internal war3map.j. If your map runs, it contains the compiled JASS code. You could take that and slowly migrate it over to vJASS. It will likely be pretty ugly code, but it'd probably be faster to use that than to translate it line-by-line yourself. The main issues you'll probably run into are: (1) the triggers (stored internally in the wtg) are still going to be cJASS, and (2) getting all the globals/initializers set up properly. So I'd recommend making a copy of your map and clearing the war3map.j & copying over a blank war3map.wtg to start with. Then I'd start with copying the globals into a big globals block. And then you can migrate your code over trigger by trigger (assuming the war3map.j is somewhat intelligible).
  3. I have no clue whether Adichelper still works, but if it is just pjass that is failing, you could try using a more updated version of pjass and seeing if that gives you any better success: PJass updates
 
Top