LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
55 stars 6 forks source link

[virtualization][wine] ucrt rounding issues causes desync #1088

Open LukeShortCloud opened 5 months ago

LukeShortCloud commented 5 months ago

Some applications and games require the Windows C library. Due to rounding differences between Linux and Windows libraries, it is impossible to replicate. This causes various issues with the biggest being online multiplayer sync issues.

https://www.codeweavers.com/blog/rbernon/2022/9/12/ucrtcringedll-reverse-engineering-ucrtbasedll-for-pain-and-non-profit

As a workaround, it this Windows library can be installed with winetricks vcrun<YYYY> which will also install the C++ libraries.

LukeShortCloud commented 5 months ago

Example of desync issues: https://www.gamingonlinux.com/2024/01/age-of-empires-iv-gets-a-fix-for-steam-deck-linux-online-play-desyncs/