Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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

amstream
d3dcompiler_43
d3dx10
d3dx11_42
d3dx11_43
d3dx9_26
d3dx9_28
d3dx9_31
d3dx9_35
d3dx9_36
d3dx9_39
d3dx9_42
d3dx9_43
d3dx9
dirac
directx9
dotnet20
dotnet40
ffdshow
icodecs
l3codecx
mfc42
mono210
msvcirt
physx
quartz
vcrun2008
vcrun2010
vcrun6sp6
vcrun6
winhttp
wininet
wsh56vb
wsh57
xact_jun2010
xact
xinput
xna40
xvid

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"  
winecfg  

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 

or

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)
share|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
    
Here is the result of the locate *wine* command: pastebin.com/W17iJxFC. –  Adrian Keister Jun 19 '13 at 19:39
1  
For the BADSIG see askubuntu.com/questions/1877/… –  Luis 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 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 Jun 19 '13 at 20:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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