WineHQ
Category: Main Games Simulation Games The Sims 2 Ultimate Edition

The Sims 2

No Screenshot

Submit Screenshot
Ultimate Edition from Origin

Application Details:

Version: Ultimate Edition
License: Retail
URL: http://thesims2.ea.com
Votes: 1
Latest Rating: Garbage
Latest Wine Version Tested: 2.21-staging

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

Nothing due to installation failure

What does not

did not make it past initial origin install, failed completely.

Workarounds

What was not tested

everything past clicking "download" in origin

Hardware tested

Graphics:

  • GPU:
  • Driver:

Additional Comments

Nvidia GTX 660 Videocard running the official 346 binary driver Latest Xubuntu 15.04 "Devel" release Latest origin installed from website (game installation was tried with and without the network "patch" needed to download files)

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowUbuntu 16.04 "Xenial" amd64 (+ variants like Kubuntu)Nov 28 20172.21-stagingYes No YesGarbageAlexandr Oleynikov 
ShowMac OS X 10.10 "Yosemite"Dec 10 20161.9.24Yes No GarbageSalumun 
ShowDebian GNU/Linux 8.x "Jessie" x86_64Dec 09 20151.8-rc3N/A No Garbagean anonymous user 
ShowFedora 22 x86_64Jun 20 20151.7.45Yes No GarbageBaggypants 
CurrentUbuntu 15.04 "Vivid" amd64 (+ variants like Kubuntu)Feb 01 20151.7.34No Not installable Garbagean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
8051 Sims 2 demo exits prematurely NEW View

Show all bugs

HowTo / Notes

The game is playable by patching Wine (again)

With this new and updated workaround, The Sims 2 can work fairly well (depends on hardware configuration) without any crashes and bugs that make the game unplayable.

The patch used in this tutorial is pretty much the same as in previous notes except for some changes made in order to accommodate to differences in wine code.

The games still has some issues:

  • Family thumbnails from household selection menu/during loading screens are corrupted in Origin 2009 version (they are mostly fine in 2008 release).
  • Character’s head skin tone looks a bit lighter than on the rest of their body.
  • Changing resolution mid game in household mode can sometimes result in a black screen.

The game was tested with a 3.7 GHz CPU with NVIDIA GTX 570 graphics card using Ubuntu 16.04 with proprietary nvidia-387 drivers from https://launchpad.net/~graphic.... Except for issues described above, none were discovered during many hours of playing.

Here's a video showing the game in action:

Before you start: These steps are provided as-is. Patches may stop working with newer versions of Wine, and please do not submit any test results as this is not a true reflection of vanilla Wine or wine-staging.

Instructions

1) Grab the latest source (confirmed to work with 2.21 and 2.22) for Wine from:

http://dl.winehq.org/wine/sour...

It is also recommended to install either wine-staging or wine-devel from repository to have all necessary dependencies. The instructions are available here:

https://www.winehq.org/downloa...

2) Download comment 159's patch (from bug report) from https://bugs.winehq.org/attach... and save as a .diff file. For details on what this patch does, see bug report #8051.

3) If you wish to use Origin version, you need to use 2.21 release of wine with applied staging patches from https://github.com/wine-compho... in order to successfully install Origin client. It won’t work with vanilla version.

4) After staging patches were applied (optional), open the directory where source (wine-xxxx/) is located, then open the terminal and patch:

$ mv wine-xxxx/ a/

$ patch -p0 < the_patch.diff

5) Enter the directory (./a) to configure and make Wine. I used a 32-bit distro in a virtual machine to save the hassle with 64-bit setups:

$ ./configure

$ make -j4  (change 4 to your number of cores to speed up compiling)

6) To install the game from disk/to launch Origin installer in terminal run:

env WINEPREFIX=/path_to_where_you_want_your_sims2_wine_prefix_to_be/ /path_to_folder_with_wine_you_have_compiled_earlier/wine explorer

and navigate to launch the installer.

7) After the game has been installed (to activate Play button in Origin, run repair in the game’s menu), run it for the first time to create game files, then exit.

  • If you install the game from disk, you may need to get NoCD executable and replace the original one with it.

8) To fix “kraken” issue (https://i.redd.it/9mjz5zi42d20...), open your Documents directory, locate “EA Games” folder, open “The Sims 2” folder and then inside it in “Config” folder create a userstartup.cheat file and open it with a text editing program. Type in:

boolprop useshaders true

and then save. Or you can just replace all mentions of useshaders false in Graphics Rules file to *useshaders true", that works too.

9) Have fun playing the game!

Want it precompiled instead?

If you're impatient, a pre-compiled build(wine2.21-staging) with the patch applied is available at

https://yadi.sk/d/MpPQN3eE3QSA...

Adjust your settings accordingly

To prevent the resolution messing up the desktop, a virtual desktop (configured in winecfg) or a -w in game’s launch arguments may be essential, but it may work fine without one.

Acknowledgements

A thank you goes to swswine for discovering the game's major unimplemented undocumented shader interface and for writing the patch to demonstrate, and to Peter Beutner for finding a fix to make the patch work again with newer versions of wine and describing a workaround for “kraken” issue.

And again, 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.

Wine patch incompatible with Wine 1.9.7 and newer.

The notes for applying a patch to get the game to play only works for Wine 1.9.6 or older.

The game is broken and will not start in Wine 1.9.7 or newer builds - with or without a patch.

The game is playable by patching Wine.

While still far from perfect and prone to unexpected crashes (dependent on hardware), The Sims 2 can work fairly well if you possess later expansion/stuff packs that can update the base game as close to © 2008 as possible.

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

There are still some glitches, such as:

  • Sims' portraits turning red to their T pose (in the neighbourhood screen) after saving. 
  • Changing appearance can result in a darker skin tone in the portraits.
  • Glitched animations or rendering.

The game's rendering (lighting?) engine has also changed significantly from it's initial release in 2004, meaning that the latest base game version (EP9, © 2008) plays a lot better then the original base game and earlier expansion packs.

Here's some videos showing the game in action:

  • Base Only - 08/17/2004 Version: https://www.youtube.com/watch?v=j-pFDlEtnC0
  • EP9 - 10/11/2008 Version: https://www.youtube.com/watch?v=h9rZPdNLd6I
  • Another video: https://www.youtube.com/watch?v=nzO4t-5TKhU

Before you start: These steps are provided as-is. Patches may stop working with newer versions of Wine, and please do not submit any test results as this is not a true reflection of vanilla Wine or wine-staging.

Instructions

1) Grab the latest source (confirmed to work with 1.8-rc2 to 1.9) for Wine from: http://dl.winehq.org/wine/source/ 

2) Download comment 124's patch (from bug report) from http://bugs.winehq.org/attachment.cgi?id=52904 and save as a .diff file. For details on what this patch does, see bug report #8051.

Note: This patch hardcodes the shader model to version 2. If you wish to test with SM3 using the registry keys, unpatch directx.c.

3) Open the terminal, cd to the root of the source (wine-xxxx/) and patch: 

$ mv wine-xxxx/ a/

$ patch -p0 < the_patch.diff 

4) Enter the directory to configure and make Wine. I used a 32-bit distro to save the hassle with 64-bit setups: 

$ ./configure 

$ make -j4  (change 4 to your number of cores to speed up compiling)

5) Install/start the game from the source directory:

$ env WINEPREFIX=/path/to/sims2_wine_prefix/ ./wine explorer 

Have fun!

Want it precompiled instead?

If you're impatient, a pre-compiled binary and source is available at https://www.dropbox.com/s/mna97xftkwfved0/wine-1.9.0-patched-sims2.tar.xz (except directx.c was unpatched so shader model versions can be set from the registry)


Adjust your settings accordingly

To prevent the resolution messing up the desktop or causing a crash, a virtual desktop may be essential, but it may work fine without one. When they say Wine can play games better then Windows. This might be true, the shadow bug caused by high settings is not present! (NVIDIA driver bug on Windows).

I also found the game to crash much less on a faster 3.7 GHz processor than at 2.7 GHz. Both ran adequately at both 1024x768 and 1920x1080 (1080p) resolutions.


Acknowledgements

A thank you goes to swswine for discovering the game's major unimplemented undocumented shader interface and for writing the patch to demonstrate.

Once again, 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.

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Game only moves when I scroll
by Katherine Williams on Monday October 24th 2016, 9:18
i have patched Wine and Sims2 starts. I can open my game and everything. However the game is frozen unless I scroll in game. even tooltips only show up when i hover over an area and then quickly move to the edge of the screen to scroll. Otherwise the game will appear frozen, then jump in time the moment i scroll. Does anyone know what causes this and what i can do to change it?
RE: Game only moves when I scroll
by Luke Horwell on Monday October 24th 2016, 12:55
I noticed this behaviour too, but it happened on rare occasions. I have an NVIDIA graphics card, in case certain graphic drivers may be causing that "ghostly" glitch.

For me, it "just worked" eventually by tweaking the graphic settings, changing the resolution, deleting the save data or just restarting the game. I don't know why it does this - newer patches of the base game (or by installing EPs) seem to have a different rendering engine from the original release, so it doesn't happen in later versions.
Back