R2R Plugins not working under Linux wine

Discussion in 'Linux' started by severance&pay, Dec 19, 2024.

Tags:
  1. tzzsmk

    tzzsmk Audiosexual

    Joined:
    Sep 13, 2016
    Messages:
    3,854
    Likes Received:
    2,408
    Location:
    Heart of Europe
    make sure WINE is picking correct physical network interface address, else most of system ID based keygens won't work correctly
     
  2. Simplywavs

    Simplywavs Noisemaker

    Joined:
    Sep 8, 2018
    Messages:
    14
    Likes Received:
    3
    Theres always one of you guys lol. Bro just use windows or osx. Simple.
     
  3. DoubleInvertedPhase

    DoubleInvertedPhase Newbie

    Joined:
    Jun 28, 2024
    Messages:
    7
    Likes Received:
    1
    You mean you got R2R's NI RAS3 keygen to generate valid licenses on Wine?

    I only have a single physical ethernet interface available, but running ipconfig in my wineprefix gives me the following order of available interfaces: "lo", "enp8s" (that's my physical one) and "docker0". What is your order and how do I change this for wine?
     
    Last edited: Dec 22, 2024
  4. UTiLiTY

    UTiLiTY Member

    Joined:
    Oct 25, 2024
    Messages:
    67
    Likes Received:
    8
     
  5. bobdule

    bobdule Audiosexual

    Joined:
    Dec 28, 2014
    Messages:
    674
    Likes Received:
    504
    simply use PlayOnLinux to create a virtual windows machine.
    and install anything.

    all audio windows stuff, keygen and co, works well on linux this way.
     
  6. UTiLiTY

    UTiLiTY Member

    Joined:
    Oct 25, 2024
    Messages:
    67
    Likes Received:
    8
    Use Windows. Debloat. Optimize. Everything is native. Everything is supported. You'll be happy. You won't need to work around any of this bullshit. Good luck. Wishing you all the best.
     
  7. DoubleInvertedPhase

    DoubleInvertedPhase Newbie

    Joined:
    Jun 28, 2024
    Messages:
    7
    Likes Received:
    1
    I have 400+ Windows plugins installed in various wine prefixes all created from the terminal with only those adjustments needed for specific plugins. I'm building wine from source via wine-tkg to get the fsync patches.

    The RAS3 NI keygen from R2R is the only one consistently not generating a valid license on Wine. However, bobdule or TCD releases work fine on Wine.

    Did you actually verify that R2R's NI RAS3 keygen works and generates a license accepted by the software when used via PlayOnLinux? I tried creating a fresh wine prefix via PlayOnLinux using Wine-TKG 9.21 but the license generated by the R2R NI RAS3 keygen isn't accepted by Kontakt 6.7.1 installed into that PlayOnLinux prefix.
     
    Last edited: Dec 22, 2024
  8. Friendelek

    Friendelek Platinum Record

    Joined:
    Nov 28, 2020
    Messages:
    228
    Likes Received:
    158
    If it's not hard for you can you share list of working plugins/ your experience / and bugs and all that stuff. So interesting to know.
    My Windows plugins list is not so big. Just a few fabfilter plugins, ValhallaDSP , Serum. Most of them are just single installer plugins, no APP Installers like NI, Waves Central and etc
     
  9. bobdule

    bobdule Audiosexual

    Joined:
    Dec 28, 2014
    Messages:
    674
    Likes Received:
    504
    in these versions, the kontakt fix also cut ras3 link, it never care about license... it can be legit, expired, keygened, or none.
    R2R keygen works if you also install Native Access (service center) on the virtual system image. it need NativeAccess.xml.
     
  10. DoubleInvertedPhase

    DoubleInvertedPhase Newbie

    Joined:
    Jun 28, 2024
    Messages:
    7
    Likes Received:
    1
    NI Releases from R2R up to 18th of January 2020 all work fine on Wine 9.21 (Massive X 1.2.0, Reaktor 6.3.1, Massive 1.5.5, Battery 4.1.6, Kontakt 5.6.5) using the included keygen.

    The last release with included keygen working on Wine is Raum 1.0.0. Any NI R2R release after that, starting with the release of Reaktor 6.4.0 on 22th of August 2020 has an included keygen producing an invalid license when used on Wine. Some of the tested releases with keygens producing invalid licenses on Wine are Reaktor 6.4.0, Guitar Rig 6.0.2, Massive X 1.3.1, Massive 1.5.8.

    Side note: there's a small window for the old NI R2R keygens to still produce valid licenses for newer releases. For example, I was able to activate R2R releases of Reaktor 6.4.0 and Massive X 1.3.1 using R2R's keygens from older releases. But that window seems to close around 2021 with Massive 1.5.8.

    @bobdule @Radio have you verified that R2R NI keygens from releases after early 2020 work with Wine v9.x and generate an activation that is accepted by the corresponding software?

    I copied the Native Access.xml to "C:\Program Files\Common Files\Native Instruments\Service Center\NativeAccess.xml" for those releases that included one before running the included keygen. I didn't install the application Native Access since it isn't included in any of these releases and it's also not required on Windows for R2R releases. Is this how you got recent R2R NI releases working on Wine, by also installing Native Access? What exact versions (NI product version, Wine version, Native Access version) is working for you with its included R2R keygen?
     
    Last edited: Dec 24, 2024
  11. severance&pay

    severance&pay Newbie

    Joined:
    Nov 30, 2024
    Messages:
    4
    Likes Received:
    0
    Sorry for taking a while to get back to you guys. To answer all the comments saying I should just use Windows/Mac: Yes, I am well aware I am insane/weird/whatever other thing you wanna call Linux audio people hahaha.

    I'm pretty sure WINE is using the correct physical hardware address. It connects to the internet no bother with my legit plugs and doesn't cause any issues with them.

    I did try the demos of the plugins that were giving me grief, as well as some non R2R cracks. That all worked fine.

    I think I have all the necessary libraries installed. I've tried multiple new prefixes with many different libraries. Didn't see any difference in the result.

    When I had virtual desktop enabled as a troubleshooting step, the pop-up windows in the offending plugins appeared on the window containing the virtual desktop and stayed there until I interacted with it, while the plugin itself carried away merrily on the DAW's plugin window as normal. Seems to me the pop-up windows really are the only offending feature. Maybe it's something like the child window has lost its parent? Or something like that. :dunno:

    Here's a WINE log from Arturia's Synclavier V where I click the polyphonic menu, for example.

    Code:
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 000000000C136FC8): semi-stub
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:win:RegisterTouchWindow hwnd 00000000000700CC, flags 0 stub!
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000000700CC 233 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000000700CC 4a 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000000700CC 49 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 000000000C136FC8): semi-stub
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:win:RegisterTouchWindow hwnd 00000000000800CC, flags 0 stub!
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000000800CC 233 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000000800CC 4a 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000000800CC 49 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 000000000C137138): semi-stub
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:win:RegisterTouchWindow hwnd 00000000001200DA, flags 0 stub!
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200DA 233 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200DA 4a 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200DA 49 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 000000000C1372A8): semi-stub
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:win:RegisterTouchWindow hwnd 00000000001200E0, flags 0 stub!
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200E0 233 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200E0 4a 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200E0 49 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 000000000C137418): semi-stub
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:win:RegisterTouchWindow hwnd 00000000001200E6, flags 0 stub!
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200E6 233 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200E6 4a 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200E6 49 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:combase:RoGetActivationFactory (L"Windows.UI.ViewManagement.UIViewSettings", {3694dbf9-8f68-44be-8ff5-195c98ede8a6}, 000000000C137588): semi-stub
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:win:RegisterTouchWindow hwnd 00000000001200EC, flags 0 stub!
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200EC 233 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200EC 4a 1 0000000000000000
    18:26:56 [Synclavier V-28FOVYdi] [Wine STDERR] 18:26:56 [arturia] [STDERR] 0024:fixme:msg:ChangeWindowMessageFilterEx 00000000001200EC 49 1 0000000000000000
    
     
    • Interesting Interesting x 1
    • List
  12. Synclavier

    Synclavier Rock Star

    Joined:
    Nov 28, 2014
    Messages:
    588
    Likes Received:
    396
    I guess you'll find this kind help on this forum https://linuxmusicians.com/
     
    • Like Like x 1
    • Disagree Disagree x 1
    • List
  13. severance&pay

    severance&pay Newbie

    Joined:
    Nov 30, 2024
    Messages:
    4
    Likes Received:
    0
    Probably, yeah. Not sure how they feel about discussing software piracy though :bleh:
     
  14. DoubleInvertedPhase

    DoubleInvertedPhase Newbie

    Joined:
    Jun 28, 2024
    Messages:
    7
    Likes Received:
    1
    From their forum rules:
     
  15. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,246
    Likes Received:
    909
    Complete stab in the dark, I'd try with a copy of a real bcryptprimitives.dll. I don't have R2R Native Instruments stuff, it's the only dll import I vaguely remember related to R2R NI releases.
     
  16. DoubleInvertedPhase

    DoubleInvertedPhase Newbie

    Joined:
    Jun 28, 2024
    Messages:
    7
    Likes Received:
    1
    Interesting idea. I tried the following:
    1. copy bcryptprimitives.dll from a real Win10 system32 directory to a clean wineprefix system32 directory and overwrite
    2. copy bcryptprimitives.dll from a real Win10 SysWOW64 directory to a clean wineprefix SysWOW64 directory and overwrite
    3. Rune winecfg to set the override order of
      bcryptprimitives.dll to "Native, Built-in"
    4. Install Kontakt 7
    5. Copy NaticAccess.xml to C:/Program Files/Common Files/Native Instruments/Service Center
    6. Run R2R keygen to create a license for Kontakt 7
    7. Run Kontakt 7 -> Shows "Invalid License" and demo startup dialog
    Is that roughly what you said I could try?
     
  17. xorome

    xorome Audiosexual

    Joined:
    Sep 28, 2021
    Messages:
    1,246
    Likes Received:
    909
    Yep - sucks it didn't work.

    I don't have the R2R stuff installed. I'd continue trying to replace emulated dlls with real ones anyway (list dll imports from Kontakt (exe/vst3) and the R2R keygen (exe) -> grab real copies of those).

    I don't know if ldd works on Windows PE binaries - I'm sure there's something that will though. Last resort -> install Visual Studio Community Edition and use "dumpbin /imports blah.vst3".

    E: Wine ships with "winedump" apparently, should be able to do the same. Just spitballing ideas though.
     
  18. izn444nz

    izn444nz Platinum Record

    Joined:
    Jul 23, 2022
    Messages:
    156
    Likes Received:
    174
    @severance&pay

    I'm using Linux with wine and yabrigde for some years now without problems. I don't use cracked plugins but I had some issues with plugins crashing in the past.

    Things that I have tried that solved issues include changing wine version and setting up vulkan drivers in wine. For example, in my setup, Softube plugins like Amp Room and Marshall Silver Jubilee only works with wine7, newer plugins requires Vulkan drivers and so on, so there are some things you can do to use a spefic set of binaries or wine prefix for specific plugins.

    What's your wine version?

    Do you use TKG wine (https://github.com/Frogging-Family/wine-tkg-git) ?

    Do you use Vulkan (https://github.com/doitsujin/dxvk) ?

    Have you checked yabridge compat options (https://github.com/robbert-vdh/yabridge?tab=readme-ov-file#compatibility-options) ?

    Have you tried waiting a minute before clicking the buttons after opening the plugin ? (long story short, sometimes wine can't handle multiple network calls, so when you know something will trigger a request, you can wait before clicking on it)

    There a few more things to try, but I'd start with these
     
  19. DoubleInvertedPhase

    DoubleInvertedPhase Newbie

    Joined:
    Jun 28, 2024
    Messages:
    7
    Likes Received:
    1
    Thanks, these are great tips!

    The R2R Kontakt keygen version 3.2.1 doesn't seem to load any cryptographic library:
    Code:
    winedump dump -j import 'Kontakt Keygen v3.2.1.exe' | grep .dll
      offset 00007104 ADVAPI32.dll
      offset 00007118 SHELL32.dll
      offset 0000712c ole32.dll
      offset 00007140 COMCTL32.dll
      offset 00007154 USER32.dll
      offset 00007168 GDI32.dll
      offset 0000717c KERNEL32.dll
    
    There's also nothing suspicious being logged when executing the keygen.

    Kontakt 7 loads these libraries:
    Code:
    winedump dump -j import 'Kontakt 7.exe' | grep .dll
      offset 087f36cc dwmapi.dll
      offset 087f36e0 AVRT.dll
      offset 087f36f4 SETUPAPI.dll
      offset 087f3708 WINMM.dll
      offset 087f3730 WS2_32.dll
      offset 087f3758 MFReadWrite.dll
      offset 087f376c PROPSYS.dll
      offset 087f3780 api-ms-win-shcore-scaling-l1-1-1.dll
      offset 087f3794 ODBC32.dll
      offset 087f37a8 WINHTTP.dll
      offset 087f37bc CRYPT32.dll
      offset 087f37d0 dbghelp.dll
      offset 087f37e4 SHLWAPI.dll
      offset 087f37f8 bcrypt.dll
      offset 087f380c USER32.dll
      offset 087f3820 dxgi.dll
      offset 087f3834 POWRPROF.dll
      offset 087f3848 SHELL32.dll
      offset 087f385c KERNEL32.dll
      offset 087f3870 VERSION.dll
      offset 087f3884 ole32.dll
      offset 087f3898 OLEAUT32.dll
      offset 087f38ac MF.dll
      offset 087f38c0 dxva2.dll
      offset 087f38d4 EVR.dll
      offset 087f38e8 UxTheme.dll
      offset 087f38fc Secur32.dll
      offset 087f3910 ncrypt.dll
      offset 087f3924 d3d11.dll
      offset 087f3938 DWrite.dll
      offset 087f394c GDI32.dll
      offset 087f3960 IMM32.dll
      offset 087f3974 WTSAPI32.dll
      offset 087f3988 COMDLG32.dll
      offset 087f399c d3d9.dll
      offset 087f39b0 api-ms-win-core-synch-l1-2-0.dll
      offset 087f39c4 MPR.dll
      offset 087f39d8 USERENV.dll
      offset 087f39ec ADVAPI32.dll
      offset 087f3a00 AUTHZ.dll
      offset 087f3a14 NETAPI32.dll
      offset 087f3a28 api-ms-win-core-winrt-string-l1-1-0.dll
      offset 087f3a3c api-ms-win-core-winrt-l1-1-0.dll
      offset 087f3a50 MSVCP140.dll
      offset 087f3a64 MSVCP140_1.dll
      offset 087f3a78 MSVCP140_2.dll
      offset 087f3a8c MSWSOCK.dll
      offset 087f3aa0 CONCRT140.dll
      offset 087f3ab4 VCRUNTIME140.dll
      offset 087f3ac8 VCRUNTIME140_1.dll
      offset 087f3adc api-ms-win-crt-runtime-l1-1-0.dll
      offset 087f3af0 api-ms-win-crt-heap-l1-1-0.dll
      offset 087f3b04 api-ms-win-crt-math-l1-1-0.dll
      offset 087f3b18 api-ms-win-crt-convert-l1-1-0.dll
      offset 087f3b2c api-ms-win-crt-string-l1-1-0.dll
      offset 087f3b40 api-ms-win-crt-stdio-l1-1-0.dll
      offset 087f3b54 api-ms-win-crt-utility-l1-1-0.dll
      offset 087f3b68 api-ms-win-crt-filesystem-l1-1-0.dll
      offset 087f3b7c api-ms-win-crt-time-l1-1-0.dll
      offset 087f3b90 api-ms-win-crt-locale-l1-1-0.dll
      offset 087f3ba4 api-ms-win-crt-environment-l1-1-0.dll
      offset 087f3bb8 api-ms-win-crt-multibyte-l1-1-0.dll
    
    I tried to replace the following (including overriding via winecfg): bcrypt.dll, crypt32.dll, ncrypt.dll, bcryptprimitives.dll and rsaenh.dll. The last one wasn't directly listed via winedump but logged when running wine with one of the other libraries replaced.

    But still: either Kontakt 7 rejects the authorization (and usually continues to log "01d0:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm").

    Or it crashes like this:
    Code:
    018c:fixme:ntdll:EtwRegisterTraceGuidsW   register trace class {SOME_GUID}
    018c:fixme:process:NtQueryInformationProcess (0xffffffffffffffff,info_class=86,0x11f4f0,0x000000b0,(nil)) Unknown information class
    018c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00006FFFFDF5C84F, 55) stub
    018c:err:module:loader_init "bcrypt.dll" failed to initialize, aborting
    018c:err:module:loader_init Initializing dlls for L"C:\\Program Files\\Native Instruments\\Kontakt 7\\Kontakt 7.exe" failed, status c0000142
    
    Any other idea?
     
    • Interesting Interesting x 1
    • List
Loading...
Loading...