Log in

View Full Version : HDDVDBackup C# Source VStudio Project


NghtShd
21st January 2007, 18:29
Nice job to Emon on his C# port.

Here (http://www.sendspace.com/file/hjpyi7)'s my C# source in case anyone might find it useful:

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

It's a complete C# reimplementation with a GUI with built-in console for output.

I'm not really finding much motivation to work on this port, not having HD-DVD hardware are files for testing. I did make up a fake EVO file which helped me find a bug in the decryption routine so I think it all works now. Excuse the dust (C# isn't really my thing and it was a quick and dirty port).

LokiHD
21st January 2007, 18:42
when i run the exe, nothing happens..

am i missing smtg or doing smtg wrong..

NghtShd
21st January 2007, 19:55
when i run the exe, nothing happens..

am i missing smtg or doing smtg wrong..

Yes, but it's my fault for not including a built exe in the archive. You probably launched HDDVDBackupG.vshost.exe. I've updated the link to a new archive with an EXE folder containing the executable and relavent files.

See first post for uptdated links.

2bigkings
21st January 2007, 19:58
now it works, thanks nghtshd

LokiHD
21st January 2007, 20:08
Yes, but it's my fault for not including a built exe in the archive. You probably launched HDDVDBackupG.vshost.exe. I've updated the link to a new archive with an EXE folder containing the executable and relavent files.

http://www.sendspace.com/file/zf2cdd (http://www.sendspace.com/file/zf2cdd)

from hdd,

==== Start ====
Testing source
Error: couldn't find E:\KingKongHDaacs\!

from xbox360 hddvd,

==== Start ====
Testing source
Found valid HD-DVD source

but i get this error, "Unhandled exception has occured in your application."

2bigkings
21st January 2007, 20:40
i'm sorry, i have the same error as lokihd

NghtShd
21st January 2007, 21:03
from hdd,

==== Start ====
Testing source
Error: couldn't find E:\KingKongHDaacs\!


There should be a '\' between 'HD' and 'aacs', so I assume you didn't put one on the end (E:\KingKongHD\). This is, of course, something that the app should catch and fix on its own.


from xbox360 hddvd,

==== Start ====
Testing source
Found valid HD-DVD source

but i get this error, "Unhandled exception has occured in your application."

I've found and fixed the problem. It was trying to open the key file with write access so it failed on read-only media.

I've only been testing from the hard drive with pseudo files I made up myself. Bear in mind that this was mainly meant to be a source code release. There are sure to be some bugs and it needs a lot more error control/feedback.

Here's the fix:
http://www.sendspace.com/file/hjpyi7

BTW, if I can ever get verification that the app works at all I may look into adding a second thread to see if that speeds things up, but until I know what is there works I doubt that I'll bother.

LokiHD
21st January 2007, 21:15
'\' after the directory, now both hdd & optical drive work

Emon
21st January 2007, 21:36
Nice job to Emon on his C# port.

Here (http://www.sendspace.com/file/hjpyi7)'s my C# source in case anyone might find it useful:

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

It's a complete C# reimplementation with a GUI with built-in console for output.

I'm not really finding much motivation to work on this port, not having HD-DVD hardware are files for testing. I did make up a fake EVO file which helped me find a bug in the decryption routine so I think it all works now. Excuse the dust (C# isn't really my thing and it was a quick and dirty port).

Hey Thanks! So just dled your source. Do you mind if I use your source and integrate it to my GUI?

LokiHD
21st January 2007, 21:40
nav chain workaround checked, hdd to hdd, @ 15:55

im doing once again w/ nav chain unchecked..

edit: nav chain unchecked @ 15:10

2bigkings
21st January 2007, 21:42
yeah, please work together, a integration of your 2 mods to one would be great!

Adub
21st January 2007, 21:47
I second that notion!

NghtShd
21st January 2007, 22:55
Hey Thanks! So just dled your source. Do you mind if I use your source and integrate it to my GUI?

No. Have at it. That's what it's for. :) It's my first real C# app, so you may want to "improve" it here and there. Still getting used to the C# way of doing things.

Emon
21st January 2007, 23:05
No. Have at it. That's what it's for. :) It's my first real C# app, so you may want to "improve" it here and there. Still getting used to the C# way of doing things.

I hear ya. Are you a C++ or a Java programmer? Switching from Jave to C# is pretty easy but I guess for C++ devs it might be a little weird to get used with C# at first.

Thanks for letting me use your source.

shevegen
21st January 2007, 23:14
I found the syntax of C# actually quite easy

And its true, Java and C# have a lot of common.

I find C++ very very complex.... compared to the
other two ;)

calinb
21st January 2007, 23:53
Nice job to Emon on his C# port.

Here (http://www.sendspace.com/file/hjpyi7)'s my C# source in case anyone might find it useful:

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

It's a complete C# reimplementation with a GUI with built-in console for output.
Thanks, NghtShd! Unfortunately, it requires .NET Framework 2.0 and 2.0 breaks Windows MCE. I tried this workaround but still get MCE crashes with 2.0 so I'll have to go back to .NET Framework 1.1.


http://blogs.msdn.com/astebner/archive/2005/07/06/436296.aspx

hajj_3
21st January 2007, 23:59
mce is poop! we should keep this as c# .net 2.0. its the future! we could even create native 64bit builds from it once its stable and full of features, multi-threaded and native 64bit would be sweet.

NghtShd
22nd January 2007, 00:30
I hear ya. Are you a C++ or a Java programmer? Switching from Jave to C# is pretty easy but I guess for C++ devs it might be a little weird to get used with C# at first.

Thanks for letting me use your source.

C++. I started on 6502 asm and moved to C and then C++.

Yeah Java to C# is fairly straight-forward which is why I chose it despite having little experience with C#. It's especially weird for me getting used to not using pointers and being able to basically cast anything to anything else.

I thought I might Go from there to C++ if it worked out, but probably not unless I buy myself a drive.