Please Help: Arturia V Collection X v27.08.2024 macOS Patching Issues

Discussion in 'Mac / Hackintosh' started by EZAudio, Jan 19, 2025 at 6:16 AM.

  1. EZAudio

    EZAudio Newbie

    Joined:
    Sunday
    Messages:
    2
    Likes Received:
    0
    Hello,

    I am running Monterey on an M1 Max Macbook Pro.

    I have installed Arturia V Collection X v27.08.2024 macOS and ran all the patches, the patches run and give me no errors, however the AU/VST and standalone versions of the plugins show up in demo mode.

    I tried patching using sudo sh, and sudo chmod -R 777.

    I made sure xcode-select is installed, and gatekeeper is disabled using sudo spctl --master-disable.

    A few things to note:

    1. I have installed these plugins from the same exact source file on a friend's older Macbook Pro running El Capitan and they run fine and are patched properly.

    2. I have installed Pigments on my computer through a different source but from the same team and using the same way to patch it and Pigments runs quite fine and is patched successfully.

    3. Perhaps the weirdest part of this, while trying to figure out what's wrong, I tried to run the standalones in Rosetta, and when I do that, they open patched. However, that doesn't help me as when I load them up inside the DAW, they still load in demo mode.

    Please advise if you have a solution - or even just chime in if you're having the same issue.

    Thanks!!
     
  2.  
  3. msisserious

    msisserious Newbie

    Joined:
    Sunday
    Messages:
    1
    Likes Received:
    0
    hi, i dealt with this issue recently. the initial leak was on audioz and had flawed scripts for arm64 (m series). the trackers all copied this release, so they're all broken.

    the audioz upload was eventually revised, but none of trackers updated.

    in the revision there's a single script that activates all of the installs.


    install everything first
    copy this code and save to a file
    open terminal
    type:

    sh filename

    Code:
    #!/bin/bash
    
    DEBUG=false
    
    # Check for --debug flag
    for arg in "$@"; do
        if [ "$arg" == "--debug" ]; then
            DEBUG=true
            break
        fi
    done
    
    # Function to display debug messages
    function debug_msg {
        if [ "$DEBUG" == true ]; then
            echo "$1"
        fi
    }
    
    function msg {
        printf "\\e[1;32m%s\\e[m\\n" "$1"
    }
    
    # Function to patch a plugin based on the architecture
    function patch_plugin {
        local plugin_name="$1"
        local au_path="/Library/Audio/Plug-Ins/Components/${plugin_name}.component"
        local vst_path="/Library/Audio/Plug-Ins/VST/${plugin_name}.vst"
        local vst3_path="/Library/Audio/Plug-Ins/VST3/${plugin_name}.vst3"
        local vendor_vst_path="/Library/Arturia/${plugin_name}/${plugin_name}.vst"
        local vendor_vst3_path="/Library/Arturia/${plugin_name}/${plugin_name}.vst3"
    
        # Print paths for debugging
        debug_msg "au_path: $au_path"
        debug_msg "vst_path: $vst_path"
        debug_msg "vst3_path: $vst3_path"
        debug_msg "vendor_vst_path: $vendor_vst_path"
        debug_msg "vendor_vst3_path: $vendor_vst3_path"
    
        # Detect architecture
        arch=$(uname -p)
    
        if [ "$arch" == "i386" ]; then
            platform="Intel (x86_64)"
            echo "Patching plugins for $platform..."
    
            # Define patch commands
            patch_commands=(
                "sudo perl -pi -e 's|\xB8\x01\x00\x00\x00\x41\x87\x85\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x41\x87\x85\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xB8\x02\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF4\x49\x89\xFE|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF4\x49\x89\xFE|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD4\x48\x89\xF3|\xB8\x9A\x45\xFB\x3A\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD4\x48\x89\xF3|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xB8\x01\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xB8\x02\x00\x00\x00\x87\x83\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x87\x83\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80\xBF\xE4\x02\x00\x00\x00|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80\xBF\xE4\x02\x00\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF5\x49\x89\xFE|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF5\x49\x89\xFE|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD5\x48\x89\xF3|\xB8\x9A\x45\xFB\x3A\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD5\x48\x89\xF3|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
    
            )
    
            # Execute patch commands
            for cmd in "${patch_commands[@]}"; do
                debug_msg "Executing: $cmd"
                eval "$cmd"
            done
    
        elif [ "$arch" == "arm" ]; then
            platform="Apple Silicon (arm64)"
            echo "Patching plugins for $platform..."
    
            # Define patch commands
            patch_commands=(
    
            # ARM64 patches
                "sudo perl -pi -e 's|\x29\x00\x80\x52\x09\xFD\x9F\x88\x80\x06\x40\xF9|\x69\x00\x80\x52\x09\xFD\x9F\x88\x80\x06\x40\xF9|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x49\x00\x80\x52\x09\xFD\x9F\x88|\x69\x00\x80\x52\x09\xFD\x9F\x88|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xFC\x6F\xBB\xA9\xF8\x5F\x01\xA9\xF6\x57\x02\xA9\xF4\x4F\x03\xA9\xFD\x7B\x04\xA9\xFD\x03\x01\x91\xFF\x43\x07\xD1\xF3\x03\x00\xAA|\xC0\xE9\x8D\x52\x80\xB4\xB0\x72\xC0\x03\x5F\xD6\xF4\x4F\x03\xA9\xFD\x7B\x04\xA9\xFD\x03\x01\x91\xFF\x43\x07\xD1\xF3\x03\x00\xAA|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xF8\x5F\xBC\xA9\xF6\x57\x01\xA9\xF4\x4F\x02\xA9\xFD\x7B\x03\xA9\xFD\xC3\x00\x91\xFF\x83\x0C\xD1\xF3\x03\x01\xAA|\xC0\xE9\x8D\x52\x80\xB4\xB0\x72\xC0\x03\x5F\xD6\xFD\x7B\x03\xA9\xFD\xC3\x00\x91\xFF\x83\x0C\xD1\xF3\x03\x01\xAA|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xFF\x43\x04\xD1\xFC\x6F\x0B\xA9\xFA\x67\x0C\xA9\xF8\x5F\x0D\xA9\xF6\x57\x0E\xA9\xF4\x4F\x0F\xA9\xFD\x7B\x10\xA9\xFD\x03\x04\x91\xF3\x03\x02\xAA\xF4\x03\x00\xAA|\x40\xB3\x88\x52\x60\x5F\xA7\x72\xC0\x03\x5F\xD6\xF8\x5F\x0D\xA9\xF6\x57\x0E\xA9\xF4\x4F\x0F\xA9\xFD\x7B\x10\xA9\xFD\x03\x04\x91\xF3\x03\x02\xAA\xF4\x03\x00\xAA|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x29\x00\x80\x52\x09\xFD\x9F\x88\x80\x06\x40\xF9|\x69\x00\x80\x52\x09\xFD\x9F\x88\x80\x06\x40\xF9|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\x49\x00\x80\x52\x09\xFD\x9F\x88\x80\x06\x40\xF9|\x69\x00\x80\x52\x09\xFD\x9F\x88\x80\x06\x40\xF9|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xFC\x6F\xBB\xA9\xF8\x5F\x01\xA9\xF6\x57\x02\xA9\xF4\x4F\x03\xA9\xFD\x7B\x04\xA9\xFD\x03\x01\x91\xFF\x43\x07\xD1\xF3\x03\x00\xAA|\xC0\xE9\x8D\x52\x80\xB4\xB0\x72\xC0\x03\x5F\xD6\xF4\x4F\x03\xA9\xFD\x7B\x04\xA9\xFD\x03\x01\x91\xFF\x43\x07\xD1\xF3\x03\x00\xAA|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xFC\x6F\xBC\xA9\xF6\x57\x01\xA9\xF4\x4F\x02\xA9\xFD\x7B\x03\xA9\xFD\xC3\x00\x91\xFF\x83\x0C\xD1\xF3\x03\x01\xAA|\xC0\xE9\x8D\x52\x80\xB4\xB0\x72\xC0\x03\x5F\xD6\xFD\x7B\x03\xA9\xFD\xC3\x00\x91\xFF\x83\x0C\xD1\xF3\x03\x01\xAA|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
                "sudo perl -pi -e 's|\xFF\x03\x04\xD1\xFA\x67\x0B\xA9\xF8\x5F\x0C\xA9\xF6\x57\x0D\xA9\xF4\x4F\x0E\xA9\xFD\x7B\x0F\xA9\xFD\xC3\x03\x91\xF3\x03\x02\xAA|\x40\xB3\x88\x52\x60\x5F\xA7\x72\xC0\x03\x5F\xD6\xF6\x57\x0D\xA9\xF4\x4F\x0E\xA9\xFD\x7B\x0F\xA9\xFD\xC3\x03\x91\xF3\x03\x02\xAA|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
    
    
            # Intel patches
    
              "sudo perl -pi -e 's|\xB8\x01\x00\x00\x00\x41\x87\x85\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x41\x87\x85\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\xB8\x02\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF4\x49\x89\xFE|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF4\x49\x89\xFE|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD4\x48\x89\xF3|\xB8\x9A\x45\xFB\x3A\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD4\x48\x89\xF3|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\xB8\x01\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x41\x87\x84\x24\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\xB8\x02\x00\x00\x00\x87\x83\x50\x01\x00\x00|\xB8\x03\x00\x00\x00\x87\x83\x50\x01\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80\xBF\xE4\x02\x00\x00\x00|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x01\x00\x00\x49\x89\xFC\x80\xBF\xE4\x02\x00\x00\x00|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF5\x49\x89\xFE|\xB8\x4E\x6F\xA4\x85\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\x48\x03\x00\x00\x49\x89\xF5\x49\x89\xFE|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
              "sudo perl -pi -e 's|\x55\x48\x89\xE5\x41\x57\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD5\x48\x89\xF3|\xB8\x9A\x45\xFB\x3A\xC3\x41\x56\x41\x55\x41\x54\x53\x48\x81\xEC\xD8\x00\x00\x00\x41\x89\xD5\x48\x89\xF3|g' \"$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name\" \"$vst_path/Contents/MacOS/$plugin_name\" \"$vst3_path/Contents/MacOS/$plugin_name\" \"$vendor_vst_path/Contents/MacOS/$plugin_name\" \"$vendor_vst3_path/Contents/MacOS/$plugin_name\""
    
            )
    
            # Execute patch commands
            for cmd in "${patch_commands[@]}"; do
                debug_msg "Executing: $cmd"
                eval "$cmd"
            done
    
        else
            echo "Unsupported architecture: $arch"
            exit 1
        fi
    
        # Remove Forks and Finder Information
        sudo xattr -cr "$au_path"
        sudo xattr -cr "$vst_path"
        sudo xattr -cr "$vst3_path"
        sudo xattr -cr "$vendor_vst_path"
        sudo xattr -cr "$vendor_vst3_path"
        sudo xattr -dr com.apple.quarantine "$au_path"
        sudo xattr -dr com.apple.quarantine "$vst_path"
        sudo xattr -dr com.apple.quarantine "$vst3_path"
        sudo xattr -dr com.apple.quarantine "$vendor_vst_path"
        sudo xattr -dr com.apple.quarantine "$vendor_vst3_path"
    
        # Code Signing
        sudo codesign --force --deep --sign - "$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name"
        sudo codesign --force --deep --sign - "$vst_path/Contents/MacOS/$plugin_name"
        sudo codesign --force --deep --sign - "$vst3_path/Contents/MacOS/$plugin_name"
        sudo codesign --force --deep --sign - "$vendor_vst_path/Contents/MacOS/$plugin_name"
        sudo codesign --force --deep --sign - "$vendor_vst3_path/Contents/MacOS/$plugin_name"
    
        # Print actions performed
        echo "$au_path/Contents/Resources/plugin.vst3/Contents/MacOS/$plugin_name: replacing existing signature"
        echo "$vst_path/Contents/MacOS/$plugin_name: replacing existing signature"
        echo "$vst3_path/Contents/MacOS/$plugin_name: replacing existing signature"
        echo "$vendor_vst_path/Contents/MacOS/$plugin_name: replacing existing signature"
        echo "$vendor_vst3_path/Contents/MacOS/$plugin_name: replacing existing signature"
    }
    
    msg "Proceeding with patching..."
    
    # Define plugin list
    plugins=(
    "Acid V"
    "Analog Lab V"
    "ARP 2600 V3"
    "Augmented BRASS"
    "Augmented GRAND PIANO"
    "Augmented STRINGS"
    "Augmented VOICES"
    "Augmented WOODWINDS"
    "Augmented YANGTZE"
    "B-3 V2"
    "Buchla Easel V"
    "Clavinet V"
    "CMI V"
    "CP-70 V"
    "CS-80 V4"
    "CZ V"
    "DX7 V"
    "Emulator II V"
    "Farfisa V"
    "Jun-6 V"
    "Jup-8 V4"
    "KORG MS-20 V"
    "Matrix-12 V2"
    "Mellotron V"
    "Mini V4"
    "MiniBrute V"
    "MiniFreak V"
    "Modular V3"
    "OP-Xa V"
    "Piano V3"
    "Pigments"
    "Prophet-5 V"
    "Prophet-VS V"
    "SEM V2"
    "Solina V2"
    "SQ80 V"
    "Stage-73 V2"
    "Synclavier V"
    "Synthi V"
    "Synthx V"
    "Vocoder V"
    "VOX Continental V2"
    "Wurli V2"
    )
    for plugin in "${plugins[@]}"; do
        patch_plugin "$plugin"
    done
    msg "Patching Done"
    
     
  4. EZAudio

    EZAudio Newbie

    Joined:
    Sunday
    Messages:
    2
    Likes Received:
    0
    God bless!! Thank you very much! This solved it.
     
  5. omiac

    omiac Moderator Staff Member

    Joined:
    May 3, 2024
    Messages:
    195
    Likes Received:
    205
    Come on guys... off-topic warez requests and quoted replies are not allowed here and have been cleared. If there is something you want, submit a proper request for it over at sister site or use PM to discuss such things here. TY
     
Loading...
Loading...