How To Get The Multi-Core Version of Par2 on OS X

Discussion in 'Guides and Tutorials' started by xzKinGzxBuRnzx, Feb 27, 2013.

  1. xzKinGzxBuRnzx

    xzKinGzxBuRnzx The Feature Man

    Joined:
    Aug 9, 2008
    Messages:
    1,875
    Likes Received:
    1,239
    Location:
    Space
    Lets start with this. Run these commands with terminal to get started.

    Code:
    cd ~
    curl http://chuchusoft.com/par2_tbb/par2cmdline-0.4-tbb-20100203-mac.zip > par2.zip
    unzip par2.zip
    rm par2.zip
    cd par2cmdline-0.4-tbb-20100203-mac
    rm COPYING
    rm README_FIRST.txt
    chmod +x par2
    
    OPTIONAL: (PATH - REQUIRES ADMIN PASSWORD)
    sudo cp * /usr/bin
    
    If your interested in using this with SABnzbd peform the commands below. Be warned though. YOU WILL NEED TO DO THIS EVERY TIME YOU UPDATE SABNZBD.

    Now SABnzbd already comes with par2 for OS X. Although it doesn't appear to be multi-core. To begin lets replace SABnzbd bundled version.

    Make sure your SABnzbd+.app is in your /Applications folder, otherwise the commands below will fail.

    Code:
    cp * /Applications/SABnzbd.app/Contents/Resources/osx/par2
    cd /Applications/SABnzbd.app/Contents/Resources/osx/par2
    rm par2-sl
    mv par2 par2-sl
    
    Now just load up the SABnzbd Web UI. Go to Config > Switches > Par2 Parameters. Give this "-t0" without quotes. You can always fine tune this option later from the bottom link.

    Thats it! :D Follow this guide to fine tune your SABnzbd setup.

    Now either run these commands to clean up or do it manually.
    Code:
    cd ~
    rm -R par2cmdline-0.4-tbb-20100203-mac
    
     
    Rick and InsaneNutter like this.
  2. Nimrod

    Nimrod Exotic Vendor

    Joined:
    Jun 1, 2007
    Messages:
    1,990
    Likes Received:
    526
    Location:
    London, United Kingdom
    This part of your code doesn't work, but is easy enough to do manually.

    Open Sabnzbd Application by right clicking and selecting Show Package Contents. Navigate to Contents/Resources/osx/par2.
    Delete the par2-sl in there, move the new par2 (from part 1 of the guide) to location and rename to par2-sl. Job done.
     

Share This Page