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.
  • WildTurkey WildTurkey:
    is there a stephen green in the house?
    +1
  • The Helper The Helper:
    What is up WildTurkey?
  • The Helper The Helper:
    Looks like Google fixed whatever mistake that made the recipes on the site go crazy and we are no longer trending towards a recipe site lol - I don't care though because it motivated me to spend alot of time on the site improving it and at least now the content people are looking at is not stupid and embarrassing like it was when I first got back into this like 5 years ago.
  • The Helper The Helper:
    Plus - I have a pretty bad ass recipe collection now! That section of the site is 10 thousand times better than it was before
  • The Helper The Helper:
    We now have a web designer at my job. A legit talented professional! I am going to get him to redesign the site theme. It is time.
  • Varine Varine:
    I got one more day of community service and then I'm free from this nonsense! I polished a cop car today for a funeral or something I guess
  • Varine Varine:
    They also were digging threw old shit at the sheriff's office and I tried to get them to give me the old electronic stuff, but they said no. They can't give it to people because they might use it to impersonate a cop or break into their network or some shit? idk but it was a shame to see them take a whole bunch of radios and shit to get shredded and landfilled
  • The Helper The Helper:
    whatever at least you are free
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?

      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