News for hackers. Stuff that matters.
Re:The Windows Subsystem for Linux is now open source by coldpie on Tuesday May 20, 2025 @11:22AM (#44042638)
I remember it being interesting to work on. It's been years, but if I remember right, there is some way to convince the game to dump a log of unit positions during a multiplayer match, possibly as part of its desync handling. I enabled that on both Win & Linux hosts, ran a match between the machines until they desynced, and diff'd the game's own logs, then confirmed from the Wine logs that the faulty values were coming from CRT-related math functions. It's always fun when you get to use a game's own debug utils to track down a problem.

Anyway it'd be great if the game devs included their own math libraries instead of relying on the OS's. That would fix the problem quite nicely.

Re:The Windows Subsystem for Linux is now open source by CorrectHorseBat on Tuesday May 20, 2025 @11:55AM (#44043014)
Do you know if the code from the blogpost you mentioned is publicly available? I don't think I could find it but I'd love to give it a try
Re:The Windows Subsystem for Linux is now open source by coldpie on Tuesday May 20, 2025 @12:18PM (#44043288)
I don't, he did that work after I left the job. You could email Rémi or hop into one of the Wine dev channels to start up a conversation.