hi ik wine can translate userspace calls but i wonder if its possible to translate windows kernel level calls to linux ones (eg,kernel level anticheat,etc)

  • hades@lemm.ee
    link
    fedilink
    arrow-up
    9
    ·
    1 month ago

    If you wanted to support all possible drivers, you would basically need to rewrite the entire kernel. You could make one specific anticheat work by supporting its specific calls, but this will take a lot of work, and will probably be broken with the first ever update.

    In the past there were projects that supported specific types of drivers, such as ndiswrapper, but that had a very limited scope.

    Here’s also an answer to a similar question: https://unix.stackexchange.com/questions/544776/installing-proprietary-windows-drivers-on-linux

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    8
    ·
    1 month ago

    WINE loads the executable binary data into the memory, and runs it. The Machine doesn’t care if the code was made for Windows or Linux when it runs it

  • TCB13@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    1 month ago

    The funny thing here is that Microsoft did a very good job in WSL v1 doing the exact opposite. Unlike Windows apps that run all broken under Wine, running GUI app on WSL worked just fine.

    • Billegh@lemmy.world
      link
      fedilink
      arrow-up
      19
      ·
      1 month ago

      They really did do a good job. The difference is that they have access to documentation about Linux that wine doesn’t have about Windows.