get The Sims 3 working in bottles
sims-3-bottles.md
edited
1## Requirements
2
3- bottles
4- winetricks
5- kron4ek-wine-10.20 runner installed in bottles
6
7wine version 11.0 appears to have some regressions that break some popular repack installers
8and fullscreen with the wayland driver.
9
10## Steps
11
12* create a new 32-bit bottles with the kron4ek-wine-10.20 wine runner. wait for set up to finish.
13* create a standalone by running `flatpak run --command=bottles-cli com.usebottles.bottles standalone -b [bottle name]`.
14* run `source [bottle path, printed by the previous command]/standalone`.
15* install deps with winetricks. `winetricks vcrun2005 dotnet48 corefonts`.
16* configure the bottle.
17 * enable DXVK in bottles. Sims 3 bottle > Settings > DXVK, pick any version.
18 * enable the wayland driver if needed. on old bottles versions there's no wayland toggle,
19so edit the registry `HKEY_CURRENT_USER > Software > Wine > Drivers`,
20new string value `Graphics` with the value `wayland,x11`.
21 * set DPI if you're using fractional scaling. Settings > Advanced Display Settings > Screen Scaling. `96 * 1.25` (for 125%)
22* install the game using the installer.
23
24## Caveats
25
26### game crashes on launch with no errors.
27
28this is an issue with new Alder Lake+ CPUs from Intel.
29to fix, you must install this patch: https://modthesims.info/d/667734/intel-alder-lake-patch.html.
30don't forget to move all installer files into the prefix or it won't launch.
31
32### high GPU usage
33
34this is an issue with DXVK. the game can be installed and run without DXVK using wined3d,
35but on the wayland driver there's a problem with low gamma.
36
37can be worked around by setting the following dxvk config (from here [github.com](https://github.com/doitsujin/dxvk/issues/4893):
38
39```
40d3d9.textureMemory = 1
41d3d9.presentInterval = 1
42d3d9.maxFrameRate = 60
43d3d9.samplerAnisotropy = 16
44```
45
46to apply, create a file in the root of the bottle (where `drive_c` is),
47and in Settings > Environment Variables set `DXVK_CONFIG_FILE=` to the path to the file.
48
49what also can help is `dxvk-gplasync-v2.7-1`. after switching add `dxvk.enableAsync=true` to the dxvk config.
50
51### poor performance/stutters
52
53this seems to be related to unroutable sims. to fix, install [nraas Overwatch](https://www.nraas.net/community/Overwatch).
54[nraas ErrorTrap](https://www.nraas.net/community/ErrorTrap) and [ld's Smooth Patch](https://modthesims.info/d/658759) are also a nice addition.
55
56### can't launch the game due to "updates"
57
58this happens on new wine builds (10.12+?) when using the Launcher
59and can be bypassed by launching the game directly via TS3(W).exe