Garena
-
- Level 1
- Posts: 5
- Joined: Fri Aug 27, 2010 4:57 am
Garena
Hello guys, i saw in database that there is a way to run Garena with Wine. There are some comments, but i don't understood all, can you please sum them and make an small instruction - how to run Garena. Thank you.
-
- Level 1
- Posts: 5
- Joined: Fri Aug 27, 2010 4:57 am
Re: Garena
What gave you that idea? All I see are garbage ratings.H0lyGanGs7eR wrote:Hello guys, i saw in database that there is a way to run Garena with Wine.
If there are specific comments you don't understand, quote them and tell us what you find confusing.There are some comments, but i don't understood all, can you please sum them and make an small instruction - how to run Garena.
Garena
H0lyGanGs7eR <[email protected]> wrote
James McKenzie
There is a link to the bug with a 'hacked' patch that will allow Garena to run with Wine. However, the patch has been rejected as it breaks the ability to run other programs. Use with CARE and you will have to build your own Wine from Git sources. And the patch may not be maintained and thus may not apply to the current version of Wine nor may Wine build or run with it applied. Use at YOUR OWN RISK.Sent: Aug 27, 2010 3:02 AM
To: [email protected]
Subject: [Wine] Re: Garena
http://appdb.winehq.org/objectManager.p ... &iId=19336
There is the link
James McKenzie
-
- Level 1
- Posts: 5
- Joined: Fri Aug 27, 2010 4:57 am
I don't know how to patch my with with this AcceptEx patch. This is the main problem. Can you write some commands how to do it?Hi,
As of 2010-07-15, with a few tricks, Wine + Garena + Warcraft III seems to work ok together.
I have just started from scratch to make sure it works. And I'm trying to recap what I've done.
Wine used: repo.or.cz/wine/hacks.git
I used this version only because it already has the AcceptEx patch in it. As far as I know, git wine will also work if you apply the AcceptEx patch yourself.
1. Starting with a fresh WINEPREFIX, for example:
$ mkdir /home/pigeon/tmp/wc3
$ export WINEPREFIX=/home/pigeon/tmp/wc3
2. I first run winecfg to configure a virtual desktop of 1024x768, a personal preference really.
3. Install Warcraft III, then Frozen Throne, then update with the latest patch. You can download patches from Blizzard's ftp. I upgraded mine via battle.net.
If you have an already installed Warcraft III, you can use it by copying the whole installed directory into the new WINEPREFIX. You may also want to import some old registry too.
4. I used winetricks to install ie6. This makes certain GUI part of Garena work. I also tried gecko and it doesn't work as well as ie6 within Garena. But I believe this does not affect the actual game play.
5. Install Garena. Don't let the installation run Garena yet.
6. Run Garena with WINEDEBUG=+relay. For example:
$ WINEDEBUG=+relay wine "c:\Program Files\Garena\Garena.exe" 2>/dev/null
Note that the +relay slows everything down quite a bit. But it's still quite playable, at least on my 3+ years old laptop. Without the +relay, Garena's war3hook.dll will crash when you try to join a game (or when someone else joins your game) in Warcraft3.
7. Run 'ps axw | grep winedevice' from another terminal until you see processes like this:
20742 ? Sl 0:00 C:\windows\system32\winedevice.exe MountMgr
20764 ? Sl 0:00 C:\windows\system32\winedevice.exe GarenaPEngine
8. Kill the process with GarenaPEngine, e.g. kill 20764
If you are really lazy, you can also just keep typing 'killall winedevice.exe' until Garena's GUI comes up. It will kill that MountMgr in this case, but it doesn't seem to affect Garena and Warcraft3.
9. Garena's GUI should come up. From this point onwards, you should be fine. You can join a room, start Warcraft3, see other's games, join games, and play games. Remember to setup the path to Warcraft 3 to run war3.exe.
10. Goto Oceania, one of the Australia DotA Rooms, look for me, say hi, and maybe we can play a game
http://wiki.winehq.org/FAQ#head-7ed3c31 ... 53dc41817bH0lyGanGs7eR wrote: I don't know how to patch my with with this AcceptEx patch. This is the main problem. Can you write some commands how to do it?
-
- Level 1
- Posts: 5
- Joined: Fri Aug 27, 2010 4:57 am
There is no GUI way to build Wine from source, which is what you have to do if you're going to patch it.H0lyGanGs7eR wrote:It's really hard to find how to do it in this manual. Please tell me only what to whrite in console ( possible with GUI too ), it's the last thing i need to do, to play my favourite game. Garena works perfect with wine 1.3.1, i need only the acceptex patch to join games! Help please!
Once you have all of Wine's dependencies installed, cd to the source directory and run these commands:
Code: Select all
patch -p1 < foo.patch
./configure
make
sudo make intall
Note that this is an unsupported patch that may not apply cleanly to current Wine and if it doesn't work or causes problems with other apps in Wine, you're on your own.
We're getting close to not needing a patch for AcceptEx. The latest version,
http://source.winehq.org/patches/data/65582
was rejected yesterday
http://www.winehq.org/pipermail/wine-de ... 86359.html
but I'm sure Mike will fix it up and resubmit soon.
http://source.winehq.org/patches/data/65582
was rejected yesterday
http://www.winehq.org/pipermail/wine-de ... 86359.html
but I'm sure Mike will fix it up and resubmit soon.
-
- Level 1
- Posts: 5
- Joined: Fri Aug 27, 2010 4:57 am
-
- Level 4
- Posts: 102
- Joined: Sun Oct 11, 2009 7:03 am
Guys it really worked HERE!!!
Finally, I could play garena on Linux!!!
It worked without any crash bug or any major issue.
The only problem that I realized is that it don't display all games on the screen to select.
I could play it only adding a killall winedevice.exe on the shortcut for Garena.
In this way, you can play garena on making it's shortcut command be:
Too simple.
My system is:
Ubuntu 10.04 and wine 1.3.2
Finally, I could play garena on Linux!!!



















It worked without any crash bug or any major issue.
The only problem that I realized is that it don't display all games on the screen to select.
I could play it only adding a killall winedevice.exe on the shortcut for Garena.
In this way, you can play garena on making it's shortcut command be:
Code: Select all
env WINEPREFIX="/home/fernando/.wine" wine C:\\Arquivos\ de\ programas\\Garena\\Garena.exe && killall winedevice.exe
My system is:
Ubuntu 10.04 and wine 1.3.2