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