The original CD-ROM release of the base game spanned across 4 discs.
Launching the game
Switching the screen resolution for the game
What does not
At launch of The Sims 2 :
- a black screen appears
- the following message appears :
The error message in the screenshot says Direct3D returned an error: D3DERR_INVALIDCALL! The application will now terminate.
It is due to the bugÂ #8051
What was not tested
Playing the game
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Manjaro Linux 18.0.0||Jul 14 2019||4.11-staging||Yes||Yes||No||Bronze||Luke Horwell|
|Show||Ubuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)||Sep 01 2018||3.15||Yes||No||No||Garbage||Korbinian|
|Show||Ubuntu 12.04 "Precise" i386 (+ variants like Kubuntu)||Nov 17 2012||1.5.17||Yes||No||Garbage||an anonymous user|
|Show||Arch Linux x86_64||Jun 26 2012||1.5.7||Yes||No||Garbage||Emily Marriott|
|Show||Ubuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)||Apr 06 2012||1.4||Yes||No||Garbage||an anonymous user|
Simply install DXVK (https://github.com/doitsujin/dxvk) into your prefix using winetricks
and any version of Sims 2 will be fully playable without any glitches whatsoever!
Note that DXVK requires Vulkan-compatible graphics and fresh graphics drivers (at the time of writing this note, it was version 440.64 of Nvidia's proprietary driver and Mesa 20.0).
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.
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.
Option A: Obtain a patched version of Wine
The following GitHub repository maintains the latest Wine source release with the patches to enable The Sims 2 to start. Compiled binaries can be downloaded for use with a 32-bit wine prefix (which could be used with front-ends like PlayOnLinux). Known graphical issues and build instructions for building from source are also documented:
Option B: Lutris
Lutris is a platform for installing games in a unified interface on Linux, an installer is available for this game: https://lutris.net/games/the-s...
Graphical Glitches Inevitable!
While the patch enables the game to play fairly well (dependant on hardware), there may be issues including:
Do not submit test reports!
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" until the hardcoded limit is raised and there is a solution to adding the missing undocumented shader interface.