1) GUID for UDF nodes must be different. In ALL of the nodes.
2) Just change global variable g__UCHAR__IsIfoPatch and relative offsets within image would be changed. Apply this code ONLY if you have problems with hardware DVD players (StarBurn's formatting and DVD authoring tool you use have different relative offsets assuming). Can be get only in experimental way.
abs wrote:
about l__ULONG__GUID
for example:
Inc(l__ULONG__GUID);
l__ULONG__Status =
StarBurn_UDF_FormatTreeItemAsFile(
&g__UDF_TREE_ITEM__File[ 6 ],
( ++l__ULONG__GUID ),
"vts_01_1.vob",
"c:\VOB\vts_01_1.vob",
&l__UDF_TREE_ITEM__Directory[ 2 ]
);
but not all of function need this sentence :Inc(l__ULONG__GUID);
for example:
l__ULONG__Status =
StarBurn_UDF_FormatTreeItemAsFile(
&g__UDF_TREE_ITEM__File[ 8 ],
( ++l__ULONG__GUID ),
"vts_01_3.vob",
"c:\VOB\vts_01_3.vob",
&l__UDF_TREE_ITEM__Directory[ 2 ]
);
Does this have the difference?
And another question :
How to check we need to patch IFOs ?
In your example g__UCHAR__IsIfoPatch has not changed all the time .
Thank you for your help very much .