WineHQ
Category: Main Games Simulation Games The Sims 2 Double Deluxe

The Sims 2

Base game with the content from Deluxe, plus the Celebration Stuff pack.

Application Details:

Version: Double Deluxe
License: Retail
URL: https://www.ea.com/en-gb/games...
Votes: 1
Latest Rating: Garbage
Latest Wine Version Tested: 8.0.1

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Installer

What does not

Launch of game gives an error: "Direct3D returned an error: D3DERR_INVALIDCALL! The application will now terminate"

Workarounds

What was not tested

Playing game because of not able to launch

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Hopefully someone will eventually find away to fix this and able to run it under wine.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 23.04 "Lunar" (+ variants like Kubuntu)May 29 20238.0.1Yes No NoGarbageShy Zedaka 
ShowUbuntu 20.04 "Focal" (+ variants like Kubuntu)Apr 09 20205.5-stagingYes Yes YesBronzeShy Zedaka 
CurrentUbuntu 11.04 "Natty" amd64 (+ variants like Kubuntu)Jun 25 20111.3.22Yes Yes NoGarbagean anonymous user 
ShowFedora 14 x86_64Apr 23 20111.3.17Yes No NoGarbageAmber Johnston 

Known Bugs

Bug # Description Status Resolution Other apps affected
8051 The Sims 2 demo needs support for software vertex processing STAGED View

Show all bugs

HowTo / Notes

Other ways to run The Sims 2

This game does not run under regular Wine. The game crashes with D3DERR_INVALIDCALL because The Sims 2 requests 1024 vertex shader constants, but Wine has a hardcoded limit of 256. Direct3D 9 normally supports up to 8192, using hardware shaders first (where available), followed by software emulation. Software emulation is not currently supported in Wine.

Wine Staging helps improve the situation, but may result in an unstable gameplay as reflected in test reports.

Below documents some third party solutions, which cannot be submitted as test reports here.


1. DXVK

If you have a Vulkan-enabled graphic card, install dxvk through Winetricks and enjoy a fully playable experience without much (if any) glitches specific to Wine. DXVK is a Direct3D to Vulkan translation layer.

Note that Steam's Proton includes DXVK, which may work too.


2. Lutris

Lutris is a platform for installing games in a unified interface on Linux, an installer is available for this game.


3. Manually patching Wine

There is an old repository that documents patches and glitches for an older (now unsupported) version of Wine:

https://github.com/lah7/sims2-wine-patches

Technical analysis of The Sims 2 under Wine

While still far from perfect and prone to unexpected crashes (dependent on hardware), it is possible to run The Sims 2 under Wine.

The infamous D3DERR_INVALIDCALL error is due to the fact Wine is hardcoded to supply 256 vertex shaders instead of 1024 that The Sims 2 demands. By patching this constraint, as well as providing "dummy" code for unimplemented shader interfaces, enables the game to play to surprising results.


Acknowledgements

A thank you goes to swswine for initially discovering the game's major unimplemented undocumented shader interface and for writing the patch to demonstrate this in bug report 8051. Further contributors include Robert Walker, Alexandr Oleynikov and Paul Gofman.

https://bugs.winehq.org/show_bug.cgi?id=8051


Graphical Glitches Inevitable!

While the patch enables the game to play fairly well (dependant on hardware), there may be issues including:

  • Family thumbnails rendering red "t-pose" Sims.
  • Some skin tones look lighter on the character's head than the rest of their body.
  • Icons above sim head (like when a Sim gains a new friend) can cause a temporary polygon explosion.
  • Changing resolution mid game in household mode can sometimes result in a black screen.


Do not submit test reports for patched versions!

Please do not submit test results here as this is a hack to get the game running. Continue to submit tests for vanilla Wine or wine-staging (as long as this is explicitly stated), but it seems unlikely we'll see improvements from "Garbage" for regular Wine until the missing undocumented shader interfaces are implemented.

Comments

Back