Need some help with WINE please

Associate
Joined
28 Oct 2002
Posts
1,510
Hi
Am very new to Linux and have been looking at WINE. I run Ubuntu and have installed 0.9.4 from the package manager. I have also installed winetools.

A couple of questions to start with.

1) A very basic question first - do i need to install WINXP on my Linux drive using Wine? It doesn't seem to say anything about having to do this on WineHQ but when i run Winetools half the things (even in Base setup) don't seem to work.

2) Any sites that describe how to usw Wine in 'detail' for people new to Linux - WineHQ seems fine if you know Linux well, which i don't.

yours confusedly

Diss
 
Hi,

1) You do not need win XP on your linux drive. Wine creates a windows API, it does not run a virtual windows.

2) To use wine simply type "wine program.exe" in the terminal. To configure wine type "winecfg"
 
thanks Pajeh

done that - the windows installer starts (trying to install a game from a CD) but then locks up after about 5 seconds and there are some error messages (not in Linux at moment - let me know if you want to know exactly what they were).

when i was playing with winetools it mentioned something about the installller locking up and i think it was either to do with fonts or IE6

gonna reboot now into Linux and have another go and report back

cheers

Diss


Hmmm - thinking about it some more - is the idea with Wine that you run a game from a Windows partition OR that you install the win prog in the Linux partition and run it form there?
 
These were some instructions i was following from a forum post - i never did understand what 3. was about and those things mentioned didn't install using Winetools.

Here is what you need to do:
1. Install the latest WINE software from www.winehq.org. There are binary packages for most distributions.
2. Use winecfg to configure your drivers.
3. Use winetools to set up a fake Windows environment. You must install DCOM, IE6SP2, Windows Installer etc. Otherwise InstallShield will stall.
If your X11 setup includes the MS Core TrueType fonts, there is no need to install them again with winetools.
4. Mount the HOI2 CD (eg. /media/cdrom0) and execute the installer:
$ mount /media/cdrom0
$ wine /media/cdrom0/Setup.exe


Diss
 
If it is a directx game it wont run in wine anyway.

To install MS Core TT fonts:

sudo apt-get install msttcorefonts

Then rebuild the font information cache files

sudo fc-cache -f -v
 
I installed the fonts but still have the same problem - I get 2 blue squares on the installer and then it stops:

wine /media/cdrom0/Setup.exe
fixme: ole: ITypeInfo_fnRelease destroy child objects
fixme: ole: ITypeInfo_fnRelease destroy child objects
*********[I deleted loads of similar lines]***********
err: ole:marshal_object object doesn't expose interface {be6115a1-7de5-48dc-ad2a- 25060e00fce2}, failing with error 0x80004002
err: ole: ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface fai led with error 0x80004002
err: ole: marshal_object object doesn't expose interface {be6115a1-7de5-48dc-ad2a- 25060e00fce2}, failing with error 0x80004002
err: ole: ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface fai led with error 0x80004002

Any suggestions? Are there things i should have done in Winecfg first?

thanks

Diss
 
Diss said:
I installed the fonts but still have the same problem - I get 2 blue squares on the installer and then it stops:

wine /media/cdrom0/Setup.exe
fixme: ole: ITypeInfo_fnRelease destroy child objects
fixme: ole: ITypeInfo_fnRelease destroy child objects
*********[I deleted loads of similar lines]***********
err: ole:marshal_object object doesn't expose interface {be6115a1-7de5-48dc-ad2a- 25060e00fce2}, failing with error 0x80004002
err: ole: ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface fai led with error 0x80004002
err: ole: marshal_object object doesn't expose interface {be6115a1-7de5-48dc-ad2a- 25060e00fce2}, failing with error 0x80004002
err: ole: ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface fai led with error 0x80004002

Any suggestions? Are there things i should have done in Winecfg first?

thanks

Diss


You need the latest wine (0.9.8) to get a lot of installers to work. Follow the instructions at http://www.winehq.com/site/download-deb to get it.
 
ahhh thanks - its installed now

Problem is - how do i start the game? Where is it installed? I have browseda around but can't find what i assume is a virtual 'C' drive??????

thanks
 
ok - found the dir you mentioned (it is a hidden dir) but there is nothing in there to do with the prog i installed (Hearts of Iron 2)

i know its installed as it loaded automatically after the initial install

as much as i want to use Linux its the inability of it to let users do simple things that is really frsutrating grrrrrrrrrrrr

right - i have calmed down :)

any other suggested locations?

many thanks

Diss
 
found it in \root

i loaded wincfg and it was on the application tab - not sure what that tab is for as it seems to lose the info after i load it and it doesn't run the program

however when i navigate to the hoi2.exe file and right click and choose "open with Wine windows emulator" i get a "Critical error Excel file not found" - whats that all about?

any ideas what i am doing wrong?

thanks

Diss
 
also, as a general point
if i am here:
root@ubuntu:~/.wine/drive_c # ls
Program Files windows

how do i change into the Program Files directory?
(i usually copy the file name in Properties but it was too long and not all displayed)
(I thought i'd try and run it from a terminal)

thanks

Diss
 
Last edited:
Diss said:
also, as a general point
if i am here:
root@ubuntu:~/.wine/drive_c # ls
Program Files windows

how do i change into the Program Files directory?
(i usually copy the file name in Properties but it was too long and not all displayed)
(I thought i'd try and run it from a terminal)

thanks

Diss

The reason it's in /root is because you installed it as root.

Code:
cd /root/.wine/drive_c/Pro<<Press Tab>>
Try that to get into program files. Then cd to the game directory and execute the .exe using wine.

Tab completion, a bash user's best friend. ;)
 
OK - it now runs - thats brilliant thanks :D

Still have a few probs though:

1) No sound

2) when i quit the program doesn't exit properly and there is still something there in the bottom bar

3) How do i set up a short cut on my desktop to run it (why wouldn't it run form the file browser - could it be because i installed it to root?)

thanks again

Diss
 
Diss said:
OK - it now runs - thats brilliant thanks :D

Still have a few probs though:

1) No sound

2) when i quit the program doesn't exit properly and there is still something there in the bottom bar

3) How do i set up a short cut on my desktop to run it (why wouldn't it run form the file browser - could it be because i installed it to root?)

thanks again

Diss

1) Run winecfg and verify that an audio driver is selected in the audio tab.

2) try "killall wineserver wine-preloader" at a terminal and see if the thing disappears.

3) Normally, you could right click and use the create launcher thing to create a shortcut to the game, but since you installed it as root, it might not be happy running as a normal user. It would be best to install it as a normal user and create a launcher with "wine "/home/yourusername/.wine/drive_c/Program Files/etc/blah.exe"" in the command box (remembering to enter the correct path & .exe name of course)
 
thanks
I get this error message re the sound:
fixme:midi:OSS_MidiInit Synthesizer support MIDI in. Not supported yet (please r eport)
fixme:jack:JACK_drvLoad error loading the jack library libjack.so, please instal l this library to use jack

how do i sort this


will look at the other itmes tomorrow

thanks for all the help - much appreciated

Diss
 
Just ignore them, it's only complaining that it doesn't support midi on your sound card and that you don't have a jack server installed (low latency audio server), neither of which matter.
 
you might get better performance if you use cedega.

Basically, cedega is like wine but specifically for games. You have to pay to use it, or you can get the cvs version for free :)

download http://winecvs.linux-gamers.net/WineCVS.sh
then open a terminal where you put it and do
sh WineCVS.sh
then press 'g', and keep pressing enter until you get to the bottom (there are 9 things). Then type '0' (that's a zero), and wait for it to download. Then press 'r', then '0', then follow the instructions.

Have fun! (btw, you can also get the cvs (and thus newer) version of wine using that script)
 
Back
Top Bottom