Run Total War Medieval under wine

Questions about Wine on Linux
Locked
timoteob
Level 1
Level 1
Posts: 6
Joined: Fri Jul 08, 2016 8:09 pm

Run Total War Medieval under wine

Post by timoteob »

HI,

First time using wine. I have got wine 1.8 running under Ubuntu Game pack 14.04. I successfully installed the game. But when I run it from the GUI I get the slash screen and the screen resolution changes and then the game crashes to the desktop.

If I try to run it with the command line I get the following message:

fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x42abc4
ubuntu@ubuntu:~$ fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x62e59c,0x65244a): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x00000060,0x13d2d0,0x65244a): stub
err:eventlog:ReportEventW L"6"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub
fixme:advapi:RegisterEventSourceA ((null)," "): stub
fixme:advapi:RegisterEventSourceW (L"",L" "): stub
fixme:advapi:ReportEventA (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x62e59c,0x6524c2): stub
fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000000,(nil),0x0001,0x000002cc,0x13d2d0,0x6524c2): stub
err:eventlog:ReportEventW L"7"
fixme:advapi:DeregisterEventSource (0xcafe4242) stub

Thank you for any help getting this to run.

Timoteob
timoteob
Level 1
Level 1
Posts: 6
Joined: Fri Jul 08, 2016 8:09 pm

Re: Run Total War Medieval under wine

Post by timoteob »

Ok, I was thinking that there might be a driver issue so I switched for the default driver to nvidia's linux driver version 352.63. No change I attempt to run the game.
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Run Total War Medieval under wine

Post by dimesio »

Try upgrading Wine to the latest development release. Use the WineHQ packages. https://wiki.winehq.org/Ubuntu
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Run Total War Medieval under wine

Post by Bob Wya »

timoteob wrote:Ok, I was thinking that there might be a driver issue so I switched for the default driver to nvidia's linux driver version 352.63. No change I attempt to run the game.
Are we talking about this version?? - See WineHQ AppDB - Medieval 1: Total War

Then you definitely need to update Wine (as dimesio suggested)!! You must use a release newer than Wine 1.9.8 ...

Bob
timoteob
Level 1
Level 1
Posts: 6
Joined: Fri Jul 08, 2016 8:09 pm

Re: Run Total War Medieval under wine

Post by timoteob »

Bob Wya, dimesio:

Thank you both for the suggestion. I will upgrade and see how it works.

Timoteob
timoteob
Level 1
Level 1
Posts: 6
Joined: Fri Jul 08, 2016 8:09 pm

Re: Run Total War Medieval under wine

Post by timoteob »

I followed the instructions and I am now up to version 1.9.14. The good news is the game now runs great except when when I switch to the tactical battles. The screen sort of flickers and there is a weird after image effect when I zoom around the battlefield. Also the little dialogue box that you click to fight the battle once you are done with exploring the battle field is not displayed.

https://appdb.winehq.org/objectManager. ... &iId=20707

This link mentioned installing the override d3dx9_36. I'm not sure what that is and I wanted to see if anyone though it would be helpful before I spend alot to time researching it.

Thanks again.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Run Total War Medieval under wine

Post by Bob Wya »

timoteob wrote:I followed the instructions and I am now up to version 1.9.14. The good news is the game now runs great except when when I switch to the tactical battles. The screen sort of flickers and there is a weird after image effect when I zoom around the battlefield. Also the little dialogue box that you click to fight the battle once you are done with exploring the battle field is not displayed.

https://appdb.winehq.org/objectManager. ... &iId=20707

This link mentioned installing the override d3dx9_36. I'm not sure what that is and I wanted to see if anyone though it would be helpful before I spend alot to time researching it.

Thanks again.
The general rule of thumb is that if someone is running Gentoo - you can trust that guy / lady 8)
Just give it whirl:

Code: Select all

winetricks d3dx9_36
Don't sweat the details too much. It's one of a number of DirectX 9 extension libraries written by Microsoft. Basically ou're just saying to Wine: "I want to use the Microsoft Windows native version not the builtin Linux/Wine implementation" - of this one dynamic link library.

Don't worry it won't break anything - by installing this! It's easy to get rid of it again... Just try it out - to see if the visual glitches you witnessed are fixed (or not)...

Remove the override key from the Wine registry:

Code: Select all

wine regedit
or using:

Code: Select all

winecfg
- navigate to the Libraries tab (the slightly easier option!!) Then it's gone again!

Bob
timoteob
Level 1
Level 1
Posts: 6
Joined: Fri Jul 08, 2016 8:09 pm

Re: Run Total War Medieval under wine

Post by timoteob »

Bob Wya,

Thank for the tips!

I ran winetricks d3dx9_36 and it went out and download and installed directx 9. It also automatically added the override. Very slick! Unfortunately there has been no improvement in the tactical portion of the game. Also, I not sure if directx is installed correctly. When I tried to run dxdiag under wine, it just crashed to the desktop or throw an error that dxdiagdn.dll is out of date.

I also tried patching the game in the hope that it would fix the problem, but no luck with that either.

It could be an issue with the video card. I am going to try the on board video card and see if I have any success that way...

Timoteob
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Run Total War Medieval under wine

Post by Bob Wya »

Just some quick thoughts...
  1. Possibly worth a try - to run the game in a Wine Virtual Desktop?
  2. Did you install the winehq-devel or winehq-staging package? Maybe test with latter one (winehq-staging) - if you tried vanilla wine...
  3. Are you running a Nvidia Optimus or Bumblebee setup?
  4. If you install lshw... What's the output from:

    Code: Select all

    lshw -short
Ta
Bob
timoteob
Level 1
Level 1
Posts: 6
Joined: Fri Jul 08, 2016 8:09 pm

Re: Run Total War Medieval under wine

Post by timoteob »

Possibly worth a try - to run the game in a Wine Virtual Desktop?
I tried that early on, good idea though.
Did you install the winehq-devel or winehq-staging package? Maybe test with latter one (winehq-staging) - if you tried vanilla wine...
Worth a shot, I will let you know how it goes.
Are you running a Nvidia Optimus or Bumblebee setup?
Neither! I'm not on a laptop. What I meant by switching to the on board video card is physically plugging my monitor into the video output port on the motherboard and changing the BIOS options. :lol:

The fan fora for Medieval have several threads about the game not working will with nvidia cards, so I thought about trying the Intel one. Normally, I would not think about it with a 3D game, but it's well over ten years old and the build in graphics might be able to handle it.
If you install lshw... What's the output from:
Here it is:

Code: Select all

ubuntu@ubuntu:~$ sudo lshw -short
H/W path        Device      Class          Description
======================================================
                            system         System Product Name (SKU)
/0                          bus            P8H77-V LE
/0/0                        memory         64KiB BIOS
/0/4                        processor      Intel(R) Core(TM) i5-3570 CPU @ 3.40G
/0/4/5                      memory         256KiB L1 cache
/0/4/6                      memory         1MiB L2 cache
/0/4/7                      memory         6MiB L3 cache
/0/4/6.1                    processor      Logical CPU
/0/4/6.2                    processor      Logical CPU
/0/4/6.3                    processor      Logical CPU
/0/4/6.4                    processor      Logical CPU
/0/4/6.5                    processor      Logical CPU
/0/4/6.6                    processor      Logical CPU
/0/4/6.7                    processor      Logical CPU
/0/4/6.8                    processor      Logical CPU
/0/4/6.9                    processor      Logical CPU
/0/4/6.a                    processor      Logical CPU
/0/4/6.b                    processor      Logical CPU
/0/4/6.c                    processor      Logical CPU
/0/4/6.d                    processor      Logical CPU
/0/4/6.e                    processor      Logical CPU
/0/4/6.f                    processor      Logical CPU
/0/4/6.10                   processor      Logical CPU
/0/1                        memory         
/0/1/0                      memory         DIMM [empty]
/0/5c                       memory         System Memory
/0/5c/0                     memory         8GiB DIMM DDR3 Synchronous 800 MHz (1
/0/5c/1                     memory         DIMM [empty]
/0/5c/2                     memory         8GiB DIMM DDR3 Synchronous 800 MHz (1
/0/2                        processor      
/0/2/6.1                    processor      Logical CPU
/0/2/6.2                    processor      Logical CPU
/0/2/6.3                    processor      Logical CPU
/0/2/6.4                    processor      Logical CPU
/0/2/6.5                    processor      Logical CPU
/0/2/6.6                    processor      Logical CPU
/0/2/6.7                    processor      Logical CPU
/0/2/6.8                    processor      Logical CPU
/0/2/6.9                    processor      Logical CPU
/0/2/6.a                    processor      Logical CPU
/0/2/6.b                    processor      Logical CPU
/0/2/6.c                    processor      Logical CPU
/0/2/6.d                    processor      Logical CPU
/0/2/6.e                    processor      Logical CPU
/0/2/6.f                    processor      Logical CPU
/0/2/6.10                   processor      Logical CPU
/0/3                        processor      
/0/3/6.1                    processor      Logical CPU
/0/3/6.2                    processor      Logical CPU
/0/3/6.3                    processor      Logical CPU
/0/3/6.4                    processor      Logical CPU
/0/3/6.5                    processor      Logical CPU
/0/3/6.6                    processor      Logical CPU
/0/3/6.7                    processor      Logical CPU
/0/3/6.8                    processor      Logical CPU
/0/3/6.9                    processor      Logical CPU
/0/3/6.a                    processor      Logical CPU
/0/3/6.b                    processor      Logical CPU
/0/3/6.c                    processor      Logical CPU
/0/3/6.d                    processor      Logical CPU
/0/3/6.e                    processor      Logical CPU
/0/3/6.f                    processor      Logical CPU
/0/3/6.10                   processor      Logical CPU
/0/5                        processor      
/0/5/6.1                    processor      Logical CPU
/0/5/6.2                    processor      Logical CPU
/0/5/6.3                    processor      Logical CPU
/0/5/6.4                    processor      Logical CPU
/0/5/6.5                    processor      Logical CPU
/0/5/6.6                    processor      Logical CPU
/0/5/6.7                    processor      Logical CPU
/0/5/6.8                    processor      Logical CPU
/0/5/6.9                    processor      Logical CPU
/0/5/6.a                    processor      Logical CPU
/0/5/6.b                    processor      Logical CPU
/0/5/6.c                    processor      Logical CPU
/0/5/6.d                    processor      Logical CPU
/0/5/6.e                    processor      Logical CPU
/0/5/6.f                    processor      Logical CPU
/0/5/6.10                   processor      Logical CPU
/0/6                        memory         
/0/7                        memory         
/0/100                      bridge         Xeon E3-1200 v2/3rd Gen Core processo
/0/100/1                    bridge         Xeon E3-1200 v2/3rd Gen Core processo
/0/100/1/0                  display        GK106 [GeForce GTX 660]
/0/100/1/0.1                multimedia     GK106 HDMI Audio Controller
/0/100/14                   bus            7 Series/C210 Series Chipset Family U
/0/100/16                   communication  7 Series/C210 Series Chipset Family M
/0/100/1a                   bus            7 Series/C210 Series Chipset Family U
/0/100/1b                   multimedia     7 Series/C210 Series Chipset Family H
/0/100/1c                   bridge         7 Series/C210 Series Chipset Family P
/0/100/1c.4                 bridge         7 Series/C210 Series Chipset Family P
/0/100/1c.4/0   eth0        network        RTL8111/8168/8411 PCI Express Gigabit
/0/100/1c.5                 bridge         82801 PCI Bridge
/0/100/1c.5/0               bridge         ASM1083/1085 PCIe to PCI Bridge
/0/100/1d                   bus            7 Series/C210 Series Chipset Family U
/0/100/1f                   bridge         H77 Express Chipset LPC Controller
/0/100/1f.2                 storage        SATA Controller [RAID mode]
/0/100/1f.3                 bus            7 Series/C210 Series Chipset Family S
/0/8            scsi1       storage        
/0/8/0.0.0      /dev/sda    disk           256GB Samsung SSD 840
/0/8/0.0.0/1    /dev/sda1   volume         100MiB Windows NTFS volume
/0/8/0.0.0/2    /dev/sda2   volume         238GiB Windows NTFS volume
/0/9            scsi2       storage        
/0/9/0.0.0      /dev/sdb    disk           2TB WDC WD20EURS-63S
/0/9/0.0.0/1                volume         1863GiB Windows NTFS volume
/0/a            scsi3       storage        
/0/a/0.0.0      /dev/cdrom  disk           DRW-24B1ST   i
/0/a/0.0.0/0    /dev/cdrom  disk           
/0/b            scsi6       storage        
/0/b/0.0.0      /dev/sdc    disk           2TB WDC WD20EURS-63S
/0/b/0.0.0/1                volume         1863GiB Windows NTFS volume
/0/c            scsi0       storage        
/0/c/0.0.0      /dev/sdd    disk           124GB Ultra
/0/c/0.0.0/0    /dev/sdd    disk           124GB 
/0/c/0.0.0/0/1  /dev/sdd1   volume         116GiB Windows FAT volume
/1                          power          To Be Filled By O.E.M.
Thank you again for your help. I really appreciate it.
Locked