https://bugs.winehq.org/show_bug.cgi?id=55039
Bug ID: 55039 Summary: Touhou 12.3 : specific attack randomly causes online desync Product: Wine Version: 8.9 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: riyu12383@gmail.com Distribution: ---
Created attachment 74605 --> https://bugs.winehq.org/attachment.cgi?id=74605 Game replay file, showing the chain attack causing desync
--The game I already presented this game with it's download link in this issue : https://bugs.winehq.org/show_bug.cgi?id=54916
--The bug This game is a fighting game, which is supposed to be deterministic. In online game, there's no main server, the 2 opponents only receive the input of the other player directly from each others.
A specific attack (Remilia's chain gang) randomly behave abnormally on Linux, the attack's collision boxes aren't generated, thus altering the flow of the game, de-syncing the game in online.
The attack consist of a metal chain, which appears chain link by chain link, following the other player trying to grab him. This attack seems slightly more complex to implement than the others.
When bugged, the attack seems to be mixed with another variant of it, where the chain is shorter and the collision boxes are supposed to appear when the chain disappears.
Usually in other games similar issues, online desync is resolved by installing Microsoft visual redistributable, but here it doesn't solve the issue.
This bug is random, even with the same wine version it still occurs randomly on the same replay file.
--Replay file Here attached is a replay file, to be put in the "replay" folder inside the game folder. Going to the "replay" menu in the main game menu, you can replay a game.
To directly see the collision boxes, please remove the ";" before the line "ReplayInputView+=" in the SWRSToys.ini file, and launch the game with WINEDLLOVERRIDES="d3d9=n,b" to load mods. When replaying the game, press F4 to see the collision boxes.
Beside the initial chain summoning, the chain should always instantly get collision boxes.
If the bug occurs, the player attack will miss the other player, and will after likely be too far to reach the other player ever again with the chain.
--Tried regression test This issue is not a regression, the bug has been known in the game community for ages. But I observed on my machine a more frequent occurrence in modern wine builds. This might likely be an illusion of mine based on coincidence, as the bug is extremely random and I don't have a clear way to separate good and bad in the bisection, as the bug will always occurs with given time on any builds. My first try led me to 27665f35e4da13bac1e4dd8948a65f484c9dadfa, but with further testing it actually didn't really had an impact, but 2 commits later at 40b7c3e89a95d6ccb190b234d4ad13b3a8304495 it seems way more frequent, but I'm not even sure if it's this one or the commit before. I still believe it is unrelated to the actual issue origin, and even might just be an illusion/coincidence of my own.