View Full Version : libaacs 0.81 binaries for windows x86 and x64
nalor
22nd October 2015, 21:40
As I couldn't find precompiled libaacs libraries of the current libaacs 0.81 on the net I tried to compile it myself and finally succeeded.
Initially I wanted to use it for the 'validate' part of FindVUK but in the end I noticed that this isn't working very well because libaacs is simply not designed to work this way (it's not possible to use with exactly 1 vuk and nothing else, it always tries for example to use the available processing keys as fallback... so it cannot be used to validate a vuk).
But in case someone is interested in compiling it himself I documented my results here: videolan forum (https://forum.videolan.org/viewtopic.php?f=32&t=127218)
And if you simply want the binaries I've uploaded them to TinyUpload:
New Downloads with smaller files:
libaacs 0.81 x86 windows (http://s000.tinyupload.com/index.php?file_id=00154203122669496975)
libaacs 0.81 x64 windows (http://s000.tinyupload.com/index.php?file_id=71866121821266992271)
Old Downloads including debug information (just for the sake of completeness):
libaacs 0.81 x86 windows (http://s000.tinyupload.com/index.php?file_id=31254241914238187630)
libaacs 0.81 x64 windows (http://s000.tinyupload.com/index.php?file_id=02036414659414761951)
(and I also included the aacs_info.exe that is usually not included)
And if you have questions don't hesitate to ask them :)
candela
23rd October 2015, 13:21
Thanks. With this setup ready, would you be able to easily build the DLLs for libbluray and libbdplus ? Although I'm not sure if there actually has been any noticeable improvement for these libraries.
nalor
25th October 2015, 00:35
I'm already trying - but it's not that easy as it sounds... (or maybe I'm simply to stupid for it - I don't know... ).
Until know I've spent honestly ~10hours on this topic and basically I can compile at least the x86 release without problems, but in the end I don't get a libbluray.dll but only a bd_info.exe file...
Here's my result so far - just in case you're interested:
libbluray 0.90 x86 without dll file (http://s000.tinyupload.com/index.php?file_id=67268947179039443238)
I've asked in the videolan forum for help to get the libbluray.dll file... I'm stuck and as long as I don't get a hint from someone else I don't know what else I should try....
dizzier
30th October 2015, 11:00
I've compiled both decryption libraries (libaacs 0.8.1, libbdplus 0.1.2) with their dependencies (libgpg-error 1.20, libgcrypt 1.6.4).
32 bit build:
http://s000.tinyupload.com/?file_id=80934221015921240364
64 bit build:
http://s000.tinyupload.com/?file_id=02691242686116369662
I am unable to test these right now (no Windows at hand), but last time it all worked properly. Note that changes in libaacs and libbdplus, since last version, are purely cosmetic (no, you won't be able to decrypt new discs).
EDIT:
And the libbluray 0.9.0 binaries. I have no idea if this will work at all.
32 bit build:
http://s000.tinyupload.com/?file_id=78017873876998363110
64 bit build:
http://s000.tinyupload.com/?file_id=54395398336861643408
nalor
30th October 2015, 19:53
@dizzier:
Thanks for posting your small files - can you tell what I'm doing wrong?
In the first post there's a link to my post in the videolan forum that shows what I did to get my compiled files.
But for example my libgpg-error6-0.dll is 610KB in size while yours is only 85KB.. so I'm clearly doing something wrong...
Maybe I'm creating something like a debug build?
And I'm also interested to learn how you created the dll-build of the libbluray library... as mentioned before I'm still missing something because whatever I've tried so far - I don't get the dll file :(
Please enlighten me! :D
Thanks!
PS: Just found the 'strip -s *' commandline to remove all kinds of debug information from the compiled files - but although my files are now a lot smaller than before, my 'libgcrypt-20.dll' is still 568KB while yours is only 311KB... so I'm still doing something wrong :(
dizzier
31st October 2015, 16:36
Yes, not stripping the .dll files is one of the main size contributors in your build.
As for the gcrypt build, just play with the ./configure options. In particular, you only need ECDSA, AES and SHA1 support, there is no need for RSA and other ciphers. I used following options:
--enable-ciphers=aes --enable-pubkey-ciphers=ecc --enable-digests=sha1 --enable-random=w32 --enable-kdfs=pkdf2 --disable-padlock-support --enable-threads=windows
There is nothing special with libbluray. I've disabled Java, freetype and libxml2 support (that makes things easier, but might limit libburay functionality). If you don't get the dll file then you probably build static version of the library, not the shared one. It should build shared by default, but you can try to add:
--disable-static --enable-shared
I'm also using the latest possible cross compile toolchain, hand compiled (gcc 5.2, binutils 2.25.1 and latest mingw64). I have no idea if this changes sizes.
nalor
4th November 2015, 21:15
Thanks for your help! I've tried it with libaacs so far and now my files are also smaller :) I've changed the files in the first post because it doesn't make sense to offer the huge files in the first post...
Will try to master the libbluray dll riddle in the next days... still don't know what I'm doing wrong - but will try your suggestions!
candela
8th November 2015, 14:05
And the libbluray 0.9.0 binaries. I have no idea if this will work at all.
How can you check if it works? Although I thought this DLL was needed for menus, it seems VLC also shows some menus without this DLL. And menus that didn't work without the DLL, also don't work with the DLL (so basically I'm seeing no difference with or without the DLL)
dizzier
9th November 2015, 11:48
How can you check if it works?
I have absolutely no idea. As far as I remember VLC already contains libbluray so it will use that instead of a new libbluray.dll (and I believe it even doesn't look for libbluray.dll).
Most probably you will have to rebuild whole VLC with newer libbluray, to have it working. It might be easier to try VLC nightly builds, they should have latest libbluray.
I don't use neither VLC nor Windows, so I cannot help more.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.