lah7 / sims2-wine-patches Goto Github PK
View Code? Open in Web Editor NEWInstructions and patches to run The Sims 2 on Linux/Mac under the Wine Compatibility Layer
License: GNU Lesser General Public License v2.1
Instructions and patches to run The Sims 2 on Linux/Mac under the Wine Compatibility Layer
License: GNU Lesser General Public License v2.1
0009:fixme:d3d:wined3d_device_set_software_vertex_processing device 0x9a57250, software 0x1 stub!
Usually the game a few seconds after this point, but not with the latest Wine 4.1 build.
Exception code: 0xC0000005 (-1073741819) ACCESS_VIOLATION.
Call stack:
0x0001:0x000477e1 C:\windows\system32\wined3d.dll wined3d_device_set_vs_consts_f() + 321
0x0001:0x00006575 C:\windows\system32\d3d9.dll d3d9_device_SetVertexShaderConstantF() + 245
0x0001:0x002b4e51 C:\Program Files\EA GAMES\The Sims 2 Mansion and Garden Stuff\TSBin\Sims2EP9.exe GZDllGetGZCOMDirector() + 2779949
0x0001:0x00004ac0 C:\windows\system32\d3d9.dll d3d9_device_AddRef() + 0
0x0000:0x00000000 .
For the most part, the game runs really well with Wine 4.0 and previous versions. I usually give the latest Wine releases (with patches) a spin for curiosity, but some D3D9 changes may have affected the patches or my hardware (NVIDIA drivers, Ubuntu 16.04).
Sims 2 runs very well* with D9VK. It still has some issues (see Joshua-Ashton/d9vk#242) but in my opinion it has far better support for WineD3D (for example, it implements ProcessVertices, which means stuff doesn't explode with it) + you don't need patched Wine to use it, you just have to download latest master build from here: https://git.froggi.es/joshua/d9vk/-/jobs and use it kind of like DXVK.
I would update the Readme myself but it's written entirely around Wined3d so I am not sure how to rewrite it properly to acknowledge both translation layers.
https://github.com/disks86/VK9
I guess it's sort of like DXVK but for DX9.
The DXVK people will not merge this fork. But it could be promising.
It might be interesting to see if converting things to Vulcan instead of OpenGL might alleviate some of those bugs. I don't know what it'll do about that notorious crazy use of shader compilation in this game.
Some of this work might even be backportable to Windows like for the constant Hitman 2 crashes that the game developer/graphics card vendor don't seem to be providing meaningful progress in resolving even though its a game that supposedly has current support. Since The Sims 2 will probably stay in that state of being unsupported in the foreseeable future, I'm interested in what VK9 can offer. As of right now I've been having very similar issues to Wine OpenGL Sims 2 with my 2080 on Windows 10 1809.
Anyway, Linux first.
Hi! Do you think it would be possible to cover Lutris a bit more? It currently has both Origin and Universal installers for the game which automatically use a patched version of Wine for it along with installing mods that fix issues with shadows and thumbnails. I think people might prefer using them over manually applying patches and compiling stuff.
But unfortunately, it does not have the later expansion packs. So, no apartment life, or mansion stuff, etc.
Deets that you should know first:
OS: Arch x64
GPU: NVIDIA GT 1030
CPU: i5-3470
I'm using the older "tkg-sims2.3.21" version that is included with lutris, and not the newer 4.0 version.
High poly custom content hairs, do not work in the game and simply flash red every time you try and use them.
Video link: https://streamable.com/dd9an
You can try it out for yourself by using this mod that replaces a hair from Kitchen and Bath Stuff.
If anyone can know how this is fixable it would be very appreciated.
Seems like
boolProp skipTangentsInVertexData true
cheat code workarounds the skin tone mismatch issue.
And
boolProp createNVidiaWorkaroundTexture false
cheat code workarounds the issue that results in a black screen after minimizing the game/changing resolution.
I suggest applying them by adding these to userstartup.cheat as they won't have any effect if you have already loaded into the family.
As usual, these workarounds are already included in the Lutris installers.
Hi! Very cool page you got here detailing information about running Sims 2 on Linux!
May I ask if you could add some information about a no-censor mod fixing the broken thumbnails issue? I actually tweaked it a bit to disable the anti-censoring functionality itself and it still workarounds the issue, so I integrated it into the Lutris installer. You can get it from this archive https://github.com/tannisroot/installer-fixes/raw/master/sims2_fixes.tar.xz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.