View Full Version : libaacs/libbdplus Windows builds
dizzier
6th September 2016, 19:32
I've been asked to provide current libaacs/libbdplus builds for Windows. There was really not much development since I've posted those last time (versions are the same or with cosmetic updates, there is absolutely no new development about decrypting AACS or BD+). However, this time I've tested those on an actual Windows 10 and found out that my last builds are kinda broken. 32 bit version crashed due to alignment issues and I've found out that vanilla libbdplus 0.1.2 is simply broken and does not work at all. I was able to fix those issues and now it seems to work with VLC 2.2.x. However, they do not work at all with VLC 3.x nightly build. I have no idea why, it seems that VLC 3.x cannot load .dll files, for whatever reason (if anyone know why, please let me know).
build environment: binutils 2.27, gcc 6.2.0, mingw64 4.0.6
libgpg-error: 1.24
libgcrypt: 1.7.3
libaacs: 0.8.1
libbdplus: 0.1.2 + b567dbb43770f5660854497ce6e5e550b341493b (http://git.videolan.org/?p=libbdplus.git;a=commit;h=b567dbb43770f5660854497ce6e5e550b341493b) to fix it
Just put all files in VLC installation directory.
32 bit version: http://s000.tinyupload.com/index.php?file_id=30917399232633780258
64 bit version: http://s000.tinyupload.com/index.php?file_id=09216121121964353042
If it does not work for you, please report at least Windows version, VLC version and architecture (32/64 bit). I am not a Windows developer, so I am not sure I will be able to help, but I'll try.
Starbuck2010
7th September 2016, 06:58
Thanks for new builds, I've updated on my side:
AACS Database CHANGELOG
=======================
Updated by Starbuck (http://www.labdv.com/aacs/)
September 7th, 2016
version 2.1.1.0: updated libaacs 0.8.1.1
Known bugs and limitations:
- UTF-8 displayed badly in monitor displays
- libaacs.dll and libbdplus.dll not working with VLC 2.3.x
Fix:
- New libaacs.dll and libbdplus.dll builds fix issues running Windows 10
- New libaacs.dll and libbdplus.dll tested with VLC 2.2.x
Installers for Windows:
- Updated libaacs.dll with 0.8.1.1 builds by dizzier@doom9
http://forum.doom9.org/showthread.php?p=1780031
http://www.labdv.com/aacs/updater.php
dizzier
7th September 2016, 11:17
There is no VLC 2.3.x. The builds do not work with VLC 3.x ;)
candela
9th September 2016, 01:12
I cannot get BD+ to work. I found a title with BD+ v3 in my collection (Romancing The Stone) and playback in VLC is corrupted. I tried DumpHD and it seems to work. The convtab.bin file produced by DumpHD is different from VLC. Shouldn't they be the same or are there different versions of the convtab.bin
some questions:
1. is the convtab.bin sufficient to decode any BD+ version? Would extracting a convtab.bin from a player, that for example supports bd+ v10, be sufficient for VLC to play the disc even though libbdplus cannot generate the convtab.bin itself
2. if case the answer to 1 is yes, can someone make a build of libbdplus that loads a cached convtab.bin for the disc if one exists
3. can someone compile the convtab dump example program that is included with libbdplus source code (for windows)
dizzier
9th September 2016, 09:28
Did you put a valid libbdplus config (vm0 directory containing several files, to be found on this forum) in the proper place? Also, BD+ is tightly coupled with disc playback, you must play it with all the menus and start the movie using them.
If the convtab is different then probably decryption didn't work. libbdplus just tries to generating convtab no matter what. Loading a cached convtab should work (and then you won't have to use disc menus), but I believe it is not supported by libbdplus.
Extracting convtab from a working player is a different story and might be quite hard ;)
candela
9th September 2016, 10:41
Did you put a valid libbdplus config (vm0 directory containing several files, to be found on this forum) in the proper place? Also, BD+ is tightly coupled with disc playback, you must play it with all the menus and start the movie using them.
If the convtab is different then probably decryption didn't work. libbdplus just tries to generating convtab no matter what. Loading a cached convtab should work (and then you won't have to use disc menus), but I believe it is not supported by libbdplus.
Extracting convtab from a working player is a different story and might be quite hard ;)
I put VM0 in %APPDATA%bdplus. VLC creates the cached versions in the same folder. The files also have the same MD5 as the ones for DumpHD although they have different names and there are more files.
But I always play VLC without menus. I will try this later. But how does DumpHD manage then without playing the disc?
Can you maybe implement loading of cached version ? Or at least compile that dump convtab program. Otherwise, I'll try to make this a long term project (haven't looked at C or any other code except some very basic VBA in the past 15 years :)).
dizzier
9th September 2016, 14:57
But I always play VLC without menus. I will try this later. But how does DumpHD manage then without playing the disc?
I was not around when DumpHD was created, so I am not sure. I believe that for early BD+ discs it really boils down to playing disc titles in proper order. Like playing the menu (it is really a special video clip on disc) unlocks parts of BD+ virtual machine that are needed later by the movie? If that is the case, DumpHD can probably simulate this. Playing a disc without menus on VLC jumps straight to the movie title, completely ignoring anything else. For example, my Hitman gen2 disc will not unlock in VLC without playing it with the menus. However, gen1 disc plays just fine without menus.
Can you maybe implement loading of cached version ? Or at least compile that dump convtab program. Otherwise, I'll try to make this a long term project (haven't looked at C or any other code except some very basic VBA in the past 15 years :)).
Well, maybe, I was thinking someday about this, but never came about messing with libbdplus;) I might look at this someday, but I cannot guarantee anything (life, work, etc. as usual are strong distractions).
You can download convtab_dump.exe and bdplus_test.exe:
http://s000.tinyupload.com/index.php?file_id=28326351826311873322
http://s000.tinyupload.com/index.php?file_id=74694581833193190096
They need .dll files from this thread. I am at work, with not Windows in sight, so I don't know if those even run ;)
candela
9th September 2016, 17:38
Romancing the Stone refuses to play with menus in VLC so stuck there
I see in the logs
libbluray warning: unimplemented query (17) in control
core debug: removing module "libbluray"
libbluray info: Closing overlays.
convtab_dump.exe and bdplus_test.exe don't seem to do anything unfortunately. They also don't print errors, tried
convtab_dump.exe convtab.bin
bdplus_test.exe f:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.