Giter Site home page Giter Site logo

lah7 / sims2-wine-patches Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 2.0 46.19 MB

Instructions and patches to run The Sims 2 on Linux/Mac under the Wine Compatibility Layer

License: GNU Lesser General Public License v2.1

Makefile 0.11% M4 0.11% C 95.10% Python 2.20% Ruby 0.52% Lex 0.03% Yacc 0.40% GLSL 0.01% Objective-C 0.28% Awk 0.01% Shell 0.01% C++ 0.31% JavaScript 0.26% C# 0.01% HTML 0.02% XSLT 0.01% Perl 0.46% Java 0.02% Roff 0.10% Batchfile 0.06%
sims sims2 wine

sims2-wine-patches's People

Contributors

lah7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tannisroot gcenx

sims2-wine-patches's Issues

Add issue with blue snow

When you have Seasons expansion installed and some snow falls, the snowy ground outside the lot will look blue instead of white:
Screenshot from 2019-04-06 04-33-58

High poly custom hairs don't work

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.

Add D9VK to readme

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.

No longer starts on Wine 4.1

Error message:

image
(Virtual desktop)

The last line in Wine:

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.

Interesting details from Sims 2 log:

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).

Add workarounds for skin tone mismatch and black screen

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.

Try out VK9/a fork of DXVK on Linux and see how it does with The Sims 2

https://github.com/disks86/VK9

I guess it's sort of like DXVK but for DX9.

doitsujin/dxvk#541

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.

Add more info about Lutris installers

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.