
What you need is to get a hex editor (e.g. Replace it with Then do the same two more times - in all, there should be 3 such sequences in the file. Now save it and then simply run AoW.exe with Wine! Here's a quick & dirty bash script if you don't want to deal with the hex editor. It'll make a backup copy of the file with ~ suffix as well. (the forum screws the above code up by inserting random spaces inside the long binary strings near the end - remove them after pasting it). This should be enough to get single-player working, both standalone maps and the campaign. There are a few very minor graphic glitches I've noticed, one to do with the topmost (half-visible) row of tiles on the global map, another with gold & mana counters on the status bar (they become garbled for a moment when they are updated), but nothing serious. Multiplayer is a bit more tricky. AoW uses DirectPlay for it, and currently, Wine only has very basic support for it (only enough to prevent DP games from crashing). Thus, you'll need some native Windows DLL: The ones from DirectX 9c installation did not work for me, but you can find the ones that do work by searching for the file names and sizes on Google. (I will not give direct links, as these DLLs are copyrighted and most likely cannot be redistributed legally). Copy them to AoW directory, and then The version of Wine I was using is the latest 0.9 beta release. I've also tried it with Cedega 4.4.1, and it does not seem to work with it. [This message has been edited by int19h (edited 10-30-2005 @ 05:14 AM).]
in it (don't forget to make a backup!), and find the following byte sequence:Ilpack.dpl
66 8B 16 8D
74 16 03 81
E6 FC FF FF
0F 48 75 F0
90 90 90 90
90 90 90 90
90 90 90 90
90 90 90 90
#!/bin/bash
ORIG=$'\x66\x8B\x16\x8D\x74\x16\x03\x81\xE6\xFC\xFF\xFF\x0F\x48\x75 \xF0'
REPL=$'\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90 \x90'
sed -i~ s/$ORIG/$REPL/g Ilpack.dpl
dplayx.dll - 218384 bytes
dpwsockx.dll - 17680 bytes