HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

vJass on a Non-Windows OS

02-23-2007, 04:19 AM#1
Pyrogasm
I understand that by using Mac OS X, I've already screwed myself out of a whole ton of things I can do regarding coding of any sort, but I was wondering if there is some way I could add some WEHelper/WEWarlock/JassHelper files to my World Editor that would allow it to parse libraries, structs and the like.

I bet I could just add some lines to my War3.mpq, but that's a route I'd rather not go; messing with MPQ's isn't exactly my favorite past-time. I don't know much about exactly how a .exe file works, but I thought I heard that it was possible to extract files from them. How might I go about doing that?

Are there any versions of vJass tools that are written in Java? I could surely run a Java program, but I'm not sure how that would work in conjunction with World Editor...

If this sort of thing is unreasonable, unfeasable, or downright stupid to attempt, then I suppose I'll have to accept it and buy some crappy laptop to compile stuff on.
02-23-2007, 11:49 AM#2
Vexorian
In theory, you could compile the command line version in some pascal edition that compiles to Mac OS/X.

But a compiler is useless if you don't have a hacked WE.

Hacking the world editor in Mac OS/X... Even if it is possible, I can't think of any person that would be able to do that...

Otherwise without a hacked WE even if you had a Java program, using it would be really lame.
02-23-2007, 07:50 PM#3
Pyrogasm
Damn. How about some modified .j files, then? As long as I make a backup of my MPQ and remember to switch them around for the real one when playing games, I should be fine.

Could you possibly send me/post whatever .j files the preprocessor draws from to compile (that is, if it compiles the same way WE does)? I suppose I'm off to the crap PC store :D

If only I had a Core2 Duo iMac... hopped on the damn bandwagon too early
02-23-2007, 10:05 PM#4
Vexorian
I don't think you really understand how this stuff works. It doesn't generate any general .j file or needs any .j file. It generates Jass code from your own war3map.j and it is always specific to what you had in it.
02-23-2007, 11:13 PM#5
Pyrogasm
Oh. I thought WE read stuff from the .j files when it parsed things.

Pardon my idiocy.
03-17-2007, 10:27 PM#6
Pyrogasm
My sad state of affairs has prompted me to confirm this once and for all:

There is no way to do this aside from finding someone who could "compile the command line version in some pascal edition that compiles to Mac OS/X", hack my WE, and finally get everything working?



Probability of Success: 0.
03-17-2007, 10:41 PM#7
Vexorian
don't you have a WINE equivalent or something? I am sure that if you could run mapcompiler.exe the rest would get amazingly easy
03-17-2007, 11:00 PM#8
Pyrogasm
There is Darwine for OS X, but it appears as though the project was scrapped. The last "news" was May 24th, 2006.

There is also Virtual PC 7, which I posess a cracked version of. I do not have a CD key with which to run the program, though.

The third choice being Parallels Desktop, but that requires an Intel Chip. As does Boot Camp and all other such applications.

Lastly, there is Q Emulator, wich is a "cocoa port" of QEMU. At one point I attempted to delve into Q, but I was doing things wrong and I gave up.

Here is a somewhat inclusive list of the more prominent OS X emulators.


EDIT: Just a thought. I could run the compiler via WINE, which would be running off of an emulated Linux. Or maybe I'll just switch to Unbuntu or something alltogether ><
03-17-2007, 11:15 PM#9
Vexorian
Heh, I would request you not to switch to an OS that has a name you can't spell correctly.

If you can run wine on mapcompiler.exe directly from Mac OS/X command line (And you should since Delphi apps are very friendly with WINE) then I could tell you how to make your map able to use these things very easily.
03-18-2007, 03:32 AM#10
Pyrogasm
Quote:
Originally Posted by Vexorian
Heh, I would request you not to switch to an OS that has a name you can't spell correctly.
Dear god! I didn't know there was no second "n" in Ubuntu.
Quote:
Originally Posted by Vexorian
If you can run wine on mapcompiler.exe directly from Mac OS/X command line (And you should since Delphi apps are very friendly with WINE) then I could tell you how to make your map able to use these things very easily.
By "command line", do you mean via Terminal? And I do not believe that I can run WINE. Non-intel iMacs don't have the x86 architecture, which WINE reqires.

What if I got my friend (who owns an Intel iMac G5) to install/update Warcraft III, had him run Crossover for Mac (the version of WINE ported to OS X), had him complete the necessary steps, and then burn all WC3-related files to a DVD?

Is there something I could gain by doing that, or would I still have to be able to run WINE every time I wanted to save?
03-18-2007, 03:45 AM#11
Vexorian
If you don't have the compiler at your computer then everything would be quite umpractical, you have to compile your map everytime you modiffy it...

..
Couldn't you swap that mac with an Intel based one and let the dual booting beigin?
03-18-2007, 03:57 AM#12
Pyrogasm
Yes, I could probably swap my mac (plus some extra money) with a newer one. I will look into that, actually.
03-18-2007, 04:12 AM#13
Pyrogasm
Sorry to Double-post, but Holy Shit, Good Deal!

Some guy is selling a 20'' iMac G5 Intel Core Duo with 2GB ram. He says:
Quote:
The computer has a fresh install of OS X, but if you like, we can add some software (full adobe cs2 suite, macromedia suite, final cut pro, ableton live, digital performer, new microsoft office and more) they are latest, full versions, upgradeable.
Holy. Crap.