Right sorry about this mate. I figured it out now
This it the output now. Two kexts have been made AppleHDA_ALC887.kext, AppleHDAHCD_ALC887.kext and a folder called AppleHDA_ALC887_Resources. Here are the files if you want to check it out.
Code:
Violets-Speedy-Hack:~ JackBamford$ cp -R Extract_ALC887 Resources_ALC887
Violets-Speedy-Hack:~ JackBamford$ ./patch_hda.sh ALC887
Creating AppleHDA_ALC887.kext..../patch_hda.sh: line 31: ./tools/zlib: No such file or directory
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/rm_Platforms.plist
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/rm_Platforms.plist
./patch_hda.sh: line 44: ./tools/zlib: No such file or directory
./patch_hda.sh: line 44: ./tools/zlib: No such file or directory
./patch_hda.sh: line 44: ./tools/zlib: No such file or directory
./patch_hda.sh: line 44: ./tools/zlib: No such file or directory
./patch_hda.sh: line 52: ./tools/zlib: No such file or directory
./patch_hda.sh: line 52: ./tools/zlib: No such file or directory
./patch_hda.sh: line 52: ./tools/zlib: No such file or directory
./patch_hda.sh: line 52: ./tools/zlib: No such file or directory
Done.
Creating AppleHDAHCD_ALC887.kext... Done.
./patch_hda.sh: line 93: ./tools/zlib: No such file or directory
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/rm_Platforms.plist
Cannot parse a NULL or zero-length data
Error Reading File: /tmp/rm_Platforms.plist
./patch_hda.sh: line 103: ./tools/zlib: No such file or directory
./patch_hda.sh: line 103: ./tools/zlib: No such file or directory
./patch_hda.sh: line 103: ./tools/zlib: No such file or directory
./patch_hda.sh: line 103: ./tools/zlib: No such file or directory
Violets-Speedy-Hack:~ JackBamford$