PDA

View Full Version : Wine, Warcraft3 and Bored Aussies


WaLshy11
February 10th, 2009, 06:22 PM
Hey.

I am having some trouble getting Bored Aussies to work through wine. War3 by itself works fine, but BA doesnt.

The program I am getting is using a launcher to load BA. When I go to launch it, it say 'Could not start war3. Make sure the loader is located in the right directory' (something like that).
BUT
When I go to the folder, through browse wine > games > war3 etc and load BA from there, it works fine.

The loader command I am using is:
wine "/home/user/.wine/blah blah war3 directory/BA launcher" -opengl

If I use the same command but with the ordinary war3 launcher, it works fine.

BTW I have copied the BA files over again and installed the reg file.


AHhh wats going on?

moforilla
February 10th, 2009, 07:33 PM
You should check out the thread on the BA forums for running warcraft 3 under wine. From what I can remember you don't use the BA loader. You need to add registry entries into wine for the BA server.

All you need is in the thread, search "wine" on BA forums.

WaLshy11
February 10th, 2009, 08:05 PM
Had a check and couldnt find anything of use there...

Everything works fine, its just when I create a shortcut (launcher) to the BA exe I get an error. When I run the BA exe direct (actually go into the war3 folder and click on the w3l.exe) it runs fine, but it will be a pain to do this all the time

WaLshy11
February 11th, 2009, 01:40 AM
bump~

WaLshy11
February 11th, 2009, 08:02 PM
So I tried the command

cd "/home/user/blah blah war3 directory" && wine w3l.exe -opengl

This looked promising but I get an error message saying:

There was error launching the application
Details: Failed to execute child process "cd" (No such file or directory)


Anyone got any other ideas?

tomd123
February 11th, 2009, 08:21 PM
So I tried the command

cd "/home/user/blah blah war3 directory" && wine w3l.exe -opengl

This looked promising but I get an error message saying:

There was error launching the application
Details: Failed to execute child process "cd" (No such file or directory)


Anyone got any other ideas?

umm why don't you do "cd pathtowar3" and then do "wine w31.exe"
and the path should not be within quotes... if you want spaces, put "\ " where ever there are supposed to be spaces in the pathname.

WaLshy11
February 11th, 2009, 08:50 PM
umm why don't you do "cd pathtowar3" and then do "wine w31.exe"
and the path should not be within quotes... if you want spaces, put "\ " where ever there are supposed to be spaces in the pathname.


Im trying to create a launcher im not running this in terminal..

hikaricore
February 11th, 2009, 09:10 PM
Im trying to create a launcher im not running this in terminal..

Tell us the exact full path to WC3 and I'll tell you how to make a launcher.

WaLshy11
February 11th, 2009, 09:26 PM
Tell us the exact full path to WC3 and I'll tell you how to make a launcher.


/home/<username>/.wine/drive_c/Program Files/Games/Warcraft III/w3l.exe

hikaricore
February 11th, 2009, 09:40 PM
/home/<username>/.wine/drive_c/Program Files/Games/Warcraft III/w3l.exe

Make a file called wc3.sh in your home directory and paste the following into it.

#! /bin/bash

cd /home/yourusername/.wine/drive_c/Program\ Files/Games/Warcraft\ III/
wine w3l.exe -opengl

You will need to set this file as executable either through the file dialog or from a terminal with: chmod +x wc3.sh

Then link to this file from a shortcut on your desktop.
Should work like a charm.

I know this isn't the only way to do this but it's a way to do it. :p

WaLshy11
February 11th, 2009, 10:34 PM
Thanks heaps ill give it a shot :D