Cassio Posted July 30, 2012 Share Posted July 30, 2012 I'm quoting this post from RevoGirl blog  AppleHDA for Mountain Lion DP3 April 19, 2012 by RevoGirl Good news. I committed an updated version of my AppleHDA patching script. Which is now available from my Github repository. Go get it and give it a try. Please be so kind to let me know if it is working for you. Thank you. p.s. Yeah yeah yea. The resource files (XML) are now compressed – another step forward to speed up the boot process – with zlib. Whatever. Have a look here: http://opensource.apple.com/source/xnu/xnu-1699.24.8/libkern/zlib/ and http://en.wikipedia.org/wiki/Zlib FYI; These functions: AppleHDADriver::layoutLoadHandler(void const*,uint) AppleHDADriver::platformLoadHandler(void const*,uint) call _uncompress aka int uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)  Update I have a Perl script to inflate and deflate the resource files, which I will add to my dropbox account a.s.a.p. And done! Download zlib.pl.zip and let me know what you think. Have fun with it Usage You can inflate (decompress) a file with: perl zlib.pl inflate layout99.xml.zlib > layout99.xml And you can deflate (compress) a file with: perl zlib.pl deflate layout99.xml > layout99.xml.zlib zlib.pl.zip Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...
Cassio Posted August 13, 2012 Author Share Posted August 13, 2012 Script to binpatch 10.8 AppleHDA (by bcc9) http://www.insanelymac.com/forum/index.php?showtopic=280468&view=findpost&p=1840394 Quote ASUS N53Jq • CPU: Intel Core i7-740QM 1.73GHz • RAM: 6,0GB • HD: 500GB • GPU: GeForce GT 425M 1GB 1920x1080 • OS: OS X 10.8.4 • Linux Mint 15 • Windows 8 Link to comment Share on other sites More sharing options...