Jump to content

AppleHDA for Mountain Lion

Recommended Posts

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:




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)



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 ;)


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


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...
The popup will be closed in 15 seconds...