Manually downloading Folding@Home core’s

Standard

Lately i’ve had some trouble with Folding@Home not downloading the necessary cores automatically. I’ve had to resort to manually downloading them and hex-editing them to get the .exe core. I’ve now found a way to automate this process, using Cygwin.

  1. Download cygwin from here
  2. Install with default settings (if using Vista you need to “Run as administrator” and also choose to install “just for me” during the setup process.
  3. Once installed run cygwin and let it set itself up.
  4. Copy and paste this into a new text document:
  5. tail -c +513 Core_%1.fah > Core%1.exe.bz
    bunzip2 Core%1.exe.bz
    mv Core%1.exe FahCore_%1.exe

  6. Save it as folding.bat (you can give it a different name if you like, it’s not important) in your cygwin home directory (will be something like c:\cygwin\home\<username>\)
  7. Type the following into the cygwin window:
  8. chmod 775 folding.bat

  9. Download the folding@home core from here
  10. Place the downloaded file into your cygwin home directory
  11. Type the following into the cygwin window:
  12. ./folding.bat xx

    (where xx is the number of the core eg. Core_11.fah would be 11

  13. you should now have a file named FahCore_xx.exe (where xx is the number of the core)
  14. Place that file in your folding@home directory (eg. C:\program files\Folding@Home)
  15. Folding@Home should now be able to use the core 🙂