Tutorial How to run vJASS on a Mac Computer

tooltiperror

Super Moderator
Reaction score
231
WINE & vJASS

WINE&vJASS
([ljass]they can be friends[/ljass])
Introduction
Let's face it. We live in a [LJASS]DOG EATS DOG[/LJASS] world. Cats eat smaller cats (science proved it) and facebook ate myspace. Windows constantly eats OS X. Even Linux eats OS X. That's just the food chain. Nowadays people think that OS X and Linux being eaten means that you can't run JASSHelper without a PC. This is [ljass]the false[/ljass]. With a few handy dandy fixes to the JASSHelper folder and a proper installation of WINE, you can preprocess maps with vJASS on your *nix system.

STEP 1 : PREPARE FOR WAR
I'd hope that you already have WINE installed. If not, you may want to read this (Mac) or this (Linux) to get WINE running on your system. Without WINE you probably will get errors, like, unkown command when you run WINE. Once you've gotten all that WINE business sorted out and you're ready to actually run it, you're going to want to go on to step 2.

STEP 2 : GATHER YOUR ARSENAL
Alright you furcifer, this is the next step. You're going to need to prepare your JASSHelper folder for battle. You can download an already modified JASSHelper folder or modify your own by moving the bin folder in NewGen right into your JASSHelper folder. Because file paths are different off Windows, JASSHelper would be looking in the wrong place. So it's only logical to have to prepare it differently. Lastly, drop your map into the JASSHelper folder so jasshelper.exe and your map are side by side.

STEP 3 : NAVIGATE AND RUN
I would hope you know how to navigate your way around your computer without a GUI. If not, you'll need to get your bearings and then continue. So yeah, navigate to your JASSHelper folder and run WINE, like so:
Code:
wine jasshelper.exe path/to/common.j path/to/Blizzard.j yourmap.w3x
For best results, just move your [ljass]*.j[/ljass] files to your JASSHelper folder.

clijasshelper is the same program as jasshelper, but it does not have a GUI, so it may be a bit quicker and easier on your system, it's run the same exact way though.
Code:
wine clijasshelper.exe path/to/common.j path/to/Blizzard.j yourmap.w3x

CODING VJASS?
Your map probably processed due to the fact that it had no vJASS in it to throw out any errors and it was a valid script. The big problem is that you can not save invalid code without NewGen. So all code must be imported, like so. Just make a file like say, [ljass]MySpell.j[/ljass] with your vJASS in it, plop it in JASSHelper folder, and go:
Code:
//! import "MySpell.j"
somewhere in your map script, probably the header. This is, as of now, the only way to script in vJASS on a Mac or Linux system.

TALLY—HO
You should now be able to run any vJASS you want on any system that supports WINE. Go write a system!

~VJASS IS COOL~
 

Chaos_Knight

New Member
Reaction score
39
But.. Isnt this obvious? Like wine, or Parallels? If you use Parallels( A Windows in a Mac), this is allready exist. But with Wine, some more problems. :nuts:
Am I right? Or no?

Awsome tutorial. Very, very useful. :D
//Chaos_Knight ( Retired Mac User ).
 

Dirac

22710180
Reaction score
147
But.. Isnt this obvious? Like wine, or Parallels? If you use Parallels( A Windows in a Mac), this is allready exist. But with Wine, some more problems.
Am I right? Or no?

Awsome tutorial. Very, very useful.
//Chaos_Knight ( Retired Mac User ).

No, parallels runs extremely slow, i would use bootcamp, but my computer cant support it, lucky me next month im gettin a new iMac 27'' with bootcamp and i wont be needin this

+rep
 

tooltiperror

Super Moderator
Reaction score
231
But.. Isnt this obvious? Like wine, or Parallels? If you use Parallels( A Windows in a Mac), this is allready exist. But with Wine, some more problems. :nuts:
Am I right? Or no?

Awsome tutorial. Very, very useful. :D
//Chaos_Knight ( Retired Mac User ).

Well, it's hard to understand this post, but I believe you're talking about Parallels, the software. Which is $59.99, but WINE is free. So, this is free, and I doubt this would work with Parallels, although I have never used it. I believe Parallels tries to run binaries without showing you the terminal, complicating things.

Edit: From what I see, this Parallels software can create massive amounts of lag. Probably not with small programs like JassHelper, but it is an emulator.​
 

tooltiperror

Super Moderator
Reaction score
231
So, anyways, what does this need for approval?
 

tooltiperror

Super Moderator
Reaction score
231
Alright, I'm sure someone will have terminal problems eventually.
 

tooltiperror

Super Moderator
Reaction score
231
It should be a regular folder inside the JassHelper directory, or is it a zip for some reason?

Also, if you are using BootCamp (Which I do not advise for other Mac Users,) why not simple use NewGen?
 

tooltiperror

Super Moderator
Reaction score
231
Is the JassHelper folder zipped, or is Bin zipped? And are you using my specialty folder?
 

tooltiperror

Super Moderator
Reaction score
231
Nice, thanks J4L.

Might as well go post this at thehive, too.
 

tooltiperror

Super Moderator
Reaction score
231
Updated with information on clijasshelper.exe, adding a terminal image, and showed the use of [LJASS]--scriptonly[/LJASS]
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top