Rocket Division Software
http://www.starburnsoftware.com/forum/

How to create UDF2 image file from tree?
http://www.starburnsoftware.com/forum/starburn-sdk-f3/how-create-udf2-image-file-from-tree-t1900.html
Page 1 of 1

Author:  Quey [ Fri Jun 19, 2009 10:57 am ]
Post subject:  How to create UDF2 image file from tree?

Hi,

I can create UDF2 image file as the method in MSVC sample ImageBuilder project.
What I want to do is building a file tree as the MSVC sample DataBurner but write it to an UDF2 image file not burning it to a disc.

Could you show me how to do it with the built ISO9660JolietFileTree?
Thanks in advance.
:?
Quey

Author:  anton (staff) [ Sat Jun 20, 2009 10:53 pm ]
Post subject:  Re: How to create UDF2 image file from tree?

There's a nice console sample called UDF2BuildImageUnicode. It's absolutely minimalistic set of calls you need to perform to solve your task. Give it a try and let us know if you'd have other questions.

Author:  Quey [ Mon Jun 22, 2009 12:49 am ]
Post subject:  Re: How to create UDF2 image file from tree?

I did tried that sample UDF2BuildImageUnicode before I open this topic. And I can build UDF2 image files as expected.
But what I want to do is some little more than that sample.

What I wnat to do is to create a directory tree in the program, and the directories in this tree can be different from the directory tree in the hard drive at any level.

That means specify each directory name or path to each node in the tree is required, not a directory path to map.
I find in the MSVC sample DataBurn is the most thing that close to what I want to do.
It calls StarBurn_ISO9660JolietFileTree_Create(...) to build a tree, and "THIS TREE CAN BE MODIFIED" by oprating the Add, Rename....

And I did not see the methods in sample UDF2BuildImageUnicode can do it this way. As I recognized that the StarBurn_UDF2_DirectoryUnicodeProcessEx(....) can only copy exactly the same tree structure as in the hard drive.

So, is there a way to write the tree built by StarBurn_ISO9660JolietFileTree_Create in to a file?
(Every thing is the same as burn it to a disc in the MSVC sample DataBurn except it is target to a file.)

Best Regards,
Quey

Author:  anton (staff) [ Mon Jun 22, 2009 7:45 am ]
Post subject:  Re: How to create UDF2 image file from tree?

ProcessEx does dirty job for you sucking hard disk content. If you want to do everything on your own use plain File(Directory)Create(Unicode) API calls. You'll be able to do exactly what you need.

Author:  Quey [ Tue Jun 23, 2009 3:56 am ]
Post subject:  Re: How to create UDF2 image file from tree?

Thanks, I will do it that way.

Still I think if one can create image file from the tree built by StarBurn_ISO9660JolietFileTree_Create, that will be very convenient and consistent with the burn to disc purpose.

Regards,
Quey

Author:  anton (staff) [ Tue Jun 23, 2009 8:47 am ]
Post subject:  Re: How to create UDF2 image file from tree?

You can burn resulting virtual image to the disc. See UDF2BuildBurnXxx samples.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/