http://bugs.winehq.org/show_bug.cgi?id=58043
Paul Gofman gofmanp@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gofmanp@gmail.com
--- Comment #4 from Paul Gofman gofmanp@gmail.com --- I had a look, with the current upstream Wine DRM takes a path which is bypassed with the specified exports missing. With those present with the current Wine git it is missing two things:
1. It starts doing direct syscalls.
https://gitlab.winehq.org/wine/wine-staging/-/blob/master/patches/ntdll-Sysc... allows to do that in principle (although proper solution should be different). Yet it hits p. 2. on the way.
2. With default Win10 version in the prefix those syscall numbers are hardcoded in the DRM (matching those on Windows for specified version). So that would need to match in Wine (or, as a hack, mapped in sigsys handler although that can't be done unconditionally, more often DRMs detect actual syscall numbers from syscall thunks or from Nt functions order). With Win version set to Win11 DRM fallbacks to detecting the numbers from actual ntdll and DVDFab starts with the patch from p. 1.