View Full Version : BackupHDDVD (C# Port)


Emon
21st January 2007, 15:25
Get BackupHDDVD (C# Port) 1.0 from here (http://www.sendspace.com/file/9c0eor).
Get BackupHDDVDGUI 0.6 from here (http://www.sendspace.com/file/lmjh19). (discontinued)

You will need .NET Framework 2.0 (http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en) to run these apps.

LokiHD
21st January 2007, 15:49
I was working on a C# port myself but looks like NghtShd beat me to it. I did create a nice looking wrapper GUI for BackupHDDVD using C# .. just couldn't post it earlier because of the 5 day posting restriction for new users.

Get it from here (http://rapidshare.com/files/12581074/BackupHDDVDGUI.zip.html).
And here are the screen shots .... let me know if you guys like it or not.

your exe rox!!! :)

i just did king kong from 1 hdd* to another hdd* in, 13 minutes 19 seconds, only @ 1-core :eek:

edit: how about an option to merge feature1+feature2 ?

please add ime mod

edit2: *300+MB/s hdd <-> 300+MB/s hdd :)

Galileo2000
21st January 2007, 15:53
Thanks Emon.

Testing as we speak.

Keep it up buddy!

Now I will go out and buy some HD DVDs which I would never do before muslix64 devlopment started.

Talk about losses to Hollywood :D

He-Man
21st January 2007, 15:54
2. Incorporating the various key finding methods from the memory. ( which method works the best btw? ).
The C++ HD-DVD Volume Key Finder (http://forum.doom9.org/showthread.php?t=120970) made by "ape" works best.
He has also made a modified Blu-Ray Key Finder (http://forum.doom9.org/showthread.php?t=121021).

Emon
21st January 2007, 16:02
The C++ HD-DVD Volume Key Finder (http://forum.doom9.org/showthread.php?t=120970) made by "ape" works best.
He has also made a modified Blu-Ray Key Finder (http://forum.doom9.org/showthread.php?t=121021).

Thanks He-Man .. yeah I have ape's app, though I don't have WinDVD. I use PDVD 6.5 and looks like ape's app doesn't work with that.

He-Man
21st January 2007, 16:06
Thanks He-Man .. yeah I have ape's app, though I don't have WinDVD. I use PDVD 6.5 and looks like ape's app doesn't work with that.
It would be easy to modify for any HD DVD player that stores the keys in memory. You just have to find out where they are stored and find a "memory landmark" close to the key to look for.
I don't know if anyone has extracted keys from PowerDVD 6.5, but if you make a memory dump and find the keys and a memory landmark, then it should be very easy to modify ape's application.

You can use the simple command line tool named PMDump (http://ntsecurity.nu/toolbox/pmdump/) to create a memory dump file of PowerDVD's memory to see if you can locate some know keys in PowerDVD's memory.

LokiHD
21st January 2007, 16:10
whatever u are doing Emon keep doing.. 2nd version v0.1 is even faster.. same movie @ 13:02 vs 13:19 1st version awesome!

edit: 13:02, my math is kinda rough

He-Man
21st January 2007, 18:02
whatever u are doing Emon keep doing.. 2nd version v0.1 is even faster.. same movie @ 13:02 vs 13:19 1st version awesome!

edit: 13:02, my math is kinda rough
Excuse me but isn't it just the C# GUI that has been added by Emon? Doesn't it still use the original java decrypter? If so this C# GUI should have no influence on the spped at all.

LokiHD
21st January 2007, 18:40
Excuse me but isn't it just the C# GUI that has been added by Emon? Doesn't it still use the original java decrypter? If so this C# GUI should have no influence on the spped at all.

idk what Emons doing.. but the other exe ive ran, the QQ mod exe took 2 hours 9 min to complete.. same system, same movie

i was never able to run the original java decrypter, ive tried the suggested workarounds to no available, if someone would post a step by step on how to run backuphddvdv1.00 id be more than happy to compare to this gui..

Emon
24th January 2007, 21:02
Get the version 0.2 from here (http://www.sendspace.com/file/tdc9xn)

Finally I ported it to C# (thanks to NghtShd awesome work!). However, I kept my GUI separate from it. So my C# port is a standalone command line version of muslix64's BackHDDVD v1.00.

In the GUI now you have the option to choose either muslix64's Java version or my C# version of the decryption engine.

hajj_3
24th January 2007, 21:15
looking good:) emon, you should discontinue the java version, there are already java versions out, just work on the fully c# version you have.

also some benchmark comparisons would be nice:)!

LokiHD
24th January 2007, 21:32
Get the version 0.2 from here (http://www.sendspace.com/file/5mwbz4)

Finally I ported it to C# (thanks to NghtShd awesome work!). However, I kept my GUI separate from it. So my C# port is a standalone command line version of muslix64's BackHDDVD v1.00.

In the GUI now you have the option to choose either muslix64's Java version or my C# version of the decryption engine.

@ C# i get this,

Backup HD-DVD V1.00 (C# Port) Starting
Testing source
Could not find HD-DVD source E:\KingKongHD

@ Java, completes in 13:16

ill update the bench after the fix..

sidekick2
24th January 2007, 21:45
Neither the Java nor the C# decryption engine options work for me.

With C#, I get:
Backup HD-DVD v1.00 (c# port) starting
Testing source
Could not find HD-DVD source J:\

(I just tried the .exe at the cmd prompt and it does the same, can't find source j:)

When I try the java, I get a whole slew of java errors in the window:

java.long.UnsupportedClassVersionError: Bad version number in .class.....

I can use the stand alone backuphddvd as well as the java based gui with no problems.

Also, the hddvd key database option, lets you save the same title over and over again. Perhaps a sha1 dupe check should be implemented?

2bigkings
24th January 2007, 22:00
same for me, java version works, c# port can't find source

Emon
24th January 2007, 22:11
same for me, java version works, c# port can't find source

arrg .. maybe I missed something obvious. I am at work now. Let me get to home then I will upload a new version.

Emon
24th January 2007, 22:23
Neither the Java nor the C# decryption engine options work for me.

With C#, I get:
Backup HD-DVD v1.00 (c# port) starting
Testing source
Could not find HD-DVD source J:\

(I just tried the .exe at the cmd prompt and it does the same, can't find source j:)

When I try the java, I get a whole slew of java errors in the window:

java.long.UnsupportedClassVersionError: Bad version number in .class.....

I can use the stand alone backuphddvd as well as the java based gui with no problems.

Also, the hddvd key database option, lets you save the same title over and over again. Perhaps a sha1 dupe check should be implemented?

I think the "java.lang.UnsupportedClassVersionError" is getting thrown because I also updated the original java version and compiled it under java 1.6/6.0.

You should be able to just replace the "BackupHDDVD.jar" that I zipped up with the original "BackupHDDVD.jar" (or install jre 1.6).

LokiHD
24th January 2007, 22:24
in the meantime, Emon, anyone, link to v0.1? cant find it..

thanx!

Emon
24th January 2007, 22:42
Try the 0.2 now. btw for java engine you need jre 1.6

finalmillenium
24th January 2007, 22:58
The C# version should be faster then the Java version.
Simply because C# is going through 1 DLL before hitting the kernel. Where as Java is going through its own little sandbox, where the JVM is in control and monitoring everything.
But then again I'm still playing with 1.6, I could be very wrong.
Good job on the port to C# Emon, I was about to finish mine when you released yours.:(

LokiHD
24th January 2007, 23:27
Try the 0.2 now. btw for java engine you need jre 1.6

v0.2, java @ 13 min 47 sec, C# @ 15 min 15sec

Emon
24th January 2007, 23:30
v0.2, java @ 13 min 47 sec, C# @ 15 min 15sec

little slow ehh .. hey atleast it works! :)

Did you view the movie files? Did they play fine?

LokiHD
24th January 2007, 23:32
still not able to play well off the hdd

powerdvd 7.2

Emon
24th January 2007, 23:34
still not able to play well off the hdd

powerdvd 7.2

well the IME fix isn't in place thats why .. but can you just play one single .evo file?

LokiHD
24th January 2007, 23:37
i can play all of them except for the features

Emon
24th January 2007, 23:43
i can play all of them except for the features

ahh .. so its the KK disc then .. thats a known issue (IME issue).
Do you own any other HDDVD disc?

LokiHD
24th January 2007, 23:44
yup, kk is the only hd movie i own right now..

Momotte
24th January 2007, 23:47
I think if we can decrypt and reconstruct the menu's aca, we will have a fully functionnal hddvd.

I only own KK too for the moment so this is my test bead...

Emon
24th January 2007, 23:49
I think if we can decrypt and reconstruct the menu's aca, we will have a fully functionnal hddvd.

I only own KK too for the moment so this is my test bead...

thats the idea. Will start working on IME issue tonight.

hajj_3
25th January 2007, 20:38
suggestions:

add a timer saying "time elapsed..." and then have "total time: " when finished ripping. also approx time remaining or something. also say the size of the hd-dvd.

im ripping king kong as we speak, bought a hd-dvd drive today, got the last 1! using the c# engine, will let you know how it goes!

Emon
25th January 2007, 20:48
suggestions:

add a timer saying "time elapsed..." and then have "total time: " when finished ripping. also approx time remaining or something. also say the size of the hd-dvd.

im ripping king kong as we speak, bought a hd-dvd drive today, got the last 1! using the c# engine, will let you know how it goes!

yeah thats a cool feature to have. Will work on that. Thanks!

I got the menu working on KK using Zotty's aca extractor (Although the pip window just stays open all the time).
So I will try to see if I can get the IME fix working in my version of BackupHDDVD.

LokiHD
25th January 2007, 21:50
yeah thats a cool feature to have. Will work on that. Thanks!

I got the menu working on KK using Zotty's aca extractor (Although the pip window just stays open all the time).
So I will try to see if I can get the IME fix working in my version of BackupHDDVD.

cool, cant wait to play off the hdd..

He-Man
25th January 2007, 23:30
suggestions:
... also say the size of the hd-dvd.
It would be nice if it checked if there's room enough on the chosen destination HDD before extraction starts and instead abort and give a warning before extraction if there's not room enough. It's very large file after all and it would be nice not wasting +10 minutes extracting just to find out there's not room enoungh for the complete movie.

McoreD
25th January 2007, 23:38
Great stuff Emon. Just a emphasizing a point that it would be best to make it open source so that this great utilities just won't bite the dust like DVDDecrypter. :)

hajj_3
25th January 2007, 23:47
also show how much of the operations have been completed in % and also GB.

Momotte
26th January 2007, 00:12
yeah thats a cool feature to have. Will work on that. Thanks!

I got the menu working on KK using Zotty's aca extractor (Although the pip window just stays open all the time).
So I will try to see if I can get the IME fix working in my version of BackupHDDVD.

what procedure did you follow to have the menu working ? Extract all the file, and repack them using makeaca.exe ?

I did that and it was working, but I zapped the file this morning to retry a whole decryption. Now I cannot get the menu to work anymore... must be something stupid...

LokiHD
26th January 2007, 01:13
Zotty exe + Emon gui v0.2, xbox360 to hdd @ 1 hour 2 min 25 sec vs just copying kk to hdd @ 1 hour 2 min 30 sec

Oleg_Jdev
26th January 2007, 15:08
Zotty exe + Emon gui v0.2, xbox360 to hdd @ 1 hour 2 min 25 sec vs just copying kk to hdd @ 1 hour 2 min 30 sec
I think, does not make sense to optimize the decrypting, becouse read/write speed slowly than decrypting speed.
Only if you do copy a HDDVD's content from hard drive to hard drive.

jkenzie
26th January 2007, 15:32
[QUOTE!
I got the menu working on KK using Zotty's aca extractor (Although the pip window just stays open all the time).
So I will try to see if I can get the IME fix working in my version of BackupHDDVD.[/QUOTE]

I'm going to make an assumption here, first the pip window is in the upper left hand corner and you're using powerdvd 6.5.
If that's the case it's a player problem. Here's the fix.
Use the "a" key to cycle u control on and off. You should see the u control icon in the lower right hand of your screen.
With u control on the first time a pip feature comes up (The first one is right after the zoo scene) press the enter key. Pip should be working normally now.

Emon
26th January 2007, 18:13
[QUOTE!
I got the menu working on KK using Zotty's aca extractor (Although the pip window just stays open all the time).
So I will try to see if I can get the IME fix working in my version of BackupHDDVD.

I'm going to make an assumption here, first the pip window is in the upper left hand corner and you're using powerdvd 6.5.
If that's the case it's a player problem. Here's the fix.
Use the "a" key to cycle u control on and off. You should see the u control icon in the lower right hand of your screen.
With u control on the first time a pip feature comes up (The first one is right after the zoo scene) press the enter key. Pip should be working normally now.[/QUOTE]

Thanks! I will try that tonight.

So I got buffering implemented in my C# port. I still have the GUI and the command line version separate though.

Was working on the IME fix using Zotty's app but his app has some bugs so I am waiting for him to release a new version.

hajj_3
26th January 2007, 23:04
oh yeah, btw the c# version worked perfectly for me, took 59mins with my core 2 duo @ 1.83ghz, 2gb ram.

Emon
27th January 2007, 13:27
version 0.3 is out with the IME fix!!

http://www.sendspace.com/file/gsw5lc

Backup the .evo files first then run "Reconstruct Menu". It will copy the .MAP files, fix the XPL file and then it will call Zotty's awesome aca decrypter (http://forum.doom9.org/showthread.php?t=121236) to fix the .aca files.

EDIT: if someone downloaded 0.3 earlier, please delete that and re-download it again. Just fixed some minor bugs.

Isochroma
27th January 2007, 19:33
First I'd like to thank Emon for this excellent app, which will undoubtedly win over many users.

I do have a question, though: does the program automatically check hdkeys.com for key database updates?

t00ld00d
27th January 2007, 19:48
Excellent app Emon. I've been playing with it this morning. Posted some results over in the IME thread.

AEMIKEA
27th January 2007, 20:20
It says I do not have access to the.map file, any clues? using the most current version, this is on Miami vice which uses a "ucontrol" menu.

Thanks
Mike

2bigkings
27th January 2007, 20:46
i press FIRST reconstruct menu, i dont know if thats the problem but with king kong i have to edit the xpl file with my language because default is japanese. so the xpl file use the menu_jp.aca ..

guile
27th January 2007, 22:17
Still having problem with the new 0.3. I tried King Kong and although everything seems to go ok in the process, getting all kinds of bugs (Menu still not useable, go to chapter and player either closes, crashes or lose video). I don't think this is all the player.

jkenzie
27th January 2007, 23:02
I can't seem to get it to work at all now. After pressing the Reconstruct Menu button, it just hangs on Decrypting title keys.

t00ld00d
27th January 2007, 23:03
Ripped Serenity with the new 0.3 version. I can navigate the menu with the keyboard but there's no mouse functionality. Subtitles are on and even turning them off in menu doesn't work. I can change subs at will but can't shut them off. Not a big deal since I can just edit them out but might be huge for others. Navigation works great. I can skip to different titles and jump around in the movie just fine.

I'm going to try KK now.

Edit: The app refuses to acknowledge that KK exists. When I hit backup it gives me syntax usage tips. Tried Riddick and it's ripping now. The KK disc looks clean, I can browse it in Windows, but the app just doesn't recognize it.

LokiHD
27th January 2007, 23:14
version 0.3 is out with the IME fix!!

http://www.sendspace.com/file/gsw5lc

Backup the .evo files first then run "Reconstruct Menu". It will copy the .MAP files, fix the XPL file and then it will call Zotty's awesome aca decrypter (http://forum.doom9.org/showthread.php?t=121236) to fix the .aca files.

EDIT: if someone downloaded 0.3 earlier, please delete that and re-download it again. Just fixed some minor bugs.

at last.. kk plays perfectly on powerdvd 7.2

thanx Emon, awesome work!

t00ld00d
28th January 2007, 01:46
Riddick ripped fine. When I try to rebuild menus I get a series of errors eventually culminating in aca.exe crashing when scanning the ADV_OBJ directory. Apparently aca.exe sets the .map files to read-only so after failing once all the .map files have to be reset. Then it will fail because the .vti file already exists. Then fails on discid.dat. If I get rid of discid.dat it completely crashes.

Emon
28th January 2007, 01:50
Riddick ripped fine. When I try to rebuild menus I get a series of errors eventually culminating in aca.exe crashing when scanning the ADV_OBJ directory. Apparently aca.exe sets the .map files to read-only so after failing once all the .map files have to be reset. Then it will fail because the .vti file already exists. Then fails on discid.dat. If I get rid of discid.dat it completely crashes.

Zotty's aca_decrypter does not touch the .MAP files or .VTI file. My GUI actually copies those. I am working on the readonly issue.

VistaVick
28th January 2007, 02:26
Excuse my ignorance, but can you use the aca decrypter part with hd dvds that have already been stored on a hard drive? Or do you have to start the process all over using the discs? The program keeps looking for an /aacs directory that doesn't exist in my backups???

markrb
28th January 2007, 03:30
For me it copies everything fine, but stops at the line:
Title Key File MAC:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Where X is the key file number.

Mark

Edit: The problem appears to be in aca_decrypter for me.
If I use it in command line mode it crashes at the same spot that stops
in backuphddvdgui.

Galileo2000
28th January 2007, 06:03
Oh well.

I've tried them all.

Emon program is the BEST at the moment by all means, even without menus implemented.

HDLife
28th January 2007, 18:52
I am trying to use this on Reds and Superman Richard Donner release and am having trouble with this release. I get

Backup HD-DVD V1.00 (C# Port) Starting
Usage: BackupHDDVD SourceDrive DestinationDirectory
Example: BackupHDDVD f: e:\movie\somemovie

How do I fix this?

Zotty
28th January 2007, 18:57
Excuse my ignorance, but can you use the aca decrypter part with hd dvds that have already been stored on a hard drive? Or do you have to start the process all over using the discs? The program keeps looking for an /aacs directory that doesn't exist in my backups???

It works from HD, just as long as you keep the filestructure the same as the real disc; AACS and ADV_OBJ.

t00ld00d
28th January 2007, 18:58
I am trying to use this on Reds and Superman Richard Donner release and am having trouble with this release. I get

Backup HD-DVD V1.00 (C# Port) Starting
Usage: BackupHDDVD SourceDrive DestinationDirectory
Example: BackupHDDVD f: e:\movie\somemovie

How do I fix this?

That's the same error I get with King Kong even though others have had success with it.

gjcaesar
28th January 2007, 19:17
I am trying to use this on Reds and Superman Richard Donner release and am having trouble with this release. I get

Backup HD-DVD V1.00 (C# Port) Starting
Usage: BackupHDDVD SourceDrive DestinationDirectory
Example: BackupHDDVD f: e:\movie\somemovie

How do I fix this?

I get the same error with kk.

EntityEX
28th January 2007, 19:21
I am getting syntax usage stuff whenever it gets to the ACA part. Any ideas?

Oleg_Jdev
28th January 2007, 19:25
I get the same error with kk.
I think, trouble in command line arguments.
May be "Superman Richard Donner", "King Kong" perceived by programm as several params ("King" and "Kong").
You need to copy your data to HDD and delete all spaces in path, or replace them with "_".

gjcaesar
28th January 2007, 19:45
useing another version I have managed to get the movie playing through powerdvd 7.2 but without menu and my audio is out of wack, i get music fine but speech is very low and i still have subs so i guess that aca tool didnt do much. This is all very frustrating and exciteing at the same time lol

kad77
28th January 2007, 19:57
Read this post, it is technical, and enlightening: http://forum.doom9.org/showthread.php?p=941169#post941169

The core decryption algorithm in BackupHDVD is incomplete, and muslix64 has publicly stated (I asked him for clarification) he is not going to maintain it anymore.

Read the above link to read what the only person (I can find) is doing to push the code out of beta, and fix the AACS decryption.

Please keep this in mind as you continue to port this broken implementation to other programming constructs.

Devote a little time to understanding the *key* problems that trump porting efforts. If people don't understand this, they are going to spiral many bad implementation and this will lead to corrupt backups.

Isochroma
28th January 2007, 20:32
I agree with kad77, it is very important at this time that knowledgeable programmers get together and fix these issues ASAP.

Unfortunately, I have no C++ experience, and Java is too inefficient to consider for such an application.

Emon
29th January 2007, 07:18
0.4 is out. Fixed the readonly file issue. Now you guys will be able to rebuild the menu multiple times ... don't have to delete the files manually.

http://www.sendspace.com/file/jbiydj

Galileo2000
29th January 2007, 07:42
thanks.

no menus for KK after reconstructing menus w/0.4..

Emon
29th January 2007, 07:52
thanks.

no menus for KK after reconstructing menus w/0.4..

weird .. it worked fine in my system. I have tested using KK multiple times.

Are you using PDVD 6.5 or 7.1?

Also I am doing nothing but copying the .MAP files and calling Zotty's app. So we should report this to Zotty.

Momotte
29th January 2007, 13:13
might be a file copy error or a mistake into copying the proper file because I used Zotty's manually and my menus work properly.

Galileo2000
29th January 2007, 14:34
weird .. it worked fine in my system. I have tested using KK multiple times.

Are you using PDVD 6.5 or 7.1?

Also I am doing nothing but copying the .MAP files and calling Zotty's app. So we should report this to Zotty.

I am using 7.1 on my test laptop, Dell XPS m1210 / Dual Core 1.83, Nvidia 7400 Go, 92.91 drivers, XP SP2.

Let me retest from scratch. Removed everything and started backup.

Will edit this post with the results in about an hour.

Edit: still the same, no menus for me.

Now I ran Zotty program from the command prompt and menus work fine.

For some reason Zotty program doesn't work for me when called from Emon's program.

I am under impression that this is path issue. I am using H:\kk as my backup directory, and Emon's program resides in H:\Emon directory. HD DVD drive is D:

Looks like aca decrypter never finishes the job when called from Emon's program, at least on my laptop.

AjaxGotGame
29th January 2007, 16:15
Do you have a source code you can share...

Oleg_Jdev
29th January 2007, 19:56
For some reason Zotty program doesn't work for me when called from Emon's program.

I am under impression that this is path issue. I am using H:\kk as my backup directory, and Emon's program resides in H:\Emon directory.

Looks like aca decrypter never finishes the job when called from Emon's program, at least on my laptop.

I think, error in execute aca_decrypter.exe with arguments. Arguments must be in quotes "".

2bigkings
29th January 2007, 20:17
i try to decrypt the menu in serenity EUR, but it copy only the vplst000.xpl and not the other xpl files :-(
if i try to start serenity it plays a 4min. mainloop or something like this.. but not the mainmovie..

Emon
29th January 2007, 20:47
i try to decrypt the menu in serenity EUR, but it copy only the vplst000.xpl and not the other xpl files :-(
if i try to start serenity it plays a 4min. mainloop or something like this.. but not the mainmovie..

there are more than one XPL file?? didn't know that :) I will add the option to get all XPL files.

2bigkings
29th January 2007, 20:53
thanks emon! :-)

HDLife
29th January 2007, 22:15
I think, trouble in command line arguments.
May be "Superman Richard Donner", "King Kong" perceived by programm as several params ("King" and "Kong").
You need to copy your data to HDD and delete all spaces in path, or replace them with "_".

you were right, that fixed the problem :thanks:

Oleg_Jdev
29th January 2007, 22:22
you were right, that fixed the problem :thanks:
I think, error in Emon's program. He must execute programm with arguments in quotes "".

He-Man
29th January 2007, 22:38
there are more than one XPL file?? didn't know that :) I will add the option to get all XPL files.

Advanced Access Content System: HD DVD and DVD Pre-recorded Book
Revision 0.912 Page 125-128 (http://www.aacsla.com/specifications/AACS_Spec_HD_DVD_and_DVD_Prerecorded_0_912.pdf)

6.2.2 Playlist Update

6.2.2.1 Data in a Persistent Storage

Playlist Update may occur for an Advanced Content in order to update or upgrade the user experience. A Playlist in a Persistent Storage may be updated by a Disc. Following instructions issued by a Disc Application or a P-Storage Application, a Player may copy a Playlist on the Disc into a Persistent Storage. The Player may also copy some resources required for playback defined in the Playlist. Another way to update a Playlist in a Persistent Storage is as follows: Suppose a Player connects to a server on the Internet. Following instructions issued by a Disc application or a P-Storage Application, the Player downloads a Playlist from the server and stores it in a Persistent Storage. The Player may also download related resources from the server and store them into Persistent Storages. File Cache in a Player may also be used to store a Playlist and other resources in place of a Persistent Storage though File Cache cannot keep its data if the Player goes to Stop State for instance.
A Playlist is an XML file, the name of which is reserved by the HD DVD-Video Specifications. 1000 names from “VPLST000.XPL” to “VPLST999.XPL” are reserved for audiovisual contents. 1000 names “APLST000.XPL” to “APLST999.XPL” are reserved for audio-only playback. “VPLST000.XPL” and “APLST000.XPL” do not reside in a Persistent Storage, but they may reside on a Disc if they exist. Playlists in Persistent Storages shall be encapsulated in Encapsulation Format for MAC so that they are protected from data manipulation.
Each Playlist in a Persistent Storage shall be accompanied by an MKB file. Two or more Playlists must not share the same MKB file. Each Playlist in a Persistent Storage shall also be accompanied by a TKF. Two or more Playlists are not allowed to share the same TKF. And each Playlist in a Persistent Storage shall be accompanied by a TUF. Two or more Playlists are not allowed to share the same TUF. The SHA-1 hash values of the TUF shall be contained in a Content Certificate file which is signed by the AACS LA. A Playlist file, an associated MKB file, an associated TKF file, an associated TUF file and an associated Content Certificate file shall reside in the same directory in a Persistent Storage. There is a file name convention for the combination of these five files: Suppose, for instance, “VPLST007.XPL” resides in a Persistent Storage. It shall be accompanied by an MKB file “MKB007.AACS”, a TKF “VTKF007.AACS”, a TUF “VTUF007.AACS” and a Content Certificate file “VCC007.AACS” in the same directory. The file names “VCC%%%.AACS” and “ACC%%%.AACS” are reserved in Persistent Storages, where %%% runs from 000 to 999. “VCC%%%.AACS” is for an audiovisual content and “ACC%%%.AACS” is for an audio-only content.

Combinations of AACS components and relevant contents in a Persistent Storage for Playlist update are as follows:
a) An MKB, a TKF and a Playlist.
b) An MKB, a TKF, a Playlist and contents.
c) An MKB, a TKF, a Content Certificate, a TUF and a Playlist.
d) An MKB, a TKF, a Content Certificate, a TUF, a Playlist and contents.
Here, contents may include EVOBs, Advanced Navigations and Advanced Elements. The preceding combinations for Playlist update may also be used for File Cache.

Table 6-1 shows the format of Content Certificate file in a Persistent Storage.

Table 6-1: Format of Content Certificate File in a Persistent Storage
...

The field of Certificate Type stores the value of 40h. Content Certificate ID for Persistent Storage shall be revoked by Revocation Record in CRL whose Record_Type = 00h, where Content Certificate ID for Persistent Storage is a combination of the 2-byte field of Applicant ID and the 4-byte field of Content Sequence Number. See the AACS Pre-recorded Video Book for Content Certificate ID and CRL. Note that, in contrast to Minimum CRL Version of Content Certificate on a Disc (See Error! Reference source not found.), Minimum CRL Version of Content Certificate in a Persistent Storage must not be checked against the CRL Version stored in the Player. In addition to the fields described in the AACS Pre-recorded Video Book, the Content Certificate file in a Persistent Storage contains the following fields:
The field of Hash of TUF of 20 bytes stores the SHA-1 hash value of the associated TUF. The SHA-1 function is applied to the first HASH_SIZE bytes of “VTUF%%%.AACS” or “ATUF%%%.AACS”, where HASH_SIZE is a field in the TUF. If the associated TUF is absent, this field shall be filled with FFh.
The reserved fields shall all be filled with 00h.

Zotty
29th January 2007, 22:39
I think, error in Emon's program. He must execute programm with arguments in quotes "".

Yup, there's nothing I can do about this from the aca_decrypter side. Arguments in the console are seperated by spaces. If you use files that contain spaces they need to be placed inside quotes. Basicly, this is how the workings of the console were designed and neither Emon nor I can change that. So that means Emon's app must pass on the filename with quotes.

Galileo2000
30th January 2007, 00:33
And Emon will fix it soon..:D

Cigar to me for the bug report, cigar to Oleg for determining the cause, cigar to Zotty for confirming.

Three big cigars to Emon in any case!

Emon
30th January 2007, 00:35
And Emon will fix it soon..:D

Cigar to me for the bug report, cigar to Oleg for determining the cause, cigar to Zotty for confirming.

Three big cigars to Emon in any case!

o crap .. I don't smoke cigars. Can I have something other than cigar?? :D

guile
30th January 2007, 00:58
o crap .. I don't smoke cigars. Can I have something other than cigar?? :D

I knew Emon was my kinda guy:D

Galileo2000
30th January 2007, 01:29
o crap .. I don't smoke cigars. Can I have something other than cigar?? :D

Those are $10 each..guess from where?

Now, before I am banned for flaming, when do you think fix will be available?

Emon
30th January 2007, 03:50
Those are $10 each..guess from where?

Now, before I am banned for flaming, when do you think fix will be available?

working on it as we speak. Its pissing me off .. when I put "s around the arg then it fails to copy from my HDDVD drive. :mad:

Emon
30th January 2007, 04:50
Version 0.5 is out. Checks for multiple .XPL files, handles folders with spaces in them and has Zotty's new aca_decrypter 0.4 bundled.

http://www.sendspace.com/file/demy1v

Galileo2000
30th January 2007, 05:34
Testing it right now. Will report in about an hour.

Emon ROCKS!!

Oleg_Jdev
30th January 2007, 06:36
o crap .. I don't smoke cigars. Can I have something other than cigar?? :D
O... I am too. :)

Galileo2000
30th January 2007, 07:03
OK, works EXCELLENT!

Everything is in order now.

Emon and Oleg, will See's candy work for you?

Or Bacardi, my favorite?

Happy birthday to me, happy birthday to me!

Thank you Emon, Zotty and Oleg.

It IS my birthday today, really!

Rufus210
30th January 2007, 07:10
Unfortunately, I have no C++ experience, and Java is too inefficient to consider for such an application.
It's really annoying that people keep on posting stupid comments like this. Your decrypting time is going to be 95% based on the speed of the HD-DVD drive, so how efficient java vs C/C++/C# is makes absolutely no difference. And even if it did make any difference, if you do any actual benchmarks java is just as fast. All that really matters is how bug-free and easy to read the code is, which java is perfect for.

LokiHD
30th January 2007, 10:57
Version 0.5 is out. Checks for multiple .XPL files, handles folders with spaces in them and has Zotty's new aca_decrypter 0.4 bundled.

http://www.sendspace.com/file/demy1v


worx/plays great!

Henkske
30th January 2007, 11:45
Thanxxx emon for the new version

Henkske
30th January 2007, 21:41
Tested with King Kong. Menu works perfectly. i only have a picture in picture screen:D But there is enough on that subject in this forum:D I will read everything again tomorrow so i can fix this problem:D

But thanxx for the tool emon

Emon
30th January 2007, 21:51
Tested with King Kong. Menu works perfectly. i only have a picture in picture screen:D But there is enough on that subject in this forum:D I will read everything again tomorrow so i can fix this problem:D

But thanxx for the tool emon


Hey I was having the same problem but there's a fix for that. Here .. read this ..


I got the menu working on KK using Zotty's aca extractor (Although the pip window just stays open all the time).
So I will try to see if I can get the IME fix working in my version of BackupHDDVD.

I'm going to make an assumption here, first the pip window is in the upper left hand corner and you're using powerdvd 6.5.
If that's the case it's a player problem. Here's the fix.
Use the "a" key to cycle u control on and off. You should see the u control icon in the lower right hand of your screen.
With u control on the first time a pip feature comes up (The first one is right after the zoo scene) press the enter key. Pip should be working normally now.

Founditalso
30th January 2007, 23:43
The 0.5 tool is great. Almost perfect. I am able to backup all the HDDVD's I have and play them back through PowerDVD 7.1.
Emon and Zotty and all others (especially Muslix64 and Janvitos) have done a great job. It has been nice to watch from the side. I can only do the testing.

I have used the early versions of backupHDDVD and also gone through the memory dumps. Good experience, but nothing compared to the nice tools that you have made in the meantime.

I think we are almost there. Today I used 0.5 to backup once more all my HDDVD's. Works perfect. Almost.

With King Kong and MI3, I have a problem that I reported a couple of days a go (when Emon and Zotty hasd not yet relaesed their software and we had to edit the xml ourselves) and that has to do with some lines in the XML that have to be removed.

These are the lines in MI3 that create a problem for me:

<SubVideo track="1" mediaAttr="1" description="PIP video"/>
<SubAudio track="1" streamNumber="1" mediaAttr="1" description="PIP audio"/>

If I do not remove them (and Zotty's tool does not remove them), I have a problem when I use the menu to go to a certain chapter. When I do that, I have a black screen, with only subtiltles (see my previous post in the IME threat).

When the lines are removed, no problem, but probably also less capabilities with the menu (pip?).

Maybe this observation helps to make the tool even more robust (time to call it 1.0?)

Emon
31st January 2007, 00:02
The 0.5 tool is great. Almost perfect. I am able to backup all the HDDVD's I have and play them back through PowerDVD 7.1.
Emon and Zotty and all others (especially Muslix64 and Janvitos) have done a great job. It has been nice to watch from the side. I can only do the testing.

I have used the early versions of backupHDDVD and also gone through the memory dumps. Good experience, but nothing compared to the nice tools that you have made in the meantime.

I think we are almost there. Today I used 0.5 to backup once more all my HDDVD's. Works perfect. Almost.

With King Kong and MI3, I have a problem that I reported a couple of days a go (when Emon and Zotty hasd not yet relaesed their software and we had to edit the xml ourselves) and that has to do with some lines in the XML that have to be removed.

These are the lines in MI3 that create a problem for me:

<SubVideo track="1" mediaAttr="1" description="PIP video"/>
<SubAudio track="1" streamNumber="1" mediaAttr="1" description="PIP audio"/>

If I do not remove them (and Zotty's tool does not remove them), I have a problem when I use the menu to go to a certain chapter. When I do that, I have a black screen, with only subtiltles (see my previous post in the IME threat).

When the lines are removed, no problem, but probably also less capabilities with the menu (pip?).

Maybe this observation helps to make the tool even more robust (time to call it 1.0?)

I think we have to start making a list of movies that works with the out-of-the-box .XPL file without editing anything.

And one more list of movies that need work.

I was thinking of creating a .XPL file editor .. but in one post I saw someone else was working on that. So I just don't wanna waste time on that if someone's already working that.

hajj_3
31st January 2007, 00:03
its a long way off 1.0. once we have IME sorted and all menu's, subs, choppy playback is fixed then maybe call it 0.9 or so, there is still a few weeks left until the majority of things get fixed. then we can start adding new features.

we have come a long way, i only bought a hd-dvd drive 1 week ago, i used 0.2 ish of this program which didnt integrate alot of the new goodies. imagine what it will be like in 1 month.

my suggestions:

remove the java version from this and the key.cfg, lets just keep c# and .xml.
remove the "are you sure you want to exit" dialog box

Founditalso
31st January 2007, 00:16
Emon and Zotty and all others (especially Muslix64 and Janvitos) have done a great job. It has been nice to watch from the side. I can only do the testing.)

Forgot to mention 2theMax. His first IME post on editing the XML really made the backups playable.

Emon
31st January 2007, 00:34
my suggestions:

remove the java version from this and the key.cfg, lets just keep c# and .xml.
remove the "are you sure you want to exit" dialog box

Yep working on that .. just wait a little :)

melakai
31st January 2007, 02:27
its a long way off 1.0. once we have IME sorted and all menu's, subs, choppy playback is fixed then maybe call it 0.9 or so, there is still a few weeks left until the majority of things get fixed.

1.0 doesn't need to be a "perfect version" and , 0.9 doesn't have to come before 1.0 - instead, we can continue with 0.10, 0.11

anyways, let's just keep plugging away. thanks to all those that have contributed to all aspects!

is the source for the current version available?

Emon
31st January 2007, 02:36
1.0 doesn't need to be a "perfect version" and , 0.9 doesn't have to come before 1.0 - instead, we can continue with 0.10, 0.11

anyways, let's just keep plugging away. thanks to all those that have contributed to all aspects!

is the source for the current version available?

nope .. not available yet. Let me refractor the code a little bit .. will release it after that.

ballenjr
31st January 2007, 02:56
Awesome Emon, Keep it Up.

This has worked fine with all of my HD DVD's except for Casino. I can't turn the subs off.

I'm using 6.5; is this a player problem that can be fixed by using 7.1?

Thanks in Advance.

Emon
31st January 2007, 03:19
Awesome Emon, Keep it Up.

This has worked fine with all of my HD DVD's except for Casino. I can't turn the subs off.

I'm using 6.5; is this a player problem that can be fixed by using 7.1?

Thanks in Advance.

Have you tried to turn off the subs from the Title Menu?

ballenjr
31st January 2007, 04:05
Emon,

Yes I tried to turn it off from the title menu, but this didn't work. Also used the button on the PDVD control panel but that just scrolls through all the different subtitles and doesn't allow me to turn them off.

I'm probably going to try 7.1 unless somebody else has a quick fix.

Thanks Emon

jokin
31st January 2007, 04:10
Emon,

Also used the button on the PDVD control panel but that just scrolls through all the different subtitles and doesn't allow me to turn them off.


Did you try clicking the subtitle that was currently turned on?

Momotte
31st January 2007, 04:34
I do not think we should modify the .XPL file (or at least you should make sure that you keep the original somewhere). If there are some problems in the players, they should be fixed with a patch sometime soon...

Galileo2000
31st January 2007, 05:07
Have you tried to turn off the subs from the Title Menu?


I've tried it w/ 7.1, and it works just fine, like in the original :D

Exiton
31st January 2007, 12:40
ballenjr: I've got the same sub problem with Swordfish where you can't turn them off. No title menu.

ballenjr
31st January 2007, 13:38
Did you try clicking the subtitle that was currently turned on?

Not quite sure how to do this, please explain.

I did press the U button on the keyboard to toggle around all of the different subs, but there was always some kind of sub being displayed.

Exiton: What software are you using?

Founditalso
31st January 2007, 13:53
Not quite sure how to do this, please explain.

I did press the U button on the keyboard to toggle around all of the different subs, but there was always some kind of sub being displayed.

Exiton: What software are you using?

I believe it is a problem with the PDVD player software itself (in some posts you will see other people mentioning this also). It has nothing to do with the Emon (or Zotty) application.
I have it also with the original disc (i.e. before making the Backup). Have you tried to play back with the disc and turn of the subtitles? With me it does not work for certain discs (like e.g. Jarhead).
I use PDVD 7.1.

bhain333
31st January 2007, 14:50
Emon, What all do you have to edit to add a movie to this software. I added it to KEYDB.cfg and it worked fine on the movie but the menu piece says there is no title key. Any thoughts?

This is what I added

AB921D3E065824B984F431324FC08A113A823205=Space Cowboys |V|07/26/06| B8BA69EEA2CF91C45132CED581D51FAA

Loco Lobo
1st February 2007, 14:36
@ Emon

great work you did on the latest version. For me it was the fastest one yet. Took me 55 min to back up M:I 3.
Using PDVD 6.5 I open HD-DVD from hard drive and the menu pops up where to select the languages. But selecting one language does not do anything. And I can`t get out of the menu. What am I doing wrong?
I changed the xml afterwards, deleted all I did not want and it worked fine.

Anyways, thanks for that great tool.:D

Emon
1st February 2007, 21:14
Working on a complete re-write. Everything in one single exe with IME fix, progress bar, new keydb format with frontend etc etc. :)

ballenjr
1st February 2007, 21:21
Working on a complete re-write. Everything in one single exe with IME fix, progress bar, new keydb format with frontend etc etc. :)

Fantastic...

BTW I got the the subtitles off of Casino upgrading to 7.1.

Now a new problem with The Matador. Just used your program and when I try to play through PDVD7.1 I get a message that the movie is unable to play due to parental settings.
I can't seem to find any parental settings in 7.1
Edit: The player won't even play the original disc, so it is definately not a problem with you program.

bullet_ballet
2nd February 2007, 00:01
I used this program to decrypt Unforgiven. However, when I try and play certain EVOs in WinDVD8 or the entire folder in PDVD 6.5 all I get is a black screen for the feature movie and various special features. In PDVD I get audio during the blank screen. The .xpl looks good; no references to AACS or any thing of that nature. I didn't seen anything in any of the other threads I read through that might fix it, or else I just missed any pertinent information. Can anyone point me in the right direction?

Loco Lobo
2nd February 2007, 10:04
I used this program to decrypt Unforgiven. However, when I try and play certain EVOs in WinDVD8 or the entire folder in PDVD 6.5 all I get is a black screen for the feature movie and various special features. In PDVD I get audio during the blank screen. The .xpl looks good; no references to AACS or any thing of that nature. I didn't seen anything in any of the other threads I read through that might fix it, or else I just missed any pertinent information. Can anyone point me in the right direction?

Black screen during playback points to a bad decryption. That`s what was said somewhere in the original thread. Maybe you should start looking for the problem at this end.
I had the same issue the first time I did KK. But especially with EMON`s tool it works great. :)

cheers

Oleg_Jdev
2nd February 2007, 13:43
2 Emon:
When I clicked the button "Reconstruct menu" in the process of decrypting, and after I closed program the decrypting proccess was not stopped and the process BackupHDDVD.exe left hanging in the memory.
Maybe disable button "Reconstruct Menu" during the decrypting ?

Edit:
Another. Your program uses cfg format, while aca_decrypter - xml ? But it is not convenient.

IMHO.

casio7131
2nd February 2007, 14:43
It's really annoying that people keep on posting stupid comments like this. Your decrypting time is going to be 95% based on the speed of the HD-DVD drive, so how efficient java vs C/C++/C# is makes absolutely no difference. And even if it did make any difference, if you do any actual benchmarks java is just as fast. All that really matters is how bug-free and easy to read the code is, which java is perfect for.

but we still continue to get the same comment for the umpteenth time:

remove the java version from this and the key.cfg, lets just keep c# and .xml.

JeffAlso
2nd February 2007, 15:52
I used this program to decrypt Unforgiven. However, when I try and play certain EVOs in WinDVD8 or the entire folder in PDVD 6.5 all I get is a black screen for the feature movie and various special features. In PDVD I get audio during the blank screen. The .xpl looks good; no references to AACS or any thing of that nature. I didn't seen anything in any of the other threads I read through that might fix it, or else I just missed any pertinent information. Can anyone point me in the right direction?

I have a similiar problem, although I suspect the reason is that I dont have a video card with an HDMI output on it. The following was observed on the King Kong disk that came with the XBox HD DVD drive:

WinDVD8 simply refuses to play the encrypted disk at all, so unfortunately I can't locate any keys myself. PDVD6.5 will play the disk for a few seconds, but then stop with the error "This content is protected and this system in not able to play back this content."

After ripping the disk with BackuoHDDVDGUI to the hard drive, PDVD6.5 will play the disk, but the feature is an entirely black screen. The Audio works fine.

However, playing the decrypted 'Feature_1.evo' using the Sonic HD Demuxer and Sonic Cinemaster Video Decoder 4.1 in Graphedit will play the video just fine, only theres no seeking (I recall something about the Sonic HD Demuxer not preserving timestamps or such). I havent tried the new Elecard demuxer filter yet.

I've read that PDVD6.5 should work on decrypted disks, but it does not. My assumption is that in order for me to play the decrypted movie, it either needs its HDMI flag removed during decryption, or it will need to be muxed into a different container that plays using filters that ignore the flag. Or I could buy a new video card, but I'm one of those guys with the older $3000 HDTV that only has component inputs...

Am I missing something here, or is this pretty much where I'm at??

Emon
2nd February 2007, 17:01
2 Emon:
When I clicked the button "Reconstruct menu" in the process of decrypting, and after I closed program the decrypting proccess was not stopped and the process BackupHDDVD.exe left hanging in the memory.
Maybe disable button "Reconstruct Menu" during the decrypting ?

Edit:
Another. Your program uses cfg format, while aca_decrypter - xml ? But it is not convenient.

IMHO.

Good idea .. will disable the "Reconstruct Menu" during the decryption.

plain text cfg vs. xml cfg war .. I know I know .. I am working on that.

t00ld00d
2nd February 2007, 18:30
I have a similiar problem, although I suspect the reason is that I dont have a video card with an HDMI output on it. The following was observed on the King Kong disk that came with the XBox HD DVD drive:

WinDVD8 simply refuses to play the encrypted disk at all, so unfortunately I can't locate any keys myself. PDVD6.5 will play the disk for a few seconds, but then stop with the error "This content is protected and this system in not able to play back this content."

After ripping the disk with BackuoHDDVDGUI to the hard drive, PDVD6.5 will play the disk, but the feature is an entirely black screen. The Audio works fine.

However, playing the decrypted 'Feature_1.evo' using the Sonic HD Demuxer and Sonic Cinemaster Video Decoder 4.1 in Graphedit will play the video just fine, only theres no seeking (I recall something about the Sonic HD Demuxer not preserving timestamps or such). I havent tried the new Elecard demuxer filter yet.

I've read that PDVD6.5 should work on decrypted disks, but it does not. My assumption is that in order for me to play the decrypted movie, it either needs its HDMI flag removed during decryption, or it will need to be muxed into a different container that plays using filters that ignore the flag. Or I could buy a new video card, but I'm one of those guys with the older $3000 HDTV that only has component inputs...

Am I missing something here, or is this pretty much where I'm at??


The HDCP restrictions should be removed during decryption. You may just need to update the drivers for your video card. PDVD 7.1 won't play anything back from my xb360 drive due to the HDCP thing. After ripping to HDD and playing it PDVD gave me a warning about video drivers. After upgrading the drivers it works great even though I'm only using a 6600GT (definitely not HDMI capable). If you have an Nvidia card try upgrading to 92.91 drivers. The 92.91 gave me some funky color issues so I found an even later beta version at guru3d that worked great.

He-Man
2nd February 2007, 20:46
The HDMI restrictions should be removed during decryption. You may just need to update the drivers for your video card. PDVD 7.1 won't play anything back from my xb360 drive due to the HDMI thing. After ripping to HDD and playing it PDVD gave me a warning about video drivers. After upgrading the drivers it works great even though I'm only using a 6600GT (definitely not HDMI capable). If you have an Nvidia card try upgrading to 92.91 drivers. The 92.91 gave me some funky color issues so I found an even later beta version at guru3d that worked great.
You must mean HDCP where you wrote HDMI. HDMI is an interface standard like DVI, while HDCP is content protection primarly used toghter with HDMI interfaces.
It doesn´t really matter if you use an HDMI socket or DVI socket, what matters with content protected video is if the output you use is HDCP capable or not and if the monitor/TV supports HDCP too.

t00ld00d
2nd February 2007, 21:50
Doh! You're right, strike HDMI and insert HDCP. Editing now.

ROBSCIX
2nd February 2007, 22:37
Is there a backup procedure written down anywhere? I am reading through all the info but theres alot to read. Thx for the help. Nice app BTW.

bullet_ballet
3rd February 2007, 00:46
Is there a backup procedure written down anywhere? I am reading through all the info but theres alot to read. Thx for the help. Nice app BTW.

It's super easy. After downloading the app make sure you have MS .Net 2 (or maybe 3?). Then just run the C# exe and choose your HD-DVD drive and the folder you want to backup to (can't miss those two fields). Next, click on the Database tab and select your movie from the list. Once that is done, return to the Backup tab and click "Start Backup". When that is completed (Unforgiven took me an hour) click on "Reconstruct Menu". Once that finishes your backup is complete.

Now, if your movie isn't in the current database you'll have to look online for the Volume Key of the disc and the SHA1 hash. Worst case you try and run the disc in WinDVD8 or PDVD. Unless you have some expensive gear it'll probably fail, but so long as it even tries to play a frame you should be able to use "hddvd_vukeyfinder" afterwards to get the Volume Key. I'm not sure how to get the SHA1 hash, though. Provided you get those two you can enter them in and then backup the disc as noted above.

EDIT
I should note that the vukeyfinder can be obtained from this thread with instructions:
http://forum.doom9.org/showthread.php?p=938244#post938244

Emon
3rd February 2007, 01:04
I'm not sure how to get the SHA1 hash, though.

Just try to backup a disc even if it's not in the database. You will see the disc hash displayed in the status window.

guile
3rd February 2007, 07:25
While I LOVE this program, I am having some mixed results and am wondering if it is the player. So far, the ONLY working HD-DVD with menus I have made is Harry Potter. This works from intro to movie to end. I have made several other's that refuse to work. (Goodfellas, Corpse Bride and V for Vendetta).

As Vendetta is the only one out of those 3 with IME, I thought it would work as the "fix" was implemented into 0.5, no such luck. It would play the whvlogo and then the player would just stop. This also happens on Corpse and Goodfellas.

Any ideas? I'm using Powerdvd 6.5 btw.

Emon
3rd February 2007, 07:38
While I LOVE this program, I am having some mixed results and am wondering if it is the player. So far, the ONLY working HD-DVD with menus I have made is Harry Potter. This works from intro to movie to end. I have made several other's that refuse to work. (Goodfellas, Corpse Bride and V for Vendetta).

As Vendetta is the only one out of those 3 with IME, I thought it would work as the "fix" was implemented into 0.5, no such luck. It would play the whvlogo and then the player would just stop. This also happens on Corpse and Goodfellas.

Any ideas? I'm using Powerdvd 6.5 btw.

its so far kind of hit or miss. I have same problem with Lady in the Water and couldn't figure out why the menu didn't work for this movie. The Movie did play from the HD once I removed the "PlaylistApplication" tag from the .XPL file. This tag is basically the menu so once I removed it the movie just played fine without a menu.

So my recommendation would be to remove that tag if you just want to play the movie. We just have to wait until someone (maybe it would be me :D) figures out whats the issue with these menus.

Galileo2000
3rd February 2007, 07:43
While I LOVE this program, I am having some mixed results and am wondering if it is the player. So far, the ONLY working HD-DVD with menus I have made is Harry Potter. This works from intro to movie to end. I have made several other's that refuse to work. (Goodfellas, Corpse Bride and V for Vendetta).

As Vendetta is the only one out of those 3 with IME, I thought it would work as the "fix" was implemented into 0.5, no such luck. It would play the whvlogo and then the player would just stop. This also happens on Corpse and Goodfellas.

Any ideas? I'm using Powerdvd 6.5 btw.

I just made a backup for V and Serenity without any problems, menus are there.

I have subtitles in Serenity being on by default after decrypting, just like in KK, but there are two ways to deal with this.

Other than that, everything is just perfect, thank you again Emon.

Waiting for three more titles to arrive.

I am using 7.1 now.

guile
3rd February 2007, 14:24
its so far kind of hit or miss. I have same problem with Lady in the Water and couldn't figure out why the menu didn't work for this movie. The Movie did play from the HD once I removed the "PlaylistApplication" tag from the .XPL file. This tag is basically the menu so once I removed it the movie just played fine without a menu.

So my recommendation would be to remove that tag if you just want to play the movie. We just have to wait until someone (maybe it would be me :D) figures out whats the issue with these menus.

Ok, at least it's not me:D

I did edit the xpl file and could get it working. I did a reconstruct on the menu, and deleted "PlaylistApplication" tag from the xpl and it also works.

guile
3rd February 2007, 14:25
I just made a backup for V and Serenity without any problems, menus are there.

I have subtitles in Serenity being on by default after decrypting, just like in KK, but there are two ways to deal with this.

Other than that, everything is just perfect, thank you again Emon.

Waiting for three more titles to arrive.

I am using 7.1 now.

I tried 7.1 and got the fullscreen problem attributed to Nvidia 90.xx drivers. I will just stick with 6.5 for the moment.

bhain333
11th February 2007, 16:14
Good piece of software. Are ou going to make any more releases?

Emon
11th February 2007, 19:17
Good piece of software. Are ou going to make any more releases?

Sure .. why not. Working on few ideas. It will be out when its ready.

Exiton
12th February 2007, 01:38
Keep up the good work Emon!

hd1080p
12th February 2007, 02:15
On the other thread on Processing and Media Key being found.
I wonder whether you can use the new information to make your program work better. Please comment on the significance of the new findings.
Keep up the good work.:thanks:
Sure .. why not. Working on few ideas. It will be out when its ready.

applejackaz
15th February 2007, 17:07
Great program, was working until V For Vendetta. Program crashes after "Now decrypting aca menu - ***Starting logfile***
At that point Vista shuts it down. Movie seems to work just fine anyway.

Electrox3d
15th February 2007, 19:43
Is this GUI for vista only? I opened the exe in my XP machine and it immidiately crashes. Do I have to have a HD-DVD drive for it to even open?

melakai
15th February 2007, 20:18
Is this GUI for vista only? I opened the exe in my XP machine and it immidiately crashes. Do I have to have a HD-DVD drive for it to even open?

I used version 3 on XP32 just fine.

FoxDisc
15th February 2007, 21:16
On the other thread on Processing and Media Key being found.I wonder whether you can use the new information to make your program work better. Please comment on the significance of the new findings.

The Processing Key from the other thread should allow a program like this to decrypt the Title Key/Volume Unique Key on the disc without refernce to the key database. It could then compare that key to the key in the key database and:

if they are the same, use it,

if they are different, tell the user and let him try either one. This probably means the database is wrong, but might mean the processing key does not work for every disc as currently believed or that the MKBs on the discs have been changed to break the processing key, and

if there is no key in the key database, upload the key or tell the user and let him upload it.

sjchmura
15th February 2007, 22:31
Quick and easy....

Unless you have an HDCP compliant graphics card, one should use PowerDVD 6.5 and NOT 7.2 for playback of EVO rips - correct?

Second, purchasing 7.2 or their MCE plugin pack will NOT allow MCE to see the rips and play them - correct?

Emon
15th February 2007, 22:38
The Processing Key from the other thread should allow a program like this to decrypt the Title Key/Volume Unique Key on the disc without refernce to the key database. It could then compare that key to the key in the key database and:

if they are the same, use it,

if they are different, tell the user and let him try either one. This probably means the database is wrong, but might mean the processing key does not work for every disc as currently believed or that the MKBs on the discs have been changed to break the processing key, and

if there is no key in the key database, upload the key or tell the user and let him upload it.

Thats a very good idea. I think it has been answered before and also it should be in the spec. but I am going to ask here anyway .. what is the function to calculate the vuk if you have the processing key and the MKB?

Emon
15th February 2007, 22:40
Is this GUI for vista only? I opened the exe in my XP machine and it immidiately crashes. Do I have to have a HD-DVD drive for it to even open?

It probably crashed because you do not have .NET 2.0 (http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en) installed.

Emon
15th February 2007, 22:43
Quick and easy....

Unless you have an HDCP compliant graphics card, one should use PowerDVD 6.5 and NOT 7.2 for playback of EVO rips - correct?

Second, purchasing 7.2 or their MCE plugin pack will NOT allow MCE to see the rips and play them - correct?

I couldn't get PDVD 7.1/7.2 to work in Vista also in XP MCE. In both OS it complained about my gfx card driver. So I can only test the playback in PDVD 6.5.

FoxDisc
15th February 2007, 23:02
Thats a very good idea. I think it has been answered before and also it should be in the spec. but I am going to ask here anyway .. what is the function to calculate the vuk if you have the processing key and the MKB?

I'll start you off:
Section 3.2.4 of Introduction and Common Cryptographic Elements:

Once the device has the correct Device Key D, it calculates a Processing Key K using AES-G3 as described
above. Using that Processing Key K and the appropriate 16 bytes of encrypted key data C, the device calculates
the 128-bit Media Key Km as follows:
Km = AES-128D(K, C) ⊕ (00000000000000000000000016 || uv)
The appropriate encrypted key data C is found in the Media Key Data Record in the Media Key Block.

That gets you to the Media Key. It's in the specs how to get from there via the Volume ID to the Volume Unique Key and the Title Key.

Emon
16th February 2007, 07:17
0.6 is out .. http://www.sendspace.com/file/lmjh19

Uses a XML keydb format
Option to convert keydb.cfg to keydb.xml
Incorporated cwm9's UnACA to reconstruct menus (sorry Zotty :) )
Removed java engine.

Oleg_Jdev
16th February 2007, 10:48
2 Emon:
Why did you remove Zotty's Aca_decrypter ?
Did it contain errors ?

hajj_3
16th February 2007, 13:13
i know its minor, but please can you remove the dialog box asking you if you want to close the program.

cheers.

p.s the program looks very nice. how come there is a non-gui .exe file, shouldnt that be removed now?

Galileo2000
16th February 2007, 15:59
Excellent job Emon!! :D

Couple of suggestions from the UI prospective:

- progress indicated as %% somewhere, preferably on top of the app;
- After backup is done, dialog box "Do you want to reconstruct menus now?" with "OK" & "Cancel" or "Yes" & "No" would be nice to have.

Why do I need AnyDVD when I have this little wonder? :D

Emon
16th February 2007, 16:55
2 Emon:
Why did you remove Zotty's Aca_decrypter ?
Did it contain errors ?

No errors. cwm9's UnACA is in C#. So it was easy enough for me to incorporate his work into my app.

i know its minor, but please can you remove the dialog box asking you if you want to close the program.

cheers.

p.s the program looks very nice. how come there is a non-gui .exe file, shouldn't that be removed now?

Yea sure .. I can remove that. And about that command line version of BackUpHDDVD .. eventually everything will be in one .exe.
I am working on a version like that but there are some weird bugs in it and I can't really release it before fixing those.

Excellent job Emon!! :D

Couple of suggestions from the UI prospective:

- progress indicated as %% somewhere, preferably on top of the app;
- After backup is done, dialog box "Do you want to reconstruct menus now?" with "OK" & "Cancel" or "Yes" & "No" would be nice to have.

Why do I need AnyDVD when I have this little wonder? :D

Yep .. progress bar will be there. See my above reply. one of those issues is with progress bar. Working on it.

hajj_3
16th February 2007, 17:25
sounds good, take your time and try and release the next version with ALL the changes in your post above.

Emon
19th February 2007, 21:10
So I decided to change the name of the app to just "BackupHDDVD (C# Port)" .. well because I finally removed the CLI version and everything is in one .exe file now.

http://www.sendspace.com/file/9c0eor


Removed the dialog box asking if you want to close the program.
Added a dialog box "Do you want to reconstruct menus now?" after the backup is finished.
No progressbar as of yet but it will now print the % done in the status window.
The "Stop Backup" had this strange bug .. I workedaround the issue by basically restarting the app. If you don't like this behavior then let me know .. I will try to fix this bug.

hajj_3
19th February 2007, 21:18
wow emon, just wow:)!

i guess the ONLY thing left to do is to integrate the code from acacreator.exe into the backuphddvd.exe.

for now this is perfect for 1.0 release imo, then you guys need to figure out how to use the special key that was found a few days ago and volume key that a program was released for on here to scan for it.

amazing work emon!

Galileo2000
19th February 2007, 23:17
So I decided to change the name of the app to just "BackupHDDVD (C# Port)" .. well because I finally removed the CLI version and everything is in one .exe file now.

http://www.sendspace.com/file/9c0eor


Removed the dialog box asking if you want to close the program.
Added a dialog box "Do you want to reconstruct menus now?" after the backup is finished.
No progressbar as of yet but it will now print the % done in the status window.
The "Stop Backup" had this strange bug .. I workedaround the issue by basically restarting the app. If you don't like this behavior then let me know .. I will try to fix this bug.



Emon,

Marvelous! Spectacular!

Thank you so much for your hard work!

Can't wait to get home to try it.

Well, I don't want to stop backup once it started, so I don't care much about this bug.

Galileo2000
22nd February 2007, 02:58
OK, I got distracted by some unimportant stuff like job and family.

Now, I am back.

Report #1: with AnyDVD HD running I got the message "Could not find the key" ftom the program while doing backup of Pitch Black.. I double-checked, the key was was there. I shut down the fox (AnyDVD HD) and all is well now..decrypting as we speak.

Report #2: percentage is missing a decimal point, I am getting 844% now..I believe it should be 8.44%

Update: restarted the app. Percentage looks different, but still wrong. Looks like uninitialized variable to me if I remember anything about programming.

Report #3: Riddick percentage is OK, I still get values beyond 100% though

Emon
22nd February 2007, 07:14
OK, I got distracted by some unimportant stuff like job and family.

Now, I am back.

Report #1: with AnyDVD HD running I got the message "Could not find the key" ftom the program while doing backup of Pitch Black.. I double-checked, the key was was there. I shut down the fox (AnyDVD HD) and all is well now..decrypting as we speak.

Report #2: percentage is missing a decimal point, I am getting 844% now..I believe it should be 8.44%

Update: restarted the app. Percentage looks different, but still wrong. Looks like uninitialized variable to me if I remember anything about programming.

Report #3: Riddick percentage is OK, I still get values beyond 100% though

yea I am trying to figure out how to fix that % bug. Its so weird though .. doesn't happen all the time. :(

bullet_ballet
23rd February 2007, 00:50
Excellent update.

One question, though. This was also a case with the last version I used (0.5 I think). After decrypting a movie, some scene transitions are littered with square artifacts for about a second. I think it's generally when the transition is from dark -> light or vice versa. Always happens after the movie studio logo is done and the movie intro begins, for instance. Is this a common thing? Perhaps it's a problem with PDVD 6.5. I don't know of any other programs that will play EVOs.

Galileo2000
23rd February 2007, 19:02
Report #4: I am having problems with the 'Chronicles Of Riddick" with both old (0.6) and new (1.)version (yes, I tried to rip twice).

Ripping goes fine, but then I cannot access any menus with PDVD 6.5.

I can play EVO files no problem.

El Toro
25th February 2007, 03:49
Pardon my ignorance, have read this threat and other threat,s on this forum and trying to find out what are the steps and requirements to rip my own HD-DVD?

What equiptment or software needed etc. Is their a specific thread that I have missed on this, explaining the steps or procedures. or the PC minimum requirements.

Any assistance would be greatly appreciated.:thanks:

Galileo2000
26th February 2007, 05:40
OK, more detailed bug report on Riddick.

The program never copied the proper menus.aca file nor DISKID.DAT to ADV_OBJ folder.

Once I did it by hand, the movie plays fine with the menus.

I suspect Riddick has rather different file structure than the rest of the HD DVDs.

Emon, let me know if you need more info on this.

Regards.

blutach
26th February 2007, 05:45
El Toro - please do not bump your posts. Plus asking for assistance in that manner ("Is anyone home?") is unlikely to elicit a response.

Strike issued.

Regards

Emon
26th February 2007, 05:57
OK, more detailed bug report on Riddick.

The program never copied the proper menus.aca file nor DISKID.DAT to ADV_OBJ folder.

Once I did it by hand, the movie plays fine with the menus.

I suspect Riddick has rather different file structure than the rest of the HD DVDs.

Emon, let me know if you need more info on this.

Regards.

o yeah? can you post the file structure here please? Hey thanks for testing the app :)

Galileo2000
26th February 2007, 06:44
o yeah? can you post the file structure here please? Hey thanks for testing the app :)

Here the original file structure of Riddick:
Root:

http://img329.imageshack.us/img329/2012/rootxa9.th.png (http://img329.imageshack.us/my.php?image=rootxa9.png)

ADV_OBJ:

http://img143.imageshack.us/img143/2971/advobjqh1.th.png (http://img143.imageshack.us/my.php?image=advobjqh1.png)

HVDVD_TS first part:

http://img143.imageshack.us/img143/2971/advobjqh1.th.png (http://img143.imageshack.us/my.php?image=advobjqh1.png)

HVDVD_TS second part:

http://img143.imageshack.us/img143/6740/hvdvdtssecondbm4.th.png (http://img143.imageshack.us/my.php?image=hvdvdtssecondbm4.png)

HVDVD_TS third part:

http://img329.imageshack.us/img329/5936/hvdvdtsthirddg6.th.png (http://img329.imageshack.us/my.php?image=hvdvdtsthirddg6.png)

Galileo2000
26th February 2007, 06:57
Sorry, deleted the post. Question how does a person get a response, or is the question mentioned above to irrevelant.

El Toro,

Your question does not belong to this thread, you will not get responses here.

This thread is specific to the particular software development program.

Find the appropriate forum / thread and you might get some answers to those generic questions.

Regards.

blutach
26th February 2007, 10:22
El Toro:

Posts deleted - please observe forum rules. I don't wish to strike you a 2nd time. See also your PMs.

Regards

Doom9
6th March 2007, 09:49
Emon: would you mind releasing the source code? I'd like to correct a few errors and add some usability features.

Galileo2000
8th March 2007, 02:47
@Emon regarding progress status percentage bar:

After decrypting HD DVD 1 with incorrect values in progress status percentage bar I decrypt the second one and all the values are fine.

I thnk you need to clear the place in memory where you put the values, just my $.00001.

Edit: Never mind. Percentage is still bad on Featurex.evo.

Emon
8th March 2007, 20:15
Emon: would you mind releasing the source code? I'd like to correct a few errors and add some usability features.

Nope .. don't mind at all. I wanted to clean up(+add comments) the source a little bit but I just installed Vista in my laptop so I have to install all of my apps from scratch. That might take a little while.
Anyways .. here are the source. Let me know if you have any questions.

BackupHDDVD (C# Port) 1.0: http://www.sendspace.com/file/b2zm7j
BackupHDDVD_CLI: http://www.sendspace.com/file/y29d7r
BackupHDDVD GUI (C# Version) 0.6: http://www.sendspace.com/file/ew3sbj

Emon
8th March 2007, 21:54
@Emon regarding progress status percentage bar:

After decrypting HD DVD 1 with incorrect values in progress status percentage bar I decrypt the second one and all the values are fine.

I thnk you need to clear the place in memory where you put the values, just my $.00001.

Edit: Never mind. Percentage is still bad on Featurex.evo.

still trying to figure out how to get this bug fixed. hey maybe doom9 will be able to help ! :)

blutach
8th March 2007, 21:55
Thanks Emon.

Regards

halpern
11th March 2007, 17:35
I was thinking of an interesting feature...There should be a feature within the C# app such as the following:

Allow the user, when backing up their hd dvd to add the movie, origin, release date, hash and volume key information to an online database via a connection. If the movie exists it won't add it but if it doesn't then the movie and all of its related information could be added. Bad or good idea?

Emon
11th March 2007, 17:37
I was thinking of an interesting feature...There should be a feature within the C# app such as the following:

Allow the user, when backing up their hd dvd to add the movie, origin, release date, hash and volume key information to an online database via a connection. If the movie exists it won't add it but if it doesn't then the movie and all of its related information could be added. Bad or good idea?

go ahead and add that feature :) .. I have released the source.

halpern
11th March 2007, 17:48
Emon, I am just learning C# as my first programming language and am only on Beginning Classes so I don't think I would be of much help yet unless you want to teach me :) But I do like the feature because this keeps the movie list up to date. Just add an "Add to online database" button and create the connection and add to the database :) I think I would have to learn ADO.NET to figure that crap out. For the hell of it let me open it in VS2005 and see how much I have to learn.

blutach
12th March 2007, 01:38
halpern - Emon has answered your request already. Let it be please.

Regards

applejackaz
13th March 2007, 03:21
When reconstructing the menu on the movie "Rundown", I get this error:

Value cannot be null.
Perameter name:value

KornX
22nd March 2007, 10:47
Is it possible to decrypt bluray discs with backuphddvd (C#)?
(Because of the same protection)?

KornX

Galileo2000
25th March 2007, 13:22
Is it possible to decrypt bluray discs with backuphddvd (C#)?
(Because of the same protection)?

KornX

I don't think so. The disk structures must be different.

Emon or Doom9 could add support, but in the current incarnation you are SOL.