Programs Won't Run in WINE

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Programs Won't Run in WINE

Post by Sweyn78 »

Hi! I've been using Linux for exactly six days, now, and I've been using Linux Mint for two (I made the mistake of trying to start-out with Debian).
Anyway, I'm trying to get WINE to work. So far, I can get things to install, but nothing really runs. For example:
*Oblivion: works until I click to make a new character, and then crashes before the intro video. There is no music outside of the launcher and the loading videos which come before the main menu. Rated 'Gold' at WINEhq.
*Medieval II Total War: It won't run. Sometimes, it'll give me an error. Rated 'Gold' at WINEhq.
There are others, too, but the only ones that works so far without glitches are Steam and the ones that came automatically with WINE.
Also: I have winetricks installed.

Does anyone have any advice on what to do? I'd try to give more information, but I don't know any WINE diagnostics.

Thanks in advance.
[/img]
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Programs Won't Run in WINE

Post by jjmckenzie »

On Thu, Jul 14, 2011 at 9:06 AM, Sweyn78 <[email protected]> wrote:
Hi!  I've been using Linux for exactly six days, now, and I've been using Linux Mint for two (I made the mistake of trying to start-out with Debian).
Anyway, I'm trying to get WINE to work.  So far, I can get things to install, but nothing really runs.  For example:
   *Oblivion: works until I click to make a new character, and then crashes before the intro video.  There is no music outside of the launcher and the loading videos which come before the main menu.  Rated 'Gold' at WINEhq.
   *Medieval II Total War: It won't run.  Sometimes, it'll give me an error.  Rated 'Gold' at WINEhq.
There are others, too, but the only ones that works so far without glitches are Steam and the ones that came automatically with WINE.
Also: I have winetricks installed.
First and foremost: Please, please, please (gets off of knees) visit
the Applications Database.
The Applications database has helpful information on how to run
programs with Steam and if you want to run these programs in
stand-alone mode.
Second. What winetricks did you install? Some of them may actually
cause problems with the programs you are trying to run.
Thank you.
James
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

I have already checked the application database (that's how I knew what ratings it gave to TESIV and M2TW)
As far as Winetricks go, I'll take some screenshots, upload them, and then link them back here.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

Please try installing World of Goo Demo using winetricks, that's
my standard test application. If that doesn't run ok, something's wrong.

What graphics card and drivers? What version of Wine?
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

My graphics-card is Nvidia 8600 xfx. I have its proprietary driver for Linux installed.
I will download and try that test-application you mentioned.

Here are two screenshots of my Winetricks-config:
*http://www.facebook.com/photo.php?fbid= ... =1&theater
They're both in that same link. You'll pro'bly need to save them to your disk before you can view them.
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

World of Goo works perfectly.
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

So, are there any inherent problems in my winetricks-configuration?
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

Anyone there? :\
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Sweyn78 wrote:Anyone there? :\
You'll get a better response by posting the relevant information here, not uploading it to an external site that requires a login.
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

It shouldn't require a log-in; I have the picture-permissions set-too "Everyone", so everyone on the internet should be able to see them.
I don't believe I can upload screenshots here, as you've suggested. I will try to link to them, though:
Image
Image
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

Unfortunately, you can't get a full version of the pictures when I link to them here. I'll try another upload-site.
Honestly, though, you should be able to access those pictures without having to log-in to Facebook (and, regardless, I'm pretty sure you have a Facebook-account, so this shouldn't be an issue).
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

I've just gone and made an account on Photobucket. I've uploaded both screenshots and set their permissions to "Public" so, again, no-one should be having any problems accessing them.
http://s1131.photobucket.com/albums/m55 ... ricks0.png
http://s1131.photobucket.com/albums/m55 ... ricks1.png
If there are any problems, please let me know and I'll find another image-hosting website.
Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13369
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Looks like you've installed an awful lot of stuff that is not mentioned in the AppDB as being required for either game you've listed. As James already told you, unnecessary winetricks can prevent apps from working.

Pick one of the games and try installing it to a clean wineprefix using only the native dlls specified in the AppDB entry. Follow the instructions in the FAQ to create a separate wineprefix. http://wiki.winehq.org/FAQ#head-faf9617 ... 522d490faf

If it still doesn't work, run it from a terminal and post the output here. If it's long, use pastebin and post a link. Do not post screenshots of terminal output; it's too hard to read.

Also, what version of Wine are you using? If it's not the latest development release, upgrade.
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

Sorry it's taken me so long to reply... :\

Well, I put it in a new wineprefix, but i got the same error. So I reinstalled wine 1.2.2 and reinstalled m2tw. Same error.

I've tried running it from the terminal, but the spaces keep screwing it up; it reads
wine /home/sweyn78/.wine/drive_c/Program Files/SEGA/Medieval II Total War/medieval2.exe
as
wine /home/sweyn78/.wine/drive_c/Program

No combinations of _ or %20 for replacing spaces and no combinations of /// and \\ for replacing slashes have worked.
How would you suggest I attempt to run the program from the terminal?
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

I just figured-out how to run it from the cmd, but it only output what I've boldened below:
CMD Version 1.2.2

C:\windows\system32>CD C:\Program Files\SEGA\Medieval II Total War\
C:\Program Files\SEGA\Medieval II Total War>medieval2.exe
C:\Program Files\SEGA\Medieval II Total War>run medieval2.exe
File not found
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

It said file not found, but It ran m2tw anyway.
I got the same error as I got all the other times. :\
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

Hartmut Figge

Programs Won't Run in WINE

Post by Hartmut Figge »

Sweyn78:
wine /home/sweyn78/.wine/drive_c/Program Files/SEGA/Medieval II Total War/medieval2.exe
[...]
How would you suggest I attempt to run the program from the terminal?
cd "/home/sweyn78/.wine/drive_c/Program Files/SEGA/Medieval II Total War"
wine medieval2.exe

Hartmut
--
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User :-)
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Programs Won't Run in WINE

Post by jjmckenzie »

On Tue, Jul 19, 2011 at 12:06 PM, Sweyn78 <[email protected]> wrote:
Sorry it's taken me so long to reply...  :\

How would you suggest I attempt to run the program from the terminal?
Try this:

cd $HOME/.wine/drive_c/Program\ Files/SEGA/Medival\ II\ Total\ War
wine medieval2.exe

If you want to capture output to a logging file to upload to a site
like pastebin.com:

wine medieval2.exe &> medieval.log

Linux will 'expand' the backslash-space to be a space.

Also, we ask that you try to run this program in the latest
development release as there have literally been thousands of changes
since 1.2.2 was released.

James
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

I've just upgraded to the development-release and run the script you gave me. Here's the output:

sweyn78@sweyn78-mint ~ $ wine /home/sweyn78/.wine/drive_c/Program\ Files/SEGA/Medieval\ II\ Total\ War/medieval2.exe
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_HANDLE_INFORMATION
fixme:ntdll:NtQueryObject Unsupported information class 3
err:rpc:I_RpcGetBuffer no binding
fixme:win:EnumDisplayDevicesW ((null),0,0x3a69090,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x3a68c10,0x00000000), stub!
fixme:file:K32EnumPageFilesA (0x30e2680, 0x3a49b8c) stub
fixme:file:K32EnumPageFilesA (0x30e2680, 0x3a144a8) stub
fixme:win:EnumDisplayDevicesW ((null),0,0x39b0730,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x39b02b0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x39b0734,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x39b02b4,0x00000000), stub!
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQuerySystemInformation (0x00000007,0x3a41df8,0x00000018,(nil)) stub
fixme:cdrom:CDROM_GetMediaType : faking success
fixme:ntdll:server_ioctl_file Unsupported ioctl 2d1400 (device=2d access=0 func=500 method=0)
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:server_ioctl_file Unsupported ioctl 4d0008 (device=4d access=0 func=2 method=0)
fixme:cursor:SetSystemCursor (0x10056,00007f00),stub!
fixme:cursor:SetSystemCursor (0x10084,00007f00),stub!
fixme:cursor:SetSystemCursor (0x10092,00007f8a),stub!
fixme:cursor:SetSystemCursor (0x100a0,00007f03),stub!
fixme:cursor:SetSystemCursor (0x100ae,00007f01),stub!
fixme:cursor:SetSystemCursor (0x100bc,00007f88),stub!
fixme:cursor:SetSystemCursor (0x100ca,00007f86),stub!
fixme:cursor:SetSystemCursor (0x100d8,00007f83),stub!
fixme:cursor:SetSystemCursor (0x100e6,00007f82),stub!
fixme:cursor:SetSystemCursor (0x100f4,00007f84),stub!
fixme:cursor:SetSystemCursor (0x10102,00007f04),stub!
fixme:cursor:SetSystemCursor (0x10110,00007f02),stub!
fixme:cursor:SetSystemCursor (0x10056,00007f00),stub!
fixme:cursor:SetSystemCursor (0x8002a,00007f8a),stub!
fixme:cursor:SetSystemCursor (0x80022,00007f00),stub!
fixme:cursor:SetSystemCursor (0x20026,00007f03),stub!
fixme:cursor:SetSystemCursor (0x20024,00007f01),stub!
fixme:cursor:SetSystemCursor (0x50066,00007f88),stub!
fixme:cursor:SetSystemCursor (0x1006a,00007f86),stub!
fixme:cursor:SetSystemCursor (0x1006e,00007f83),stub!
fixme:cursor:SetSystemCursor (0x10072,00007f85),stub!
fixme:cursor:SetSystemCursor (0x10076,00007f82),stub!
fixme:cursor:SetSystemCursor (0x1007a,00007f84),stub!
fixme:cursor:SetSystemCursor (0x1007e,00007f04),stub!
fixme:cursor:SetSystemCursor (0x10082,00007f02),stub!
fixme:process:GetLogicalProcessorInformation ((nil),0x3a659c0): stub
fixme:ntdll:NtQueryInformationProcess (process=0xffffffff) Unimplemented information class: ProcessDeviceMap
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_HANDLE_INFORMATION
fixme:ntdll:NtQueryObject Unsupported information class 3
err:rpc:I_RpcGetBuffer no binding
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

That's without the no-CD patches recommended by WINEhq. With them, even when I export to a .logfile, there is no output, whatsoever, but I get the same error-messages.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

For the record, winehq.org does not recommend any no-cd patches,
as they are illegal in the US and some other countries.

Any user posts on the appdb or forum that recommend no-cd patches
are against winehq.org policy, and may be deleted by administrators.
Sweyn78
Level 2
Level 2
Posts: 16
Joined: Thu Jul 14, 2011 11:05 am

Post by Sweyn78 »

Here's the link I got it from.

Anyway, what can be derived from the output it gave me?
Locked