Log in

View Full Version : BackupHDDVD (C# Port)


Pages : 1 [2] 3 4

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?