Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Decrypting

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th January 2018, 19:46   #61  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Just uploaded release 0.61 - I think the major new feature is a massive speed boost because I changed AES functions to the libgcrypt library.

Additionally it's now possible to perform an ISO InPlace decryption and another new feature is to redirect all 'wrong' playlists to the correct playlist on discs with playlist obfuscation - you only need to know the correct playlist
nalor is offline   Reply With Quote
Old 31st January 2018, 02:48   #62  |  Link
spotter
Registered User
 
Join Date: Jan 2002
Posts: 250
One can't just replace playlists. Many times it checks the file size and if not what it expects, fails.
spotter is offline   Reply With Quote
Old 31st January 2018, 18:16   #63  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Quote:
Originally Posted by spotter View Post
One can't just replace playlists. Many times it checks the file size and if not what it expects, fails.
You're right - my approach is not really a solution to the problem but more some kind of a small workaround.

On my pioneer player I noticed he's using the wrong playlist - and the wrong playlist is already played before e.g. the menu gets displayed (because some internal checks during execution failed and it decided to play one of the fake playlists).
I just remap all 'wrong' playlists to the correct one - and in this case the pioneer player plays the correct playlist instead of the wrong one.
I still don't get into the menu - but at least I can use my Pioneer player and don't need my pi to play the disc.

And as I have only a few of those discs I don't know how good it's really working - it's just something I've tried a few month ago and it's still in the application
nalor is offline   Reply With Quote
Old 13th March 2018, 14:02   #64  |  Link
frankio
Registered User
 
Join Date: Feb 2002
Location: Italy
Posts: 34
I've used this precious tool on a few BDs (even BD+ ones) in ISO2ISO mode and it worked a treat, thank you!

Today I've stumbled upon a title that BTAD refuses to decrypt giving me an unexplicable error about not being able to find AACS directory.
This is an excerpt from logfile:

Code:
PARTITION:
PartitionNr >0< StartBlock >00000288< BlockLength >24438208<
2018-03-13 10:20:07 # 262 # [I] main / legacy / Initialize Disc now
2018-03-13 10:20:07 # 262 # [I] main / legacy / VolumeName: RED_BIRD_2D_F2
2018-03-13 10:20:07 # 262 # [I] bluray_udf / BRUDF_FileSize / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_FileSize ++++ File >\AACS\Unit_Key_RO.inf< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-13 10:20:07 # 262 # [I] bluray_aacs / BRAACS_getDiscID / UDF-Filesize Result for >\AACS\Unit_Key_RO.inf< - >#BRUDF_ERR_FILE_NOT_FOUND<
2018-03-13 10:20:07 # 262 # [I] bluray_udf / BRUDF_FileSize / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_FileSize ++++ File >\BTD!\Unit_Key_RO.inf< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-13 10:20:07 # 262 # [I] bluray_aacs / BRAACS_getDiscID / UDF-Filesize Result for >\BTD!\Unit_Key_RO.inf< - >#BRUDF_ERR_FILE_NOT_FOUND<
2018-03-13 10:20:07 # 262 # [I] bluray_udf / BRUDF_FileSize / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_FileSize ++++ File >\ANY!\Unit_Key_RO.inf< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-13 10:20:07 # 262 # [I] bluray_aacs / BRAACS_getDiscID / UDF-Filesize Result for >\ANY!\Unit_Key_RO.inf< - >#BRUDF_ERR_FILE_NOT_FOUND<
2018-03-13 10:20:07 # 262 # [I] bluray_udf / BRUDF_FileSize / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_FileSize ++++ File >\FAB!\Unit_Key_RO.inf< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-13 10:20:07 # 262 # [I] bluray_aacs / BRAACS_getDiscID / UDF-Filesize Result for >\FAB!\Unit_Key_RO.inf< - >#BRUDF_ERR_FILE_NOT_FOUND<
2018-03-13 10:20:07 # 262 # [E] bluray_aacs / BRAACS_getDiscID / No current or former AACS directory could be found - not possible to calculate DiscID for >C:\BD-iso\enc\RED_BIRD_2D_F2.iso<
2018-03-13 10:20:07 # 262 # [I] main / legacy / ERROR! Couldn't get DiscID >#BRAACS_DiscIdInvalid<
2018-03-13 10:20:07 # 263 # [I] main / legacy / ERROR! Bluray_InitDisc failed! (-2)
2018-03-13 10:20:07 # 263 # [I] main / legacy / ERROR! DecryptIso2Iso failed for file >C:\BD-iso\enc\RED_BIRD_2D_F2.iso<
2018-03-13 10:20:07 # 263 # [I] main / legacy / Overall duration >0:00:00<
Obviously the AACS directory is present on the disc.

Now if I mount the ISO as a virtual drive and drop the drive letter onto BTAD executable (mode = 3) then everything goes smooth.
I suspect there's a problem with this specific ISO but I don't have a clue as I ripped it using the same method as others titles (linux dd command) and this one only is failing.

Please let me know if you need more logs, thank you.
frankio is offline   Reply With Quote
Old 15th March 2018, 00:20   #65  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Quote:
Originally Posted by frankio View Post

Please let me know if you need more logs, thank you.
Thanks for the report - really interesting, maybe I missed something when I wrote my own UDF interpreter ....

Please upload the first 20MB of your iso to e.g. tinyupload - this is all I need to check whats going wrong here.

Just wrote a small tool that saves the first 20MB of a file into a separate file inside the same directory - just drag the iso on the exe and you should get a '.20MB' file as result

SplitFirst20MB

Thanks!
nalor is offline   Reply With Quote
Old 15th March 2018, 13:19   #66  |  Link
frankio
Registered User
 
Join Date: Feb 2002
Location: Italy
Posts: 34
Here you go:

http://s000.tinyupload.com/index.php...96312963926920

BTW I could have spared you some coding time using dd to cut the beginning of the problematic ISO,
I really appreciate your effort though

While we're at it... any chance you can release a linux version eventually?
Right now I'm forced to use a windows system just because of this great tool.

Thank you for your support!
frankio is offline   Reply With Quote
Old 15th March 2018, 18:53   #67  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Quote:
Originally Posted by frankio View Post
Thank you for your support!
Thanks for the upload!

Found the problem - I missed to take the 'LengthofImplementationUse' in the FileIdentifierDescriptor into account... this is usually always 0 and according to the OSTA UDF specification it should be set to the identifier of the application the last modified this descriptor.
So basically it's of no interest (just a text field - in your case it includes 'MEI' ) - I just need to skip it correctly when parsing the file structure

Will create a fixed release when I'm back home (hopefully this evening).

Regarding a linux release: purebasic is also available for linux, but I think it's not as easy as just recompiling it in linux .. maybe I will find some time to check it out.
nalor is offline   Reply With Quote
Old 19th March 2018, 22:41   #68  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
New Release with the fix available - took a little bit longer because I wanted to finally implement a 'Rip/Dump disc and test the iso' mode
nalor is offline   Reply With Quote
Old 20th March 2018, 11:42   #69  |  Link
frankio
Registered User
 
Join Date: Feb 2002
Location: Italy
Posts: 34
I tried the fixed version and now the decryption process starts but then, towards the end, it stops again with the following error:

Code:
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_Close ++++ File >C:\BD-iso\enc\RED_BIRD_2D_F2.iso< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-20 11:04:53 # 1385130 # [I] main / legacy / All blocks copied into >C:\RED_BIRD_2D_F2_decrypted.iso< - rename AACS folder to BTD! now
2018-03-20 11:04:54 # 1386157 # [I] bluray_udf / BRUDF_File_Rename / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_File_Rename ++++ Filename >\AACS< NewFilename >BTD!< iUndoHdl >0< ++++\n++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-20 11:04:54 # 1386157 # [I] bluray_udf / _UDF_readFileIdentifierDescriptor / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ _UDF_readFileIdentifierDescriptor ++++ Filename >\AACS< iAllowFidType >0< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-20 11:04:54 # 1386157 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ _UDF_readwriteFileIdentifierDescriptor ++++ Filename >\AACS< *FidToWrite >0< AllowFidType >0< iUndoHdl >0< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-20 11:04:54 # 1386199 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / File >\AACS< Size >0< FID/Part >1< FID\Block >3< FID\Offset >308< FID\Length >384<
2018-03-20 11:04:54 # 1386240 # [I] bluray_udf / BRUDF_ReadLogicalBlock / ###################### READ-BLOCK 323 # 0x00000000000A1800 LEN 384 Bytes ######################
2018-03-20 11:04:54 # 1386240 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / ++++ File Identifier Descriptor ++++
2018-03-20 11:04:54 # 1386703 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor /   FileIdentifier ><
2018-03-20 11:04:54 # 1386703 # [E] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / ERROR! Wrong File Identifier! Found >< Expected >AACS<
2018-03-20 11:04:54 # 1386704 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>-716<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018-03-20 11:04:54 # 1386704 # [E] bluray_udf / BRUDF_File_Rename / _UDF_readFileIdentifierDescriptor failed >#BRUDF_ERR_FID_ERROR<
2018-03-20 11:04:54 # 1386705 # [I] main / legacy / ERROR! Rename failed (-716) >#BRUDF_ERR_FID_ERROR<
2018-03-20 11:04:55 # 1387337 # [I] main / legacy / Delete destination file >C:\RED_BIRD_2D_F2_decrypted.iso<
2018-03-20 11:04:56 # 1387784 # [I] main / legacy / ERROR! DecryptIso2Iso failed for file >C:\BD-iso\enc\RED_BIRD_2D_F2.iso<
2018-03-20 11:04:56 # 1387784 # [I] main / legacy / Overall duration >0:22:58<
Feel free to ask for more info or samples!

Quote:
Regarding a linux release: purebasic is also available for linux, but I think it's not as easy as just recompiling it in linux .. maybe I will find some time to check it out.
I won't hold my breath then...
frankio is offline   Reply With Quote
Old 21st March 2018, 19:57   #70  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Please try 0.63 - missed a 2nd location with the same problem
nalor is offline   Reply With Quote
Old 22nd March 2018, 13:36   #71  |  Link
frankio
Registered User
 
Join Date: Feb 2002
Location: Italy
Posts: 34
We're not there yet:

Code:
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_Close ++++ File >C:\BD-iso\enc\RED_BIRD_2D_F2.iso< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-22 11:12:50 # 1377261 # [I] main / legacy / All blocks copied into >C:\RED_BIRD_2D_F2_decrypted.iso< - rename AACS folder to BTD! now
2018-03-22 11:12:50 # 1377262 # [I] bluray_udf / BRUDF_File_Rename / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ BRUDF_File_Rename ++++ Filename >\AACS< NewFilename >BTD!< iUndoHdl >0< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-22 11:12:50 # 1377262 # [I] bluray_udf / _UDF_readFileIdentifierDescriptor / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ _UDF_readFileIdentifierDescriptor ++++ Filename >\AACS< iAllowFidType >0< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-22 11:12:50 # 1377262 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / 
++++++++++++++++++++++++++++++++++++++++++++++++++
++++ _UDF_readwriteFileIdentifierDescriptor ++++ Filename >\AACS< *FidToWrite >0< AllowFidType >0< iUndoHdl >0< ++++
++++++++++++++++++++++++++++++++++++++++++++++++++
2018-03-22 11:12:50 # 1377262 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / File >\AACS< Size >0< FID/Part >1< FID\Block >3< FID\Offset >308< FID\Length >384<
2018-03-22 11:12:51 # 1377357 # [I] bluray_udf / BRUDF_ReadLogicalBlock / ###################### READ-BLOCK 323 # 0x00000000000A1800 LEN 384 Bytes ######################
2018-03-22 11:12:51 # 1377357 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / ++++ File Identifier Descriptor ++++
2018-03-22 11:12:51 # 1377357 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor /   FileIdentifier >AACS<
2018-03-22 11:12:51 # 1377357 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / Correct file found - read mode
2018-03-22 11:12:51 # 1377357 # [I] bluray_udf / _UDF_readwriteFileIdentifierDescriptor / >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>41718056<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
2018-03-22 11:12:51 # 1377357 # [E] bluray_udf / BRUDF_File_Rename / ERROR! Length of File Identifier different!
2018-03-22 11:12:51 # 1377358 # [I] main / legacy / ERROR! Rename failed (-729) >#BRUDF_ERR_RENAME_LEN<
2018-03-22 11:12:51 # 1377603 # [I] main / legacy / Delete destination file >C:\RED_BIRD_2D_F2_decrypted.iso<
2018-03-22 11:12:51 # 1378040 # [I] main / legacy / ERROR! DecryptIso2Iso failed for file >C:\BD-iso\enc\RED_BIRD_2D_F2.iso<
2018-03-22 11:12:51 # 1378041 # [I] main / legacy / Overall duration >0:22:52<
frankio is offline   Reply With Quote
Old 24th March 2018, 20:57   #72  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Quote:
Originally Posted by frankio View Post
We're not there yet:
please try 0.64 - this time I've tested my corrections myself, so I'm quite confident that it should work now
nalor is offline   Reply With Quote
Old 27th March 2018, 12:02   #73  |  Link
frankio
Registered User
 
Join Date: Feb 2002
Location: Italy
Posts: 34
Now everything's working as expected!

Thank you for your continued support
frankio is offline   Reply With Quote
Old 27th March 2018, 12:49   #74  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Quote:
Originally Posted by frankio View Post
Now everything's working as expected!

Thank you for your continued support
Thanks for the feedback!

Gesendet von meinem E5823 mit Tapatalk
nalor is offline   Reply With Quote
Old 1st April 2018, 20:02   #75  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 948
I was struggling for a good chunk of time yesterday evening to figure out why, despite having the libaacs-generated DiscID and VUK in my keydb.cfg file for the disc I was testing, I was still getting complaints about the Disc ID not being found there...it would appear that BlurayTestAndDecrypt is case-sensitive when it comes to the Disc ID (and probably the VUK too, but I didn't bother trying to test that part separately). libaacs uses lower-case letters when it generates its DiscID/VUK/VID backups, which means that you can't use its output as-is (well, aside from having to format the entire line like the others, but I didn't figure the case would be important...clearly it is).

95fpu85... wouldn't work, 'can't be found' error
95FPU85... would work fine
qyot27 is offline   Reply With Quote
Old 1st April 2018, 20:06   #76  |  Link
nalor
Registered User
 
Join Date: Dec 2013
Posts: 294
Quote:
Originally Posted by qyot27 View Post
95fpu85... wouldn't work, 'can't be found' error
95FPU85... would work fine
You're right - I'm currently looking for an entry only in a case sensitive way, will change it for the next release
nalor is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:53.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.