You are not logged in.

#1 2007-10-19 23:47:29

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

[FIXED]!"Warcraft 3 On Battle.Net"

Hi, I installed Warcraft 3 : Reign Of Chaos and Warcraft 3: The Frozen Throne, using wine.

Then, I downloaded the patch to version 1.21 and installed it also, with wine.

Now , I can't play on Battle.net, I've tried many times...it just says

"Initiating connection to Battle.net" and stays like this for more than 3 minutes...

if this is usefull, this is the info shown in my ~/.wine/user.reg file in [Software\\Blizzard Entertainment\\Warcraft III] 1192835475

"InstallPath"="C:\\Program Files\\Warcraft III"
"InstallPathX"="C:\\Program Files\\Warcraft III"
"Program"="C:\\Program Files\\Warcraft III\\Warcraft III.exe"
"ProgramX"="C:\\Program Files\\Warcraft III\\Frozen Throne.exe"
"War3CD"="D:\\"
"War3XCD"="D:\\"

If anyone has the solution, or any suggestion, a line to add, any tip please answer.

Last edited by MarinvHs (2007-10-22 20:00:27)

Offline

#2 2007-10-20 12:54:44

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [FIXED]!"Warcraft 3 On Battle.Net"

Wine versions 0.9.46 and 0.9.47 have broken Battle.net support for War 3
You should you 0.9.45 if you wish to enjoy battle.net (like myself)
Here is the PKGBUILD that I used to build wine 0.9.45:

# Custom wine PKGBUILD by Dheart.
pkgname=wine
pkgver=0.9.45
pkgrel=1
pkgdesc="Emulator of the Windows 3.x and Win32 APIs"
url="http://www.winehq.com"
arch=('i686')
license=('LGPL')
depends=('freetype2' 'fontconfig' 'libjpeg' 'libungif' 'alsa-lib' 'glut' 'libldap' 'libxslt' 'lcms' 'libxxf86dga' 'freeglut' \
         'libxinerama' 'libxcursor' 'libxrandr' 'libxrender' 'libxdamage')
makedepends=('alsa-lib' 'sane' 'fontforge' 'flex' 'bison')
install=(wine.install)
source=(http://easynews.dl.sourceforge.net/sourceforge/wine/wine-$pkgver.tar.bz2)
md5sums=('feecc3ccb4639b672d8446154a4fb700')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --enable-opengl --with-x
  make depend || return 1
  make || return 1
  make prefix=$startdir/pkg/usr install || return 1
  mkdir -p $startdir/pkg/etc/wine
}

Copy/paste it issue makepkg and then Pacman -U the .pkg.tar.gz file.

P.S. I don't know when the wine team are going to fix the issue... There are several patches proposed by the community, but not even one seams to fully fix the problem (in fact most of them don't work, a few let you connect to battle.net, but you can't join a game... So It's better to use the old wine.

Last edited by Dheart (2007-10-20 12:55:44)


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#3 2007-10-20 22:41:57

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: [FIXED]!"Warcraft 3 On Battle.Net"

It says "==> ERROR : install scriptlet (wine.install) does not exist"

Where do I get wine.install
hmm

Last edited by MarinvHs (2007-10-21 01:11:57)

Offline

#4 2007-10-21 12:23:07

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [FIXED]!"Warcraft 3 On Battle.Net"

# This is a default template for a post-install scriptlet.  You can
# remove any functions you don't need (and this header).

# arg 1:  the new package version
pre_install() {
  /bin/true
}

# arg 1:  the new package version
post_install() {
  /bin/true
}

# arg 1:  the new package version
# arg 2:  the old package version
pre_upgrade() {
  echo ">>> As of kernel 2.6.18, WINE will not work unless you disable the Legacy"
  echo ">>> VM Layout, else you will get segfaults!"
  echo ">>> Please remove the old entry from your /etc/sysctl.conf"
  echo ">>> vm.legacy_va_layout = 1"
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  /bin/true
}

# arg 1:  the old package version
pre_remove() {
  /bin/true
}

# arg 1:  the old package version
post_remove() {
  /bin/true
}

op=$1
shift
$op $*

There you go... forgot to paste that too.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#5 2007-10-21 19:06:41

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: [FIXED]!"Warcraft 3 On Battle.Net"

Now I get this error

 makepkg
==> Making package: wine 0.9.45-1 (Sun Oct 21 17:05:14 BRT 2007)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...

==> Missing Dependencies:
   -> sane
   -> fontforge
   -> flex
   -> bison
==> ERROR: could not resolve all dependencies.

my PKGBUILD file is in /var/abs/local/wine45, together with wine.install file

Last edited by MarinvHs (2007-10-21 19:06:51)

Offline

#6 2007-10-21 23:01:00

Dheart
Member
From: Sofia, Bulgaria
Registered: 2006-10-26
Posts: 956

Re: [FIXED]!"Warcraft 3 On Battle.Net"

Umm... Duh... You are missing dependencies...

pacman -Sy sane fontforge flex bison

Then you should be able to build it.


My victim you are meant to be
No, you cannot hide nor flee
You know what I'm looking for
Pleasure your torture, I will endure...

Offline

#7 2007-10-22 01:05:30

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: [FIXED]!"Warcraft 3 On Battle.Net"

I got this after I did "makepkg" and waited like 3 minutes:

...........
config.status: executing dlls/user32/resources commands
config.status: executing dlls/wineps.drv/data commands
config.status: executing include/wine commands

Configure finished.  Do 'make depend && make' to compile Wine.

PKGBUILD: line 19: make: command not found
==> ERROR: Build Failed.  Aborting...

And when I tried pacman:

[root@myhost abs]# pacman -U wine-0.9.45.tar.bz2
loading package data... 

error: failed to add target 'wine-0.9.45.tar.bz2' (package name is not valid)

Sorry for all the noob questions, but Im beggining with Arch big_smile

Last edited by MarinvHs (2007-10-22 01:06:01)

Offline

#8 2007-10-22 09:37:08

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: [FIXED]!"Warcraft 3 On Battle.Net"

Install make as well.

Further more, pacman installs arch packages which are .pkg.tar.gz and not just .tar.gz (or .tar.bz2)! That's just wine's sources you was trying to install.

Last edited by harlekin (2007-10-22 09:38:37)


Hail to the thief!

Offline

#9 2007-10-22 19:09:16

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: [FIXED]!"Warcraft 3 On Battle.Net"

Oh ok, I was just following the tips since the first answer, and it said to use pacman -U
I found it weird aswell, I'll try your tip now, thanks!!

Offline

#10 2007-10-22 20:00:00

MarinvHs
Member
From: Curitiba, PR, Brazil
Registered: 2007-10-15
Posts: 47

Re: [FIXED]!"Warcraft 3 On Battle.Net"

Thanks a lot it worked now!!

Offline

Board footer

Powered by FluxBB