The sims 4 and microsoft visual C++ 2013

Questions about Wine on Linux
suppur5
Newbie
Newbie
Posts: 4
Joined: Thu Aug 21, 2014 5:18 pm

The sims 4 and microsoft visual C++ 2013

Post by suppur5 » Thu Aug 21, 2014 5:20 pm

The sims 3 was a lovely game to play through wine, and it worked very well. The sims 4 is coming out in a few days and id rather not have to keep windows to play it. I attempted to run The Create a Sim demo but sadly it requires Microsoft visual c++ 2013. Which does not run on wine . So this most likely means the sims 4 full game will have the same issue. So I wanted to see if anyone would be up for maybe helping to get visual 2013 running on wine? I'm not the most experianced developer so i can't do a whole lot myself but I hope someone is up for the task :3

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Thu Oct 02, 2014 2:25 pm

Visual C++ will install under wine-1.7.27 + the wine-compholio patchset, unfortunately the game still fails to run.

You can find the patchset here if your interested. https://github.com/compholio/wine-compholio

Regards.

Steve.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Thu Oct 23, 2014 6:07 am

I managed to get this working last night, my wife has been playing it for past few hrs and has not had any problems.

You will need to be familiar with git and compiling wine to get this running. This assumes you have the retail SIMS 4 DVD set.

You will need wine and the compholio patchset from git

last wine git commit 16ab1bdd5f408e7dd4abe76ca841a89d70232d2b

Last compholio patch commit 3dd8fd35af98dc9cccd6cd417bf2b922b86554e1

Basic install steps..

patch, compile and install wine, I will not cover how this is done as it is outside the scope of this howto

install vcrun2010, vcrun2012 and vcrun2013 in a fresh WINEPREFIX
Override the following dlls to native in winecfg
atl100,atl110,atl120
msvcp100,msvcp110,msvcp120
msvcr100,msvcr110,msvcr120
vcomp100,vcomp110,vcomp120

Install EA's Origin, see here for howto
https://appdb.winehq.org/objectManager. ... &iId=26175

Once origin is installed and running, disable "Origin in Game" under the Applications Settings menu, then exit Origin.

run the Setup.exe from the first DVD, when prompted mount the 2nd DVD.

When the install completes, the EA Proxy installer process will hang, kill it. The game should then run an auto-update, when that completes the EA Proxy installer process will hang again, kill it again and then run something like the following to rename all the staged files from the update.

cd $WINEPREFIX/drive_c/Program\ Files/Origin\ Games/The\ Sims\ 4

find . | grep STAGED | while read f; do mv ${f} $(echo ${f} | sed 's/_DiP_STAGED//'); done

Then simply cd to the Game/Bin directory and run wine TS4.exe


Tested on two machines , one an i7 with 6GB of ram and an nVidia GTX 260 (Driver version 340.32) , the second machine was an i5 with 8GB ram and an nVidia GTX 550 Ti (Driver version 331.38)

P.S. If you follow this guide, don't submit bug reports to wine bugzilla, as the compholio patchset precludes such reports. Submit them to the compholio lists instead.


Regards,
Steve.

suppur5
Newbie
Newbie
Posts: 4
Joined: Thu Aug 21, 2014 5:18 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by suppur5 » Thu Oct 23, 2014 7:18 am

This is excellent. I will be sure to try this later when I get home. There's actually a patch for origin though to fix the proxy hang issue. You can find the patch on the winehq page for origin. I have the digital version of sims 4, so I will test it.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Fri Oct 24, 2014 3:13 pm

Thanks for the tip about the proxy hang issue, I've re-compiled with that patch and now Origin's behavior is seamless.

suppur5
Newbie
Newbie
Posts: 4
Joined: Thu Aug 21, 2014 5:18 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by suppur5 » Sun Oct 26, 2014 8:18 pm

How did you install vcrun 2012 and 2013? it isn't on winetricks and when I try to use the microsoft program to instull i get an error.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Mon Oct 27, 2014 5:59 am

vcrun2012 and 2013 were installed by running the vcredist_x86.exe executables, they wont install if you have not patched wine with the compholio patch set.

manii
Newbie
Newbie
Posts: 1
Joined: Sat Nov 01, 2014 6:56 am

Re: The sims 4 and microsoft visual C++ 2013

Post by manii » Sat Nov 01, 2014 6:58 am

You will need to be familiar with git and compiling wine to get this running. This assumes you have the retail SIMS 4 DVD set.


kaleem

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Wed Nov 05, 2014 7:29 am

On November 4 2014 , EA released an update to the Sims 4, this new version does not run using the instructions posted in this thread. If I manage to figure out how to fix it I'll post an update.

Steve.

User avatar
dimesio
Moderator
Moderator
Posts: 12832
Joined: Tue Mar 25, 2008 10:30 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by dimesio » Wed Nov 05, 2014 8:07 am

The AppDB entry for Sims 4 currently doesn't have a maintainer. You might want to consider applying so you could post your Howto there, where it will be easier for users to find.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Thu Nov 06, 2014 12:12 pm

I did submit an entry for the APP DB but it was rejected for using a patched version of wine.

User avatar
dimesio
Moderator
Moderator
Posts: 12832
Joined: Tue Mar 25, 2008 10:30 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by dimesio » Thu Nov 06, 2014 2:58 pm

Looks like the entry now has two maintainers who are accepting test reports for patched versions of Wine, which they shouldn't.

It's not clear to me from your howto whether wine-compholio is only needed to install the vc runtimes, or if it is also needed to install and run the game. If the game can be installed and run in plain Wine after using the patched version of Wine to install VC2012/2013, then you should submit a test report making that clear.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Thu Nov 06, 2014 8:32 pm

It's not clear to me from your howto whether wine-compholio is only needed to install the vc runtimes, or if it is also needed to install and run the game. If the game can be installed and run in plain Wine after using the patched version of Wine to install VC2012/2013, then you should submit a test report making that clear.
At the time of my original post, compholio was needed to install vcrun2012, vcrun2013 and to run the game.

As I mentioned earlier there was an update released on 11/4 which renders the game un-runnable. This is mandatory, you do not have a choice to decline the update so posting to the APP DB will have to wait till this is resolved.

Regards.

Steve.

User avatar
dimesio
Moderator
Moderator
Posts: 12832
Joined: Tue Mar 25, 2008 10:30 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by dimesio » Thu Nov 06, 2014 10:57 pm

madluther wrote: As I mentioned earlier there was an update released on 11/4 which renders the game un-runnable.
You should submit the new version with a test report for that. Mention that you tested both plain and patched Wine, and the game does not work in either.

It is not necessary to have worked out problems in order to submit a test report. Garbage test reports are useful as a warning to users not to spend money on that particular game or app on the expectation that it will work in Wine.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Sat Nov 08, 2014 10:21 am

I've submitted an APP DB entry as suggested.

Regards,

Steve.

Lucifer002
Newbie
Newbie
Posts: 2
Joined: Fri Dec 12, 2014 3:04 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by Lucifer002 » Fri Dec 12, 2014 3:16 pm

Hello,

I've tried to install The Sims 4 on Ubuntu 14.04 with PlayOnLinux und Wine 1.7.31/32. Origin runs great but all time i try to install The Sims 4 i got an error "The VC++ Runtime redistributeable package was not installed successfully"
http://i61.tinypic.com/2exynsx.jpg
TheSims4Vcrun.png
i try to install vcrun2010, vcrun2012, vcrun2013 with winetricks without effect.

Has someone an idea how i can install Sims4?

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Fri Dec 12, 2014 4:15 pm

The visual C 2013 runtime will not install without the patches from the compholio/winestaging patchset. Using winetricks to install simply extracts the contents of the vcredist_x86.exe executable, drops them in the wine system32 directory and adds the some dlloverrides.

Lucifer002
Newbie
Newbie
Posts: 2
Joined: Fri Dec 12, 2014 3:04 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by Lucifer002 » Fri Dec 12, 2014 4:29 pm

Sorry, but unfortunatelly i have no idea, how i can extract the contents of the vcredist_x86.exe. I didn't found a option in winetricks :/

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Mon Dec 15, 2014 3:26 pm

Extracting the vcredist_x86.exe with winetricks will not fix the error posted in the screenshot. You must have a patched version of wine.

madluther
Level 2
Level 2
Posts: 13
Joined: Mon Jan 10, 2011 12:51 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by madluther » Fri Dec 19, 2014 9:49 am

FYI...

EA have released another update, version 1.3.18.1010. This is working well on my wife's system. New downloadable content is also working via Origin.

sbalgass
Newbie
Newbie
Posts: 1
Joined: Wed Dec 24, 2014 6:21 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by sbalgass » Wed Dec 24, 2014 6:37 pm

Good evening, I'm new in WINE. So far I use to play MuOnline. But now an update causes need to install Visual C ++ Redistributable 2012 / 2013. I was trying Compholio, this made a little progress in installing the Redistributable. But now: Failed to extract all files from container.
Then I show the log of the installation of the 2012 version. What am I missing to finish installing?
Greetings, Thank you!


Buenas noches, soy nuevo en WINE. Hasta ahora lo utilizo para jugar MuOnline. Pero ahora una actualización provoca que deba instalar Visual c++ Redistributable 2012 / 2013. Estuve probando Compholio, este hizo que avance un poco en la instalación del Redistributable. Pero ahora: Failed to extract all files from container.
A continuación, yo muestro el log de la instalación de la versión 2012. ¿Que me está faltando para terminar de instalar?

Saludos, Muchas gracias!!

Code: Select all

[0025:0026][2014-12-24T20:03:09]: Burn v3.6.3542.0, Windows v5.1 (Build 2600: Service Pack 3), path: H:\PlayOnLinux's virtual drives\MuOnline\drive_c\vcredist_x86.exe, cmdline: '-burn.unelevated BurnPipe.{1FC954BE-46B4-47E9-BE87-9FE976471AB5} {70159C3A-785B-4C4C-82B1-9439F2BFFE98} 8'
[0025:0026][2014-12-24T20:03:09]: Setting string variable 'WixBundleLog' to value 'C:\users\sbalgass\Temp\dd_vcredist_x86_20141224200309.log'
[0025:0026][2014-12-24T20:03:09]: Setting string variable 'WixBundleOriginalSource' to value 'H:\PlayOnLinux's virtual drives\MuOnline\drive_c\vcredist_x86.exe'
[0025:0026][2014-12-24T20:03:09]: Setting string variable 'WixBundleName' to value 'Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.61030'
[0025:0026][2014-12-24T20:03:10]: Detect 2 packages
[0025:0026][2014-12-24T20:03:10]: Detected package: vcRuntimeMinimum_x86, state: Absent, cached: None
[0025:0026][2014-12-24T20:03:10]: Detected package: vcRuntimeAdditional_x86, state: Absent, cached: None
[0025:0026][2014-12-24T20:03:10]: Condition 'VersionNT >= v6.0 OR (VersionNT = v5.1 AND ServicePackLevel >= 2) OR (VersionNT = v5.2 AND ServicePackLevel >= 1)' evaluates to true.
[0025:0026][2014-12-24T20:03:10]: Detect complete, result: 0x0
[0025:0026][2014-12-24T20:03:12]: Plan 2 packages, action: Install
[0025:0026][2014-12-24T20:03:12]: Condition 'VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1))' evaluates to true.
[0025:0026][2014-12-24T20:03:12]: Setting string variable 'WixBundleRollbackLog_vcRuntimeMinimum_x86' to value 'C:\users\sbalgass\Temp\dd_vcredist_x86_20141224200309_0_vcRuntimeMinimum_x86_rollback.log'
[0025:0026][2014-12-24T20:03:12]: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x86' to value 'C:\users\sbalgass\Temp\dd_vcredist_x86_20141224200309_0_vcRuntimeMinimum_x86.log'
[0025:0026][2014-12-24T20:03:12]: Condition 'VersionNT > v6.2 OR (VersionNT = v6.2 AND (NTProductType = 1)) OR (VersionNT = v6.2 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND NOT (NTProductType = 1)) OR (VersionNT = v6.1 AND (NTProductType = 1)) OR (VersionNT = v6.1 AND NOT (NTProductType = 1)) OR (VersionNT = v6.0 AND (NTProductType = 1)) OR (VersionNT = v5.1) OR (VersionNT = v5.2 AND NOT (NTProductType = 1)) OR (VersionNT = v5.2 AND (NTProductType = 1))' evaluates to true.
[0025:0026][2014-12-24T20:03:12]: Setting string variable 'WixBundleRollbackLog_vcRuntimeAdditional_x86' to value 'C:\users\sbalgass\Temp\dd_vcredist_x86_20141224200309_1_vcRuntimeAdditional_x86_rollback.log'
[0025:0026][2014-12-24T20:03:12]: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x86' to value 'C:\users\sbalgass\Temp\dd_vcredist_x86_20141224200309_1_vcRuntimeAdditional_x86.log'
[0025:0026][2014-12-24T20:03:12]: Planned package: vcRuntimeMinimum_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0025:0026][2014-12-24T20:03:12]: Planned package: vcRuntimeAdditional_x86, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: Register
[0025:0026][2014-12-24T20:03:12]: Plan complete, result: 0x0
[0025:0026][2014-12-24T20:03:12]: Apply begin
[0008:0009][2014-12-24T20:03:13]: Creating a system restore point.
[0008:0009][2014-12-24T20:03:13]: System restore disabled, system restore point not created.
[0008:0009][2014-12-24T20:03:13]: Caching bundle from: 'C:\users\sbalgass\Temp\{e6edaf4d-f9a1-4023-be00-d6189343feb9}\.be\vcredist_x86.exe' to: 'C:\users\Public\Application Data\Package Cache\{e6edaf4d-f9a1-4023-be00-d6189343feb9}\vcredist_x86.exe'
[0008:0009][2014-12-24T20:03:13]: Registering bundle dependency provider: {e6edaf4d-f9a1-4023-be00-d6189343feb9}, version: 11.0.61030.0
[0025:002C][2014-12-24T20:03:13]: Acquiring container: WixAttachedContainer, copy from: H:\PlayOnLinux's virtual drives\MuOnline\drive_c\vcredist_x86.exe
[0025:002C][2014-12-24T20:03:13]: Setting string variable 'WixBundleLastUsedSource' to value 'H:\PlayOnLinux's virtual drives\MuOnline\drive_c\'
[0025:002D][2014-12-24T20:03:13]: Error 0x80004005: Failed to extract all files from container.
[0025:002C][2014-12-24T20:03:13]: Error 0x80004005: Failed to wait for operation complete.
[0025:002C][2014-12-24T20:03:13]: Error 0x80004005: Failed to open container.
[0025:002C][2014-12-24T20:03:13]: Error 0x80004005: Failed to open container: WixAttachedContainer.
[0025:002C][2014-12-24T20:03:13]: Failed to extract payloads from container: WixAttachedContainer to working path: C:\users\sbalgass\Temp\{e6edaf4d-f9a1-4023-be00-d6189343feb9}\547E9D1608E6BD91F8ACB8098E7267610F239B87, error: 0x80004005.
[0025:0026][2014-12-24T20:03:13]: Error 0x80004005: Failed while caching, aborting execution.
[0008:0009][2014-12-24T20:03:13]: Removed bundle dependency provider: {e6edaf4d-f9a1-4023-be00-d6189343feb9}
[0008:0009][2014-12-24T20:03:13]: Removing cached bundle: {e6edaf4d-f9a1-4023-be00-d6189343feb9}, from path: C:\users\Public\Application Data\Package Cache\{e6edaf4d-f9a1-4023-be00-d6189343feb9}\
[0025:0026][2014-12-24T20:03:13]: Apply complete, result: 0x80004005, restart: None, ba requested restart:  No

bwaryn
Newbie
Newbie
Posts: 4
Joined: Tue Nov 09, 2010 9:00 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by bwaryn » Fri Apr 10, 2015 1:47 pm

The current test results in the Sims 4 app db claim that Sims 4 worked out of the box with the latest version of Wine. Is this accurate or is this guy trolling?

https://appdb.winehq.org/objectManager. ... &iId=31195 and https://appdb.winehq.org/objectManager. ... &iId=31204

User avatar
dimesio
Moderator
Moderator
Posts: 12832
Joined: Tue Mar 25, 2008 10:30 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by dimesio » Fri Apr 10, 2015 1:56 pm

bwaryn wrote:The current test results in the Sims 4 app db claim that Sims 4 worked out of the box with the latest version of Wine. Is this accurate or is this guy trolling?

https://appdb.winehq.org/objectManager. ... &iId=31195 and https://appdb.winehq.org/objectManager. ... &iId=31204
That user is on Fedora, and the Fedora packages are built from wine-staging, not plain Wine.

bwaryn
Newbie
Newbie
Posts: 4
Joined: Tue Nov 09, 2010 9:00 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by bwaryn » Fri Apr 10, 2015 2:41 pm

dimesio wrote:That user is on Fedora, and the Fedora packages are built from wine-staging, not plain Wine.
So is Wine 1.7.x "staging" or is everything on Fedora staging? Does Wine Development = Wine Staging?

User avatar
dimesio
Moderator
Moderator
Posts: 12832
Joined: Tue Mar 25, 2008 10:30 pm

Re: The sims 4 and microsoft visual C++ 2013

Post by dimesio » Fri Apr 10, 2015 3:48 pm

Wine-staging is a separate project with 500+ unapproved, experimental patches, some of which may eventually make it into the development branch of Wine. The Fedora packages are all wine-staging, not plain Wine.

http://www.wine-staging.com/

Locked