This is a how-to install a game called The Wheel Of Time, along with the game editor, using wine on Linux. If needed, download the resources files. During this manual, I will reference the folder to which you downloaded the resources as $resourcedir.
You will need first to prepare a fresh wine directory using the WINEPREFIX environment variable. I advise you to create a new directory, set WINEPREFIX and start wineprefixcreate. I also advise you to switch the Wintows version to Windows 98:
mkdir wine cd wine export WINEPREFIX="`pwd`" wineprefixcreate cat <wine.reg <<EOF REGEDIT4 [HKEY_CURRENT_USER\Software\Wine] "Version"="win98" EOF regedit wine.reg
Then, you should mount your WoT CD-ROM as D:. For example:
ln -s /media/cdrom "$WINEPREFIX/dosdevices/d:"
Install the game as usual. Prefer to use the default directory C:\WheelOfTime.
wine 'd:\AUTOPLAY.EXE'
Important: if you want an editor that works, please do that before installing the 333 patch.
First install the UnrealEd fix. Don't forget to change the C:\Unreal during the installation to C:\WheelOfTime
wine "$resourcedir/wotedfix3/unrealedfix4.exe"
Then install as needed the missing files for WoTEd to run. For example:
cp \ "$resourcedir/wotedfix3/COMDLG32.OCX" \ "$resourcedir/wotedfix3/VB6/msvbvm60.dll" \ "$WINEPREFIX/dosdevices/c:/windows/system32"
If there is an error telling that bitblt succeeded, that's the wine bug #7451. Just recompile wine with the bitblt.patch patch.
If the editor complains about other files, try to install them as well. Now it should work properly.
Don't forget to keep the CD1 in the drive D: for that operation. Then install the patch that suits best your locale:
When you install the game, you can see exactly which version you have. If you have the international English version, just look at the installer and you can't miss it.
For me it was:
wine "$resourcedir/WoTPatch333Intl.exe"
If you want to play without the need of the CD, follow these instructions. First copy dplayerx.dll to C:\WheelOfTime\System, then run unSafedisk.exe and locate the file C:\WheelOfTime\System\WoT.icd. It will create a testme.exe executable that will work without the CD.
cp "$resourcedir/dplayerx.dll" "drive_c/WheelOfTime/System" cp "$resourcedir/unsafediscv155/unSafedisc.exe" "drive_c/WheelOfTime" wine 'c:\WheelOfTime\unSafedisc.exe' pushd "$WINEPREFIX/dosdevices/c:/WheelOfTime/System/" mv WoT.exe WoT.old.exe mv testme.exe WoT.exe popd
I've written a script that automate these steps. Don't run it without reading it first as you must places properly the files in $resourcedir. It expects the following files: