Xubuntu 12.04. HP Compaq nc8430. 2 GB RAM. Wine 1.4.

I'm trying to run Castle of the Winds, an old 16-bit Windows application, in Wine. I've put the application in .wine/drive_c. I've added it as an application in Wine, and I've tried setting the Windows version to 3.1, and I've also tried Win XP. Each time I try to run the app, Xubuntu freezes. I can do a Ctl-Alt-F4, and then a Ctl-Alt-Del to reboot. This application is not a DOS application, so I don't think DOSbox will help.

Any ideas?


I am running it with the Windows version set to Windows XP (Using Ubuntu) with the following packages and wine version:

Wine 1.5.31 (You need to use the PPA for this)
Default OS - Windows XP
Wine Prefix - 32 Bit (I had to change it to 32 bit since I have a Ubuntu 64 Bit)

winetricks list-installed


Now of course you do not need to install all of this winetricks packages but I am posting them here so you know which ones I have and work your way until the game works.

To install the most up to date version of Wine follow what is mentioned in the Official Wine for Ubuntu Page:

sudo add-apt-repository ppa:ubuntu-wine/ppa  
sudo apt-get update  
sudo apt-get install wine1.5  

To set the Windows 32 bit Architecture you need to do the following before installing anything in Wine:

rm -fr ~/.wine  
export WINEARCH=win32  
export WINEPREFIX="/home/cyrex/.wine"  

NOTE: Change the word cyrex to your username. In my case my username is cyrex.

To change the Default OS, simply open winecfg in either the Dash or the Terminal and the first Window that opens holds the option at the bottom to change the Default OS.

enter image description here

To use winetricks simply open it via the terminal with the --gui parameter:

winetricks --gui  

Then simply select the following options to get to the DLL/Component

Select the default wineprefix --> Install a Windows DLL or Component

Now start installing them. Do not select all of them since some depend on others. But like I mentioned before, most likely you do not need all of this packages for this game. For example, there is no need to install .NET or DX10 for a 16 bit game. This is only to cover most of the games and apps that are in Windows.

Here are some pics:

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

Lastly, after you update to the latest Wine version, set the 32 bit arch and open winecfg and set it to Windows XP if not set by default already, check to see if the game runs. If it does run, I encourage you to post your results in Wine's Castle of the Winds AppDB. I would do it by since I have too many winetricks packages installed for a simple 16 bit game, I would not be the correct candidate to provided the relevant data for other users that would want to use this game. Instead, since you are starting from scratch, you would be the perfect one for this.

To troubleshoot yourself from Wine 1.4 to Wine 1.5 do the following:

apt-get purge wine1.4 


apt-get purge wine

Now DELETE the wine folder (This will remove everything you have ever installed in Wine so do a backup first):

sudo rm -fr ~/.wine"

After this reinstall wine as described above when you added the official PPA. This should leave you with a updated wine. You can check the version of wine by typing wine --version.

To see which versions your Ubuntu version supports type the following:

apt-cache search wine1 | grep "wine1.. -"    

It should output something similar to this:

cyrex@cyrex:~$ apt-cache search wine1 | grep "wine1.. -"
wine1.4 - Microsoft Windows Compatibility Layer (Binary Emulator and Library)
wine1.5 - Microsoft Windows Compatibility Layer (dummy package)
wine1.6 - Microsoft Windows Compatibility Layer (Binary Emulator and Library)
| improve this answer | |
  • Ok, the error stream (I figured the stdout was uninteresting) from the sudo apt-get update command is here: pastebin.com/u8jxKTUq. – Adrian Keister Jun 19 '13 at 19:36
  • 1
    For the BADSIG see askubuntu.com/questions/1877/… – Luis Alvarado Jun 19 '13 at 20:49
  • 1
    For the wine files with locate I would first do a apt-get purge then continue with something similar to this askubuntu.com/questions/86702/… to delete all wine files. The files located inside your home folder are never deleted byt apt-get purge for safety reasons. I would delete the "/usr/lib/i386-linux-gnu/wine/" folder before doing this. Save you some time there. Before doing this however, you need to first remove the wine PPA since it also appears on that locate list. – Luis Alvarado Jun 19 '13 at 20:53
  • 1
    I should also mention your problems are already outside the scope of running a 16 bit game on wine. You have other issues so I recommend searching in Askubuntu for each case. The BADSIG was one. The additional packages in /var/lig/dpkg and /var/cache/apt showed that you tried several versions, this means you need to do a cleanup using apt-get / aptitude first before installing wine again. So please search askubuntu for any other issues that are not related to 16 bit on wine since all of this issues have already been mentioned. – Luis Alvarado Jun 19 '13 at 20:58
  • 1
    Well, kudos to @LuisAlvarado: the latest version of Wine with as many of the packages listed above installed, works. It even works better than before, on account of the spell animations working (they didn't before). So, excellent! – Adrian Keister Sep 29 '18 at 13:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.