Many thanks go out to Julio Fernandez for posting in the bug report the solution to the model rendering issue, please refer to post #30 and #31 for bug report 14608. I will update the how-to in the next few days to reflect these new patching changes and installing with wine 1.1.7
Warhammer Online requires a patched build of Wine to render characters properly. Compiling Wine from source carries the risk of conflicting with your distribution's or WineHQ's packaged Wine binaries.
When you build a copy of Wine, there will be a wine symlink at the top of the build tree (ie. where you ran make from) which you can use to run programs with that Wine version without needing to install it.
Known issues and workarounds
Patcher window doesn't appear, seems to hang after "fixme:shdocvw:PersistStorage_InitNew (0x132118)->(0x7c26d0)"
This is some kind of threading issue. Kill the patcher and try again. Consider running another Wine application first (eg. winecfg) and then retrying the patcher. Another possible workaround is to run wineboot -e or wineboot -r in another terminal, although some people report that also kills the patcher.
See bug 15323 for details. Comment 12 has a hack-patch that might improve things.
Game hangs on "Handshaking" when connecting to server
For some reason, the Warhammer Online login code makes a request for the Linux entropy source /dev/random, which Wine (bug 15883) allows. Warhammer Online then drains that file, and keeps waiting for more entropy to appear.
The workaround for now is to install something that adds entropy. Choices include the rng-tools or randomsound packages, or moving your mouse cursor around.
Note that randomsound requires a microphone plugged in to be useful, and rng-tools requires that your computer has a hardware RNG present.
As an absolute last resort, you can recycle your urandom device back into your entropy pool; this may compromise the quality of your entropy pool, and hence nearly any secure communications undertaken by your machine (eg the actual WAR login handshake itself!) so I do not recommend this method.
Character models do not render, just their weapons
This means you aren't using a patched Wine, as per the comments. (There was a HOW-TO, AppDB ate it.)
The short answer is, you need to rebuild Wine with source patched to report a feature Wine doesn't support, and that WAR doesn't use, so that WAR will us a feature that Wine does support.
A patch to implement this (unused by WAR) feature has been created by Claudio Ciccani, but is currently held by the Wine developers to be the incorrect approach to solving the problem. This patch however should solve this problem, and the most recent version can be found in bug 6955.
GL_OUT_OF_MEMORY errors after playing for a little while
Possibly bug 13335, try the mmap and malloc patches from that bug and see if they help.
I'm not sure how to progress this upstream yet, still need the patches reviewed for sanity.
Direct-fire weapons are unusable due to mouse control weirdness
No workaround yet, sorry. Just throw your knives, axes or anything else not tied down at the enemy.
Old problems (fixed prior to Wine 1.1.14)
Patcher complains "The patch client was unable to retrieve the file [patcher.prod.sig] from the patch server. Please try the patch operation again in a short while."
You're
using Wine older than 1.1.12. You need to either upgrade or use native
winhttp.dll in Wine. Note that Wine 1.1.12 appears to have other
issues, so be sure to use something more recent than that.
Patcher window appears, but nothing renders, with "err:ntdll:RtlpWaitForCriticalSection
section 0x7ea923e0 "../../../dlls/gdi32/freetype.c: freetype_cs" wait
timed out in thread 0018, blocked by 001b, retrying (60 sec)" and "err:ntdll:RtlpWaitForCriticalSection
section 0x7ea92480 "../../../dlls/gdi32/gdiobj.c: GDI_level" wait timed
out in thread 001b, blocked by 0018, retrying (60 sec)"
An intermittant internal Wine locking error (bug 16725) fixed in Wine 1.1.14. Kill the patcher and try again, or upgrade to a newer version of Wine.
Ubuntu HOWTO version 1.1.29
This howto is based off of Paul Hampson's howto.
Important - Not tested under AMD or ATI or 64bit OS Systems
0. You need to compile the wine source. Download it from here.
5. Open terminal in the Wine directory where you are compiling and type:
patch -p0 < war_rend_hack.patch
./tools/wineinstall
winecfg
6. Change the windows type to Windows XP.
7.
Create a folder on the desktop with the name WAR. Copy the data of the
dvd's from the folders data1 and data2 to there. When finished, open
terminal and type:
mv ~/Desktop/WAR/ ~/.wine/drive_c/WAR/
8. Download winetricks from here and put it in the Desktop.
9. Set permissions to the file so you can run it. After that open terminal and type:
cd ~/Desktop
./winetricks directx9
If
in the end after the install the window don't close go to the terminal
where you wrote the things and click Control+C on the keyboard.
10. Download and place the dlls in your WAR directory:
Warpawnr
by Chris Brainard on Friday August 28th 2009, 9:50
Please be WARNED that if you use Warpawnr it is at your own risk. The app is a binary and you can't view the source code. So you may be putting your account at risk to be stolen or your linux box hacked if you give it root access to allow it to run.
d3d error
by Chris on Sunday August 23rd 2009, 7:56
Could someone please point me into the right direction on what's going wrong here?
I created a new wine environment built a new wine binary (1.1.28)
When starting the Patcher runs fine but the war.exe throws hundreds of errors:
>err:d3d:getColorBits Unsupported format: WINED3DFMT_R32G32B32A32_FLOAT
>err:d3d:IWineD3DImpl_IsPixelFormatCompatibleWithRenderFmt Unable to check compatibility for Format=WINED3DFMT_R32G32B32A32_FLOAT[/code]
with varying Format=WINED3DFMT_
WAR briefly shows in the taskbar and quits immediately :(
Neither using only the dlls given in the HowTo nor a full dx9 install via wintricks helped.
What files exactly do I need to patch in order to get around these error?
RE: d3d error by Chris Brainard on
Monday August 24th 2009, 13:57
Two Bugs
by Liquid- on Saturday August 15th 2009, 20:01
Hey, i've just started playing warhammer, running debian linux, AMD/Nvidia. Mostly works, but i get a
err:seh:setup_exception_record stack overflow 348 bytes in thread 0025 eip 04f2eb77 esp 04e311d4 stack 0x4e30000-0x4e31000-0x4f30000
When i lvl (every lvl from since i started) and also when i fight the mobs near tears of whatever.
RE: Two Bugs by Chris Brainard on
Sunday August 23rd 2009, 12:25
automatic install
by Ivo Nunes on Saturday August 8th 2009, 4:06
Hey ppl, remember me? The first warhammer online mantainer?
Well, I'm back... I'm sorry I've been away so long but most of you probably are not from that time... so you don't know me. Well, its simple: I will do a script that automatically installs everything for you (patched wine, dlls, etc) so its easy to install war on linux and at the same time it checks for updates and uses the latest method :) I already codded the hardest part, now ill do the easiest and then test it :P expect a release soon.
Getting an Authentication Error After patcher Login
by Matthew on Sunday July 12th 2009, 10:56
I am running Wine 1.1.25. I am using the script that is used above. The patcher window comes up and ask for user name and password. I enter in the requested into and a few minutes later, it gives me a message saying "Authentication Failed, Please re-enter your credentials" and ask for user and pw again. It does this 3 times and then I get the patcher error.
I know it's the right info, and I have even gone to the master account and reset the info.
WAR logs read as follows:
]
[2009/07/11 21:42:28] LoginService::CreateLoginServices: Mythic Login Services (c) 2008 Electronic Arts
[2009/07/11 21:42:28] libpatchclient initialized.
[2009/07/11 21:42:30] Currently running as [C:\WAR\warpatch.bin]
[2009/07/11 21:42:31] Nothing to patch for [EAMythic Patcher]
Patch 1.1.18 fails on 1.1.23
by Michiel on Friday June 12th 2009, 5:26
Up to 1.1.22 the patch could succesfully be applied and made things work. As of 1.1.23 patching wine with the 1.1.18 patch fails. I have to test out yet if the patch is no longer needed or that the patch needs updating.
Solution to Installation Problem 1603
by Mark Ackerman on Wednesday June 3rd 2009, 17:08
Extract all CD1 archives to a folder. Extract Data2.cab and Data3.cab from cd2 and cd3 in the same folder.
Run the setup.exe.
The installer will not ask for CD2 or CD3, but will ask for cd1 in a windows behind the installer main window in the end, move the installer window and press ok, no more trouble.
Vertex Blending
by Jeppe Winther on Tuesday May 26th 2009, 18:41
Woa, gotta appreciate the work put in here, lovely stuff.
Still though, I seem to be stuck with a bit of a problem.
Game crashes with this error:
fixme:d3d:state_vertexblend_w Vertex blending enabled, but not supported by hardware
wine client error:2f: write: Bad file descriptor
the error number seems to vary, seen error:40, error:20, error:37 and other numbers as well.
I can't figure out why it happens on other chars, not big enough sample size, but I have been able to reproduce it consistently in the Dwarven starting area, using those guns to shoot down Orcs. Seems to crash as soon as I the shot impacts, although I am not entirely sure. Hard to test due to the mouse behaviour being strange, too high sensibility and can't change direction until I've touched the extreme edges of the "screen".
Playing at with all settings to Fastest Framerate / Off on an NVidia 8600M, dual core laptop, Ubuntu 8.04.
Also, is there a way to get past the Handshaking bit that doesn't involve 15-20 seconds of mouse flailing? That'd make it faster to test this stuff.
won't run
by Grrblt on Monday April 6th 2009, 7:55
I'm running 1.1.18 patched and my WAR gets as far as the first loud sound with a black screen (where you'd normally see the EA logo), and then crashes. It was installed under 1.1.18 unpatched - if that will mess things up I need directions to uninstall it since clicking the normal Uninstall Warhammer Online thing from the main menu does nothing.
I get good results in 1024x768 mode, some weird rendering at times but it is playable and can even increase details to a nice level. Yet sometimes getting some flickering on my screen, but not too much of a disturbance.
However when I try 1680x1050 all rendering seems to be off:
- black spots on the floor
- lines on the ground
- ground looks very "patched" (made out of distinguishable squares)
Anyone know if there are other registry settings that may improve and allow 1680x1050?
RE: Graphics by Daniel on
Monday April 6th 2009, 7:33
RE: Graphics by Michiel on
Tuesday April 7th 2009, 4:43
RE: Graphics by Paul Hampson on
Monday April 13th 2009, 10:09
Question on Script
by Ian on Friday March 27th 2009, 23:04
I downloaded the script and it say to edit line 8 where it say USERNAMEHERE The problem is is that the script only has 6 lines
killall warpatch.bin
killall warpatch.exe
cd ~/.wine/drive_c/WAR/
chown -R ivo ~/.wine/drive_c/WAR/
chmod 0755 -R ~/.wine/drive_c/WAR/
WINEDEBUG=fixme-all wine warpatch.bin
Next how do i set the permissions for it and what do you mean i have to save warpatch.exe too, where do i save it?
From there i opened the terminal and followed step 11, but when i enter "wine waarpatch.exe it starts up then a window opens saying The patch client was unable to update the file [C;\WAR\warpatch.bin] Please ensure the game is not already running (its not) and there is free space available on the disk. (Over 100gigs available).
I need to know how to resolve these issues thanks.
How-to Updated
by Ivo Nunes on Saturday March 21st 2009, 7:39
Hey! I updated the how-to for 1.1.17 :)
WAR has much better performance with it than with 1.1.11 (in my opinion) and I added the patch to implement the missing function instead of using the old "hack".
Fixing Patch wine-1.1.8
by Juan on Sunday March 15th 2009, 16:08
Ok, i have being watching the patch and i think i have fixed it, in fact there wasn't too much to fix i recommend you to do all the steps above but using the fixed patch if you are using wine-1.1.17, also i recommend to use this script once you have already used the other.
Script:
Use it after using the other script that is posted in the howto: i have it in my WAR folder but i think it works everywhere, if it doesn't work the first time try to click it again, it removes the fixmes so gives a better perfomance
problems after patch 1.2
by Botska on Sunday March 8th 2009, 13:44
After gamepatch 1.2, warhammer started to crash very often. Game just disappears without any errormessages. This has made game almost unplayable. Can anybody help me or does anyone else even have same problem?
disabling shader optimizing
by Daniel on Wednesday March 4th 2009, 15:29
I noticed that you need to disable 'shader optimize" ingame video settings to get ATI card to run war.
Performance is low and I can see some lines at the ground.
seems to fix this issue by disabling the shader optimization:
fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x14b678) call to IWineD3DDevice_CreateSurface failed
but it generates this:
fixme:d3d_shader:shader_glsl_load_constants >>>>>>>>>>>>>>>>> GL_INVALID_OPERATION (0x502) from glUniform4fvARB @ glsl_shader.c / 530
The wineserver -k is necessary to stop any running wine processes. Without that, the game won't start if you are impatient and start it again too soon. The chmod +x is necessary because the patcher running under wine is not setting executable permissions. With this script, the game launches about 90% of the time so if it fails, wait a few seconds and run it again. You don't need to install directx9, you can just copy the d3d9_36.dll to your warhammer folder. The patch in the howto is necessary, however, to make your character visible. To patch wine, you don't need to compile the whole thing, takes 20 minutes. You can just ./configure and run "make" inside the wine dll folder of the file that was patched and then copy the compiled dll to your existing wine install. Takes maybe 2 minutes to patch that way.
RE: wined3d by Daniel on
Thursday October 30th 2008, 9:53
Installing from Disc
by Aziz Mandar on Sunday October 5th 2008, 1:44
After reading the notes on the latest test then reading the comments on how to get it running I realized we are missing how to install from Disc.
The Install program does not work so don't try and use it.
Instead copy the contents of the Folder 'data1' from DISC 1 and 'data2' from DISC 2 to a directory in the drive_c folder of your .wine folder. (I called it WAR) Then follow the directions above.
For those who need to type "iiiiiiiiiiiiiiiii" for the patcher
by Mat on Wednesday September 24th 2008, 8:58
To avoid the assertion messages when launching the patcher, you can put your password directly in the patch_user.xml : you have Login name="blabla", just add password="s00persekret"
Unfortunately, that doesn't change anything for me, I can't get to the patcher window without closing the virtual desktop, and so it just closes afterwards :/