HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Linux again, vexorian sells out

04-13-2008, 04:31 PM#1
Vexorian
So, I just noticed //! import is the Linux mapper's best friend so far. Which means I finally sold out to external files.

This is how some WIP spell maps are beginning to look to me:

Collapse JASS:
 //! import "cs14.6/libcastersystem.j"
//! import "cs14.6/libcscache.j"
//! import "cs14.6/libcssafety.j"

//! import "templeguardian/WarShadow.j"
//! import "templeguardian/Terror.j"
//! import "templeguardian/Abstraction.j"
//! import "templeguardian/FlameStorm.j"

Yeah, I know, awful.

But it is the only way, I then just take the contents of the files and update .wct with quickfivxer.

This is how I made the last caster system version. I should really begin to retake the binary project, but I decided I must first focus on getting mpq manipulations, when I get enough time and C-patience I am gonna take a look at the small sample C mpq library pitzermike posted recently.

I am using Ladik's mpq editor in WINE, so far no issues. There's a pesky bug in the latest WINE version I got from winehq's repository, some apps don't have taskbar buttons anymore, so I have to dedicate quickfivxer its own virtual desktop! The good news is that the text control bugs that limited quickfivxer and made it crash are fixed so I only need WINE to tweak maps with it, its ability to edit the wts directly has helped me avoid some waste of time during the release of last caster system.

I got some icons to work, map icons that match my icon theme, it is amazing how such things improve the feel of war3 in Linux. A big improvement from the paper sheet icon.
Attached Images
File type: pngPantallazo.png (288.0 KB)
04-13-2008, 11:25 PM#2
PandaMine
Im going to install an ubuntu distribution soon on my computer and I have been hearing that Wc3 emulates under wine no problems however there are issues with WE

So is it that WE doesn't work at all or what is the method for mapping wc3 on linux
04-13-2008, 11:48 PM#3
moyack
Ubuntu is very nice, I personally use Debian Sarge x64, and I 'm very happy with taht distro.

I've mounted WC3 on it using Cedega (AKA wine with support for DirectX) but working with the DirectX emulation brought to me more problems than benefits, so using WC3 works very fine by setting the options to -window and -gl, even in Bnet.

The bad thing is that vanilla WE crashes very easily, that the thing that really keeps me stickied to windows.
04-14-2008, 12:03 AM#4
TDR
I'm terribly sorry for the off-topic burst, but those are some freakin HUUUGE icons! How can you like that...
04-14-2008, 12:04 AM#5
PandaMine
What exactly does cause WE to crash under WINE, because it seems from what Vex is doing that he uses the object editor and stuff like that and uses an MPQ editor to import all the .j scripts

Also WINE can emulate 95% of windows progs that are high tier games, its just that you need to know the parameters to pass but more importantly the windows system files that WE uses. What many people dont realise is when you install WINE, it installs the absoulte minimum Windows files, in order to run a lot of programs you need to download some random dll or some random service pack for it to work (for example to emulate office 2007 you need to download the microsoft XML parser which is automatically installed with windows sp2)
04-14-2008, 12:34 AM#6
moyack
Exactly.... Open WE, start a new map, put a unit on that map, and do double click on it to change the properties for instance, WE crash.
04-14-2008, 12:40 AM#7
PandaMine
What error message does it come up with?
04-14-2008, 01:07 AM#8
moyack
none, just... the WE closes. Honestly I don't know how to activate the debug mode in Cedega.
04-14-2008, 01:08 AM#9
PandaMine
Hmm ill have to have a look at it when I finally get around to installing Ubuntu.

You now have to pay for Cedega don't you?
04-14-2008, 01:10 AM#10
moyack
No... I'm a bad guy.... and I've got a cracked version :P
04-14-2008, 01:12 AM#11
PandaMine
Im with you there :P

Although I would consider buying it since it is really cheap (10 bucks), although I hate the hassle of buying stuff over the net
04-14-2008, 01:19 AM#12
moyack
I hate that too, I'm not too confident with net transactions.

Let me see if I have the torrent file...

EDIT: PMed
04-14-2008, 01:33 AM#13
PandaMine
Thanks

Im wondering if it would be simpler to develop a 3rd party world editor that can be cross compiled. This way we could compile for Macs so mac users aren't in the dark all the time, we can make a stable distro for linux and just compile for windows using gcc for all 3 platforms

I mean we already know a shitload about the filesystem for wc3 maps, all we really need to do is create an IDE and a few quirks he and there. Not to mention that if such a thing is created implementing systems and many things would be much easier than it already is, and we can introduce plugins and whatnot
04-14-2008, 03:28 AM#14
Vexorian
Cedega is totally unnecessary for warcraft III,

As a matter of fact, WINE doesn't crash when saving the map on WE, it is just that WE is totally unusable unless you got a handful of patience, with all that black screen blinking.

There is simply a WINE bug with apps that have directx embedded in windows forms, and no plans in the future to ever fix it. Cedega suffers from this as well, crossover games does too.

3rd party world editor is a bad idea. It is better to split the thing in parts, it would even be advantageous for windows users that want something more practical. Monolythical stuff blows.

We already got some parts started, for example jasshelper makes it so you don't need anything else for coding (unless you want to count the text editor) The thing I am going to worry the most about is going to be a cross platform replacement for jasshelper, but I first need to handle the mpq stuff.

So, my plan is to have different programs for different stuff, this way we can use WINE to replace missing parts during the migration. Right now I am using jasshelper to handle coding and quickfivxer for handling the wct, and wts files.

Zepir's world editor can be used in virtual box just fine, the problem is that it got the bad habit of corrupting the map. If someone with enough patience to take over a pesky, massive C++ winapi project and adopt Zepir's editor so the bugs get helped it would be very useful, also if the terrain window gets outside the main window it would be able to run in WINE.

Quote:
I'm terribly sorry for the off-topic burst, but those are some freakin HUUUGE icons! How can you like that...
The desktop got icons of all sizes for importance.

--
04-14-2008, 06:26 AM#15
PandaMine
Quote:
Originally Posted by Vexorian
Cedega is totally unnecessary for warcraft III,

As a matter of fact, WINE doesn't crash when saving the map on WE, it is just that WE is totally unusable unless you got a handful of patience, with all that black screen blinking.

There is simply a WINE bug with apps that have directx embedded in windows forms, and no plans in the future to ever fix it. Cedega suffers from this as well, crossover games does too.

3rd party world editor is a bad idea. It is better to split the thing in parts, it would even be advantageous for windows users that want something more practical. Monolythical stuff blows.

We already got some parts started, for example jasshelper makes it so you don't need anything else for coding (unless you want to count the text editor) The thing I am going to worry the most about is going to be a cross platform replacement for jasshelper, but I first need to handle the mpq stuff.

So, my plan is to have different programs for different stuff, this way we can use WINE to replace missing parts during the migration. Right now I am using jasshelper to handle coding and quickfivxer for handling the wct, and wts files.

Zepir's world editor can be used in virtual box just fine, the problem is that it got the bad habit of corrupting the map. If someone with enough patience to take over a pesky, massive C++ winapi project and adopt Zepir's editor so the bugs get helped it would be very useful, also if the terrain window gets outside the main window it would be able to run in WINE.

The desktop got icons of all sizes for importance.

--

Where can you download Zepir's World Editor?