#1 Burning Software

It is currently Wed Dec 18, 2024 10:52 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: joliet image build question
PostPosted: Wed Jun 15, 2005 10:30 pm 
Offline

Joined: Tue Jun 14, 2005 5:10 pm
Posts: 11
Location: Vancouver, BC
I have an array of filenames with full paths (eg: d:\my dir\my file1.txt). I want all these files to be burned, but i want to put the each file's path on the cd also, from the example above that file should be placed in "my dir" on the cd, not in root. I know i can create this stuff manually but i just think there must be a more easy, automated way of doing it, just like when adding a whole folder and the StarBurn_ISO9660JolietFileTree_Add() automatically adds all the files and subfolders.

can anyone help?


Top
 Profile  
 
 Post subject: Re: joliet image build question
PostPosted: Wed Jun 15, 2005 10:35 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
The only way - do this manually. We provide enough of automation by parsing whole directory structure recursively (most if not all of the other SDKs - don't) however we cannot be that flexible and provide so many possible scenarios (like your one). Sorry for this!

pr0digy1 wrote:
I have an array of filenames with full paths (eg: d:\my dir\my file1.txt). I want all these files to be burned, but i want to put the each file's path on the cd also, from the example above that file should be placed in "my dir" on the cd, not in root. I know i can create this stuff manually but i just think there must be a more easy, automated way of doing it, just like when adding a whole folder and the StarBurn_ISO9660JolietFileTree_Add() automatically adds all the files and subfolders.

can anyone help?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 15, 2005 10:50 pm 
Offline

Joined: Tue Jun 14, 2005 5:10 pm
Posts: 11
Location: Vancouver, BC
another problem i have is that i only want certain files from each folder. so how can i only add certain files but keep the whole directory structure?
I hope i dont have to go through and remove the ones i dont want..? :?

There's an interesting argument in StarBurn_ISO9660JolietFileTree_BuildImage() called p__LONG__TreeLevelToProcess. I would think that this argument would let me do what I want to do but it doesnt. Can you tell me what it actually does?

btw, thanks for the very fast response
isnt it late night in ukraine right now?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 15, 2005 10:55 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Unfortunately that's exactly what you'll have to do - either create whole file tree manually or use "template" of automatic one and later parese it and remove ununsed files.

TreeLevelToProcess would allow you to skip recursive diving into file tree too deep (8 is maximum allowed level for pure ISO9660).

Yes, around 2 o'clock in the morning. Too many things need to be done so I'm still up :)

pr0digy1 wrote:
another problem i have is that i only want certain files from each folder. so how can i only add certain files but keep the whole directory structure?
I hope i dont have to go through and remove the ones i dont want..? :?

There's an interesting argument in StarBurn_ISO9660JolietFileTree_BuildImage() called p__LONG__TreeLevelToProcess. I would think that this argument would let me do what I want to do but it doesnt. Can you tell me what it actually does?

btw, thanks for the very fast response
isnt it late night in ukraine right now?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 4:44 pm 
Offline

Joined: Tue Jun 14, 2005 5:10 pm
Posts: 11
Location: Vancouver, BC
how can i create an empty folder in the joliet image?
right now i'm trying to do the following:

l__EXCEPTION_NUMBER =
StarBurn_ISO9660JolietFileTree_Add(
m_ISO9660JolietFileTree,
( PCHAR )( &l__CHAR__ExceptionText ),
sizeof( l__CHAR__ExceptionText ),
&l__ULONG__Status,
"test",
NULL,
FILE_TIME_LAST_WRITE,
&l__PVOID__Temp,
&l__PVOID__Root
);

but i get an error "CStarBurn_FileTree::CreateFromRoot(): FindFirstFile( '\test\*.*' ) failed, status 3"

it seems like whatever is being created in joliet image must exist on the hard drive?

i want to create a folder in joliet image and then use the tree node as parent when adding files to it.
thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 6:10 pm 
Offline

Joined: Tue Jun 14, 2005 5:10 pm
Posts: 11
Location: Vancouver, BC
ok, I have figured it out, the "test" must be put into the RootDirectoryNewName parameter, and the AbsolutePathAndName parameter must be NULL.

I would like to suggest that it would be nice to be able to create multiple folders with one call by passing in "test/test1" or "test\test1". Right now it just creates a folder with that name but that folder is not accessible because of the \ / characters. It would be better to create "test" and "test1" folders instead, "test1" residing inside "test".
Is this possible? It would make my life much easier.
Thanks


pr0digy1 wrote:
how can i create an empty folder in the joliet image?
right now i'm trying to do the following:

l__EXCEPTION_NUMBER =
StarBurn_ISO9660JolietFileTree_Add(
m_ISO9660JolietFileTree,
( PCHAR )( &l__CHAR__ExceptionText ),
sizeof( l__CHAR__ExceptionText ),
&l__ULONG__Status,
"test",
NULL,
FILE_TIME_LAST_WRITE,
&l__PVOID__Temp,
&l__PVOID__Root
);

but i get an error "CStarBurn_FileTree::CreateFromRoot(): FindFirstFile( '\test\*.*' ) failed, status 3"

it seems like whatever is being created in joliet image must exist on the hard drive?

i want to create a folder in joliet image and then use the tree node as parent when adding files to it.
thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 9:54 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Possible. But not in the nearest future. We'll be adding complete Unicode support to StarBurn soon (now coding early alpha) and would revisit (extend) tree management API.

pr0digy1 wrote:
ok, I have figured it out, the "test" must be put into the RootDirectoryNewName parameter, and the AbsolutePathAndName parameter must be NULL.

I would like to suggest that it would be nice to be able to create multiple folders with one call by passing in "test/test1" or "test\test1". Right now it just creates a folder with that name but that folder is not accessible because of the \ / characters. It would be better to create "test" and "test1" folders instead, "test1" residing inside "test".
Is this possible? It would make my life much easier.
Thanks


pr0digy1 wrote:
how can i create an empty folder in the joliet image?
right now i'm trying to do the following:

l__EXCEPTION_NUMBER =
StarBurn_ISO9660JolietFileTree_Add(
m_ISO9660JolietFileTree,
( PCHAR )( &l__CHAR__ExceptionText ),
sizeof( l__CHAR__ExceptionText ),
&l__ULONG__Status,
"test",
NULL,
FILE_TIME_LAST_WRITE,
&l__PVOID__Temp,
&l__PVOID__Root
);

but i get an error "CStarBurn_FileTree::CreateFromRoot(): FindFirstFile( '\test\*.*' ) failed, status 3"

it seems like whatever is being created in joliet image must exist on the hard drive?

i want to create a folder in joliet image and then use the tree node as parent when adding files to it.
thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 39 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group