Nico165b165
Posts: 419
Joined: 1/28/2007 From: Mons, Belgique Status: offline
|
I tried today to install and play WitW on a Linux installation... and it was surprisingly easy ! So, this is not a post to ask for help, but rather a small tuto explaining what I did. Beware, different configurations may cause very different outputs, but if you encounter a problem please explain it and maybe we'll find a solution for you. My configuration Hardware : processor Intel Core I7 2600k, 8 GB RAM, graphic card NVIDIA GeForce GTX 770, sound card SB0570 Audigy SE Software : Linux Mint 17.1 64 bits Cinnamon, NVIDIA-340 graphic drivers, Wine and PLayOnLinux How to do it I use www.playonlinux.com to run Windows applications on Linux. It is based on Wine and automate a lot of the work. PlayOnLinux can install and run as many Wine virtual disks as you want, so you can set up each application exactly like you want. To get PlayOnLinux : https://www.playonlinux.com/en/download.html (I use Ubuntu packages for Linux Mint) To get Wine : https://www.winehq.org/download/ (idem) Start PlayOnLinux. I already have one installation of WitW, I'm just running the installation a second time to take screenshots. Select "Install a program", then "Install a non-listed program" in the bottom left corner. You'll see a "Welcome to PlayOnLinux manual installation wizard" screen. Click next. Then select "Install a program in a new virtual drive" and click next. It will then ask you a name (without spaces) for your virtual drive. Thats the name of the folder which will contain your Wine prefixe for WitW in [home]/.PlayOnLinux/wineprefix. Just write a name you remember, you'll need to find that folder later on. I choose "warinthewest". The next screen asks what would you like to do before installation. Select nothing and click next. Then you have to select "32 bits windows installation" or "64 bits windows installation". I choose 64 bits because my "Windows" WitW runs on Windows 8.1 64 bits. I think it would work on 32 bits too, I saw nothing about WitW being 64-bits only. Click next. At this point, PlayOnLinux will create the Wine prefixe (= virtual disk) for your WitW. You'll see a Wine pop-up and a few messages in the PlayOnLinux window. Now we are going to install WitW in this brand new virtual disk. PlayOnLinux asks to "Please select the install file to run". Click "Browse" and go find your installation file, the same you donwloaded on purchase. It's called "GaryGrigsbysWarInTheWestv100.exe". Click next. At this stage, I have an error message because my installation file is located on an external HDD. I just click next and it works. Now we come back on a familiar ground : the good ol' Matrix installer ! It works exactly the same as if you were on Windows. Accept licence, enter serial, say where you want to install it. The difference is that, instead of installing it on C:/[path to your WitW install], it will install it in [home]/.PlayOnLinux/wineprefix/[your virtual disk]/drive_c/[path to your WitW install]. It is important to remember how you named your virtual disk and what path you choose inside the virtual disk. Note that shortcuts will not work based on what you chose during the installation, you'll have to set it up later. When Matrix's installer has finished its job, click finish in the "Installation successful" window to go back to PlayOnLinux. Last step is setting up the shortcuts. Why doing it like this ? Remember Linux can't directly run .exe files, so you can't just create a shortcut to an .exe and hope it will work... You have to call Wine first via PlayOnLinux, and that's what's being configured here. The procedure is simple : click on an .exe, click next, chose a name for the shortcut, click next and it's ok, you have a working shortcut on your desktop. But which .exe ? Two possibilities : - WarInTheWest.exe will directly launch the game without the launcher -> faster, but no easy access to the manual. - autorun.exe is the Matrix launcher with its usual links. You can chose one or the other or both. When you're done, just select "I don't want to make another shortcut" and click next. Now you can launch WitW from the desktop or from PlayOnLinux. Congratulations ! (If everything works ) For those who already know about Wine/PlayOnLinux, note that I didn't need to setup any Winetricks or particular configuration. Everything works straight from the box : graphics, sounds, functionalities... No problem encountered so far. Patching the game Well, there is something left. We have installed a 1.00.00 WitW, and obviously we want to use the latest patch. We can't use the auto-updater : it's an .exe file trying to download and install another .exe file, this cannot end well on Linux. So here's the trick : First, download the installer .exe file for the patch. Matrix usually provide a link in the announcement (see here for WitW 1.00.08 http://www.matrixgames.com/forums/tm.asp?m=3764210) or in your member's space. Then, go to the folder where you downloaded it, right-click on the file and select "Open With -> Wine Windows Program Loader". This will tell Wine to launch the installer as if you were on Windows. Then it's as if you were updating WitW on Windows. One difference : the installer won't auto find your installation, because it has no access to a Windows registry. That's where you need to remember where your WitW is : [home]/.PlayOnLinux/wineprefix/[your virtual disk]/drive_c/[path to your WitW install] <- that's the information you need to tell the installer. Keeping your saves If you already have another installation of WitW on Windows and you want to keep using your saves, it's easy : the saves are always stored in [path to your WitW install]/Dat/Save, so you just have to copy the content of this folder from your previous installation to the current one. Anything else ? If something is unclear, wrong (it may certainly happen ), missing... Or if you have some other useful tips, please comment and I'll add it to the OP.
_____________________________
|