Skip to content

Sims 3 (47890) #2502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Ruedii opened this issue Apr 4, 2019 · 157 comments
Open

Sims 3 (47890) #2502

Ruedii opened this issue Apr 4, 2019 · 157 comments
Labels
AMD RADV Possible driver issues with RADV Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver .NET Uses the .NET framework Regression Confirmed working on an older version of Proton

Comments

@Ruedii
Copy link

Ruedii commented Apr 4, 2019

Compatibility Report

  • Name of the game with compatibility issues: The Sims 3
  • Steam AppID of the game: 47890

System Information

I confirm:

  • [Y ] that I haven't found an existing compatibility report for this game.
  • [ Y] that I have checked whether there are updates for my system available.

Symptoms

Launcher won't launch (Game Launcher Requires .Net on Wine. Uses modules not currently found in WineMono)
Game will launch bypassing launcher, but download and online functionality does not work as it calls the launcher.

Reproduction

Download game
Attempt to launch

Related Issues

Proton Needs Wine-Mono Support #18

@kisak-valve kisak-valve added Game compatibility - Unofficial Games not expected to work without issues .NET Uses the .NET framework labels Apr 4, 2019
@Ruedii
Copy link
Author

Ruedii commented Aug 6, 2019

Update.

As of Proton 4.11.

Launcher is loading, displaying it's initial screen, then crashing. A little progress here. Is there a way to make stubs for the remaining unsupported .Net functionality.

Currently unsupported is some or all of the following: WPF, WinForms and Browser functions.

Ideally the stub widget should take generic size information and create an blank spacer widget if applicable.

@Ruedii
Copy link
Author

Ruedii commented Aug 10, 2019

OK, I grabbed a bug log. It's pretty noisy but I found some Mono browser stuff in there:

steam-47890.log

I also noticed a codepage loading issue that may be due to case sensitivity in there. I don't think it should make a difference, though.

@Newbytee
Copy link
Contributor

Newbytee commented Aug 10, 2019

Another issue I found in the game is that with edge smoothing enabled, all fonts in the game (if you bypass the launcher and launch the game executable directly) will have random parts missing. This is with amdgpu version something on a Radeon Vega 56 in Fedora 30.

@Ruedii
Copy link
Author

Ruedii commented Aug 10, 2019 via email

@Newbytee
Copy link
Contributor

Newbytee commented Aug 10, 2019

Double check that you changed the game resolution to match your screen resolution. Sims 3 runs at rather low resolution by default and this known bug is related to this. It affects windows users to a lesser degree.

1080p, both my in-game and my monitor's resolution.

@Ruedii
Copy link
Author

Ruedii commented Aug 11, 2019 via email

@Newbytee
Copy link
Contributor

There is a hack. The game's fonts are in the game directory. There is a utility called "Autohint" you can run on them. (Back them up first obviously.) If it works, make sure to report back so a feature request can be filed to run fonts through the auto-hinter for better quality, as it should improve quality for all fonts.

I suppose we're talking about this? I'll see about giving it a shot.

@Ruedii
Copy link
Author

Ruedii commented Aug 11, 2019 via email

@Newbytee
Copy link
Contributor

No, it's a different one. A command line Linux utility based on freetype. I'll pull the website next time I am at my computer. However it is available in the repositories of most Linux distros. I know for sure Ubuntu and Debian have it.

What's the package name in Ubuntu and Debian?

@madewokherd
Copy link
Collaborator

Launcher seems to crash in mshtml/jscript code. Does this work in .NET?

@Ruedii
Copy link
Author

Ruedii commented Aug 17, 2019 via email

@madewokherd
Copy link
Collaborator

We're not using libgluezilla, and we never were. Currently, the embedding code is from .NET core winforms.

@Ruedii
Copy link
Author

Ruedii commented Aug 19, 2019

OK. Thanks.

According to the log it is using wine-mono but I can't tell if the crash is in wine-mono or a called library. I may review it later. I've got some surgery coming up and needless to say I'm resting a lot.

@Ruedii
Copy link
Author

Ruedii commented Aug 19, 2019

What's the package name in Ubuntu and Debian?

It's "ttfautohint"

@divadsn
Copy link

divadsn commented Sep 21, 2019

For the launcher you need to install vcrun2005 via protontricks, it's not a .NET related error.

Here is the full dependency list to make the game running via Wine:
https://github.com/divadsn/wine-games/blob/master/TheSims3/install.sh#L31

@divadsn
Copy link

divadsn commented Sep 21, 2019

grafik

As you can see I was able to install the free world Riverview without any problems.

I am running the retail version with all extension packs on Wine-4.15.

@Ruedii
Copy link
Author

Ruedii commented Oct 10, 2019 via email

@divadsn
Copy link

divadsn commented Oct 12, 2019

Are you using unmodified proton out of box or are you using hacks? What is your system including proton version if it is working for you?

On Sat, Sep 21, 2019, 5:23 PM David Sn @.***> wrote: [image: grafik] <user-images.githubusercontent.com/28547847/65379337-addba880-dcc6-11e9-9462-bd58edaa25a6.png> As you can see I was able to install the free world Riverview without any problems. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#2502?email_source=notifications&email_token=AAYFL2MAT3LTPEE7QOSCAKLQK2GGHA5CNFSM4HDV2HMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7IZ4VA#issuecomment-533831252>, or mute the thread <github.com/notifications/unsubscribe-auth/AAYFL2MOIGA7Y76WKSE5CMTQK2GGHANCNFSM4HDV2HMA> .

I originally did that on just Wine, but also tested on unmodified proton 4.11 out of the box from Steam.

@Ruedii
Copy link
Author

Ruedii commented Oct 12, 2019 via email

@Ruedii
Copy link
Author

Ruedii commented Oct 12, 2019

The launcher still doesn't work for me, are you ABSOLUTELY sure you had ZERO modifications to the install.

No renamed files, no added runtimes, no added launch options, no scripts like WineTricks, ProtonTricks, Play On Linux or Lutris. No modification of registry keys, no running winecfg, no non-standard wine bottle path other than the one Steam creates. No changes from steam's default setup?

Just downloading from steam and launching out of box, no changes whatsoever at all?

We are talking go to steam, install Sims 3, set proton version to 4.11 and run?

This has to be tested with the Steam version. The steam version has a different launcher than the Retail or Origin version.

If you are installing VC Runtime that is NOT out of box. I repeat, without installing ANY SCRIPTS OR RUNTIMES!

In the image you provided you were using Wine virtual desktop. That is also not considered out of box.

@divadsn
Copy link

divadsn commented Oct 15, 2019

@Ruedii read carefully before writing again:

For the launcher you need to install vcrun2005 via protontricks, it's not a .NET related error.

That runtime is missing and not being actually installed in the Steam version, but I discovered that Origin does install and fixes the issue for me.

I've written about that in my comment mentioning the actual fix, it's not a Proton issue when Steam does not install all dependencies. It is also not a wine-mono issue, so this entirely issue is not up to the Proton developers to fix, rather Valve to include Visual C++ Runtime 2005 when installing the game.

PS. wine virtual desktop doesn't affect anything, I just enable that so I can tab out of a game without having the game crashing.

@Ruedii
Copy link
Author

Ruedii commented Oct 15, 2019 via email

@madewokherd
Copy link
Collaborator

In theory, VC runtimes shouldn't be necessary, as Wine should provide compatible replacements. However, there are some large dll's like mfc which are not implemented in Wine.

If the log doesn't show an error loading any dll's like mfc, it should be possible to find and fix the problem with Wine's builtin VC runtime dll's.

@madewokherd
Copy link
Collaborator

According to the list in #2502 (comment), dotnet20 is required, so there may still be a Mono bug.

@Ruedii
Copy link
Author

Ruedii commented Oct 16, 2019 via email

@Ruedii
Copy link
Author

Ruedii commented Oct 16, 2019 via email

@Casuallynoted
Copy link

Here's an image of what I'm seeing:
photo_2023-04-24_15-51-25

@kisak-valve
Copy link
Member

Hello @Casuallynoted, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

@Casuallynoted
Copy link

Hello @Casuallynoted, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

https://gist.github.com/Casuallynoted/2986d02f9026d057c07edae7502712a9

@kisak-valve
Copy link
Member

Thanks, are you able to test a point release of mesa, or mesa git main?

@kisak-valve kisak-valve added Mesa drivers Possibly involves an issue with a Mesa video driver AMD RADV Possible driver issues with RADV labels Apr 24, 2023
@Casuallynoted
Copy link

Thanks, are you able to test a point release of mesa, or mesa git main?

Just tried Mesa 22.2 but no differing results with that, is there a version you'd recommend?

@Ruedii
Copy link
Author

Ruedii commented May 8, 2023

I have just tested Sims 3 again on 7, 8 and Experimental out of box.

As a note, for those actually wanting to run the game, protontricks .net framework install should be enough to get it running now. You may need the VC override for the launcher as well.

Experimental has a breakthrough improvement of the welcome screen sometimes rendering properly.

There are still mono issues. I may gather more data later if I'm up to it. Since we now have many people working on it

For the sake of expressing my frustration I would like to give some redacted choice words towards EA for not updating this launcher to .NET core, or updating the binaries to 64bit and the linking to modern versions of the libraries. I cynically and sarcastically wish them the best of luck in keeping their second most popular Sims game functioning on Windows systems as Microsoft EOLs these deprecated libraries when a few hundred hours work could let them release a remaster making them billions and ensuring the game's compatibility for 20 more years but they are too lazy.

@Blayer98
Copy link

Blayer98 commented Jul 11, 2023

Hi, figured I’d give a quick update, I accidentally took a video in game and later on I wanted to close the Launcher mid-game but forgot about the Video being present. The Video showed up and this time, it didn’t crash! The entire UI was also useable and I could select the Video. Deleting it works fine but the launcher crashes during it, but re-entering it showed that it was gone from the Uploads tab.

Show File opens the explorer and shows the file in “Recorded Videos”. you cannot back out of the Explorer directly since there’s no Exit button shown while in Gaming Mode, but pressing the Steam button and pressing X on the Recorded Videos tab where Switch Windows is works and will return you back to the Launcher.

Screenshots show up too and the Launcher appears to be usable but is still frozen and also still crashes. (I presume Because the Launcher attempts to change the parcel icon to the Screenshot itself which is intended behaviour.)

Downloads and Installed Content tabs still crash the Launcher for now if there’s anything present to display there if the thumbnail for it is present.

It also appears that any background updates on the Launcher while it’s open (to change information on the tabs for pieces of content such as content being installed, downloading, or if a piece of content has failed to install, or if you move/delete a file into/from Downloads, Exports, Recorded Videos, or Screenshots) causes it to crash and I suspect that this also happens if you Export a Sim or Lot in order to share it online to the Exchange for instance.

If you have a file with no thumbnail at all, you can attempt to install it, and theoretically it should install but I’m still looking into this. @Ruedii

@Blayer98
Copy link

Blayer98 commented Jul 15, 2023

Hello! Another update: I’ve managed to get a pattern to install successfully without a thumbnail and the Launcher knows it’s installed and shows up in the Installed Content tab too, both of which do not crash, and the thumbnail does not show up either. The actual thumbnail that the Launcher uses is the one inside the package file and for me, the Pattern I created in Create A Pattern had 2 (It’s just one package file but it’s split into 2 parts.) and it was in the last one. There is a XML tag simply titled “thumbnail” and changing a single letter will not allow the thumbnail to show up in the launcher.

The game is able to install the content just fine, although the Launcher still crashes once it finishes, but re-loading the launcher and checking both the Downloads and Installed Content tabs will show that the item was installed just fine. Although the Pattern did not have an icon in Create A Style, the pattern itself did show up properly in game.

Uninstalling works just fine as well, and I presume that choosing the “Run without custom content” option will also work just fine. :)

I’ve also tested installing multiple custom content items (not the same type of content) and that works just fine as well, both show up as installed, and while only one of them showed up as having no icon, using them worked just fine.

TLDR: Custom Content can be installed on Steam Deck via the Launcher but the thumbnail that’s in the embedded .package file must not be present or the thumbnail XML tag pointing to it must be renamed.

@Ruedii
Copy link
Author

Ruedii commented Jul 28, 2023

Progress:

  1. Launcher web site view now works.
  2. Downloads of sims store content does not.

I have no issues with Mesa drivers or RADV. However, I did enable V-Sync. I have heard reports with issues when V-Sync is off due to shaders that run additional cycles unclocked when the simulation is between ticks.

@Ruedii
Copy link
Author

Ruedii commented Mar 20, 2024

Still same as before.

I don't seem to have issues from high CPU thread count myself.

However, I only have 24 threads, not the >64 that some people have.

@Blayer98
Copy link

Blayer98 commented Jun 25, 2024

It seems as of the latest Proton Experimental, The launcher has regressed and it launches broken a majority of the time now, where the sims 3 logo shows up, the background show up but nothing else shows up at all and the only thing you can do (on Steam Deck at least) is to exit the game via the Steam button.

The same issue also occurred in Desktop Mode, and the only way to close the launcher is to stop the game via Steam.

The only way that I could seemingly stop the issue was to delete the folders at "47890/pfx/drive_c/users/steamuser/AppData/Local/Microsoft/Windows/". (it's not a guaranteed fix either!)
20240625221051_1

@kisak-valve
Copy link
Member

Hello @Blayer98, please add PROTON_LOG=1 %command% to the game's launch options and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report.

If this is a regression on Proton's side, please note the newest unaffected version as well.

@Blayer98
Copy link

Blayer98 commented Jun 25, 2024

https://gist.github.com/Blayer98/abfc270329351ea7ab0594bd5b307930

steam-47890.log

Here they are. Last time that I played Sims 3 on my Steam Deck, Proton Experimental was at 8.0.2 if I remember correctly. I'll go ahead and test 8.0-5 but I highly expect no issues to occur since I never had this issue show up with Proton 8, seems like this was introduced with Proton 9.

Update: This issue does not occur on Proton 8 whatsoever. Using Proton 9.0-2 or Proton Experimental introduces this bug.

@kisak-valve kisak-valve added the Regression Confirmed working on an older version of Proton label Jun 25, 2024
@AJuujarvi
Copy link

@Blayer98 Do you have any DLC or Mods installed? I tried with the base game just now and couldn't reproduce. If you do have Mods installed, does the issue persist when you do not have Mods installed?

@Blayer98
Copy link

Hi, I do yeah, I have mods and DLC installed but this is just the launcher on it’s own, so I’m not sure why the issue occurs.

@AJuujarvi
Copy link

@Blayer98 Can you check with your mods uninstalled please? I cannot reproduce with all of the DLC added. I do know the DLC affects the launcher a tiny bit, due to the icons on the bottom being lit up if they are installed. It is possible that some Mods may also be affecting the launcher.

@Blayer98
Copy link

@Blayer98 Can you check with your mods uninstalled please? I cannot reproduce with all of the DLC added. I do know the DLC affects the launcher a tiny bit, due to the icons on the bottom being lit up if they are installed. It is possible that some Mods may also be affecting the launcher.

Maybe it could be related to the Smooth Patch by Lazy Dutchess? But their mod works completely fine on Windows PCs and was working fine on Proton 8 with no issues, and I don’t think it could be causing the issues? I’ll have a look and test this again on Proton Experimental later but I’m not sure

@Blayer98
Copy link

Blayer98 commented Oct 11, 2024

Sorry for the very long wait for an update, but I’ve just recently re-installed SteamOS on my Steam Deck (mainly getting rid of rubbish files being left over) and this issue seems to still occur. I noticed the times the launcher crashed, the log mentioned running out of virtual memory. This bug does not occur on Windows.

@Phosphorus-M
Copy link

Hi, I have the same problem that @Blayer98, besides I have the disks so I install it with Lutris with this script:
https://lutris.net/games/install/13601/view

And I'm not sure why in Proton doesn't work, I try to use WineTricks and ProtonTricks to modify the setup and doesn't work, the launcher entering into Downloads tabs simply crash with a Marshal error.
This is the error extracted from the logs:

[00000448:] EXCEPTION handling: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code.

Unhandled Exception:
System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code.
  at (wrapper native-to-managed) Sims3Launcher.BusinessLogic+S3LEvents.DLStatusChangedProxy(Sims3Launcher.BusinessLogic/S3L_DownloadItem,intptr,uint)
[ERROR] FATAL UNHANDLED EXCEPTION: System.Runtime.InteropServices.MarshalDirectiveException: [MarshalAs] attribute required to marshal arrays to managed code.

I'm not sure why on Lutris it works updating all to the new versions and in Proton doesn't work.
I can share a package free to install, it's a Sims3Pack file.
It can be placed into:
~/.local/share/Steam/steamapps/compatdata/47890/pfx/drive_c/users/steamuser/Documents/Electronic Arts/The Sims 3/Downloads

in the Winetricks.log of Lutris I found this:

remove_mono internal
dotnet20sp2
mfc42
d3dx9
vcrun2005
vcrun2010

And in my case Lutris is running wine-ge-8-26-x86-64

I don't know why but I try to use the same version of wine with ProtonPlus, a program to change proton for other Wine version but using the same prefix that Proton, and simply doesn't work, the same problem.
The Launcher without files into Downloads works but if you add any Sims3Pack file crash in Proton and in Lutris doesn't.

@Blayer98
Copy link

Blayer98 commented Feb 23, 2025

Replying to #2502 (comment)

Hey, the reason Lutris is working is that dotnet was installed and the wine-mono install was removed.

As I mentioned a while back, it’s possible to use the launcher to install Sims3Pack files if said file does not have a thumbnail for the launcher to display. It appears the issue with the Launcher on Mono is displaying thumbnails.
It’s also possible to select the Tabs on the Installed Content and also Download menus now.
I wrote this back in July 2023, but sadly it seems there’s still no proper support for the thumbnails yet. I haven’t tested a thumbnail-less Sims3Pack since then.

Hello! Another update: I’ve managed to get a pattern to install successfully without a thumbnail and the Launcher knows it’s installed and shows up in the Installed Content tab too, both of which do not crash, and the thumbnail does not show up either. The actual thumbnail that the Launcher uses is the one inside the package file and for me, the Pattern I created in Create A Pattern had 2 (It’s just one package file but it’s split into 2 parts.) and it was in the last one. There is a XML tag simply titled “thumbnail” and changing a single letter will not allow the thumbnail to show up in the launcher.

The game is able to install the content just fine, although the Launcher still crashes once it finishes, but re-loading the launcher and checking both the Downloads and Installed Content tabs will show that the item was installed just fine. Although the Pattern did not have an icon in Create A Style, the pattern itself did show up properly in game.

Uninstalling works just fine as well, and I presume that choosing the “Run without custom content” option will also work just fine. :)

I’ve also tested installing multiple custom content items (not the same type of content) and that works just fine as well, both show up as installed, and while only one of them showed up as having no icon, using them worked just fine.

TLDR: Custom Content can be installed on Steam Deck via the Launcher but the thumbnail that’s in the embedded .package file must not be present or the thumbnail XML tag pointing to it must be renamed.

@Phosphorus-M
Copy link

As I mentioned a while back, it’s possible to use the launcher to install Sims3Pack files if said file does not have a thumbnail for the launcher to display. It appears the issue with the Launcher on Mono is displaying thumbnails. It’s also possible to select the Tabs on the Installed Content and also Download menus now. I wrote this back in July 2023, but sadly it seems there’s still no proper support for the thumbnails yet. I haven’t tested a thumbnail-less Sims3Pack since then.

But I remove mono and I add dotnet for example and still was failing, meanwhile in Lutris it works including the case of a custom content with thumbnail

@Blayer98
Copy link

Blayer98 commented Feb 23, 2025

Replying to #2502 (comment)

Ah ok, did you install the vcrun2005/vcrun2010 programs as well as dotnet20sp2? Or did you install dotnet20sp2 on its own? I’m thinking if it’s not working with only dotnet20sp2, then maybe the vcrun2005/vcrun2010 is required.
Or maybe mfc42 is required? I’ll try installing mfc42 as I think that the VC Runtime is installed when running the game via Steam?

@Phosphorus-M
Copy link

Yes, I think that all the things that you say are installed via Steam.

dotnet20sp2
mfc42
d3dx9
vcrun2005
vcrun2010

But I'm not sure about if the prefix is configured with remove_mono. However, I don't know what is the current difference between the Lutris version and the Steam version.
I try to configure in Steam Tinker a custom prefix, but I'm not good using this tool, I don't know how to configure it correctly to copy the profile of Lutris.

@Flaburgan
Copy link

Hello, the game is working perfectly fine on my desktop with an AMD graphic card, but when I try to launch it on my laptop the launcher briefly appears and then immediately crash, any idea why?
Are are the logs: https://gist.github.com/Flaburgan/506c4cafb4e756888de8d7c790d04f6c

@kisak-valve
Copy link
Member

Hello @Flaburgan, Proton 5.13 is several years old. The easiest thing to check is if the game runs a bit better with a newer release of Proton.

@Flaburgan
Copy link

Hello, sorry I should have said I tried with many different versions and it never worked (although it looks like it's not crashing at the same steps, here with experimental: System.DllNotFoundException: TSLHost.dll assembly: type: member:(null)
https://gist.github.com/Flaburgan/ddc9bda64bd8da123a44020991c46f43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AMD RADV Possible driver issues with RADV Game compatibility - Unofficial Games not expected to work without issues Mesa drivers Possibly involves an issue with a Mesa video driver .NET Uses the .NET framework Regression Confirmed working on an older version of Proton
Projects
None yet
Development

No branches or pull requests