#1 Burning Software

It is currently Fri Apr 19, 2024 1:02 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Bug in writing ISO's to DVD's?
PostPosted: Fri Dec 17, 2004 11:34 am 
Offline

Joined: Mon Jun 28, 2004 9:29 pm
Posts: 6
There appears to a major bug in the StarBurn SDK for writing ISO images to DVD's.
I've primarily been testing with small text files and directory layouts. However when I put some .exe's and .zip's on a DVD as ISO they came out badly corrupted. Trying with some larger text files I see it's doing the sector offsets or something incorrectly as the text is their it just has some junk in it every so often.

Thanks,
Jory


Top
 Profile  
 
 Post subject: Re: Bug in writing ISO's to DVD's?
PostPosted: Fri Dec 17, 2004 11:46 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

Please, tell me the way you are building the ISO-images. When the files are corrupted - it seems to the problem of mastering ISO file, but no the burning problem.

jcsston wrote:
There appears to a major bug in the StarBurn SDK for writing ISO images to DVD's.
I've primarily been testing with small text files and directory layouts. However when I put some .exe's and .zip's on a DVD as ISO they came out badly corrupted. Trying with some larger text files I see it's doing the sector offsets or something incorrectly as the text is their it just has some junk in it every so often.

Thanks,
Jory


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 17, 2004 11:58 am 
Offline

Joined: Mon Jun 28, 2004 9:29 pm
Posts: 6
Hi,
I'm using code similar to this.

Code:
bool bLevel2 = true;
  m_ExceptionNo = StarBurn_ISO9660JolietFileTree_Create(
      &m_pISO9660JolietFileTree,
      m_ExceptionText, sizeof(m_ExceptionText),
      &m_Status,
      Callback_static, (PVOID)this,
      TRUE,
      FALSE,
      bLevel2 ? TRUE : FALSE,
      FILE_TREE_JOLIET);

  void *pRoot = NULL;
    pRoot = StarBurn_ISO9660JolietFileTree_GetRoot(m_pISO9660JolietFileTree);

  m_ExceptionNo = StarBurn_ISO9660JolietFileTree_Add(
        m_pISO9660JolietFileTree,
        m_ExceptionText, sizeof(m_ExceptionText),
        &m_Status,
        (char *)path.c_str(),
        folderName.length() == 0 ? NULL : (char *)folderName.c_str(),
        FILE_TIME_LAST_WRITE,
        &pRoot);

  m_ExceptionNo = StarBurn_ISO9660JolietFileTree_BuildImage(
      m_pISO9660JolietFileTree,
      m_ExceptionText, sizeof(m_ExceptionText),
      &m_Status,
      0,
      8,
      FALSE,
      (char *)VolumeSetName.c_str(),
      (char *)PublisherPreparerName.c_str(),
      (char *)ApplicationName.c_str());

...

          exceptionNo = StarBurn_CdvdBurnerGrabber_TrackAtOnceFromTree(
                          CStarBurnCDImageBurnerGrabber,
                          ExceptionText, sizeof(ExceptionText),
                          &Status, &CDBFailureInfo,
                          m_Image->GetImagePointer(),  // m_pISO9660JolietFileTree
                          FALSE, // TRUE -- MODE2/Form1 vs FALSE -- MODE1, would be IGNORED for RAW images
                          m_bTestWrite ? TRUE : FALSE,
                          m_bNextSessionAllowed ? TRUE : FALSE, // TRUE, // Next session allowed
                          WRITE_REPORT_DELAY_IN_SECONDS,
                          BUFFER_STATUS_REPORT_DELAY_IN_SECONDS);


Thanks,
Jory


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 17, 2004 8:39 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Your code seems to be fine. Now we'll need exact directory structure put somewhere on ftp, add/remove actions performed with it. To reproduce, confirm (maybe) and fix (if confirmed) the issue. You seems to be the first one reported broken images so far...

jcsston wrote:
Hi,
I'm using code similar to this.

Code:
bool bLevel2 = true;
  m_ExceptionNo = StarBurn_ISO9660JolietFileTree_Create(
      &m_pISO9660JolietFileTree,
      m_ExceptionText, sizeof(m_ExceptionText),
      &m_Status,
      Callback_static, (PVOID)this,
      TRUE,
      FALSE,
      bLevel2 ? TRUE : FALSE,
      FILE_TREE_JOLIET);

  void *pRoot = NULL;
    pRoot = StarBurn_ISO9660JolietFileTree_GetRoot(m_pISO9660JolietFileTree);

  m_ExceptionNo = StarBurn_ISO9660JolietFileTree_Add(
        m_pISO9660JolietFileTree,
        m_ExceptionText, sizeof(m_ExceptionText),
        &m_Status,
        (char *)path.c_str(),
        folderName.length() == 0 ? NULL : (char *)folderName.c_str(),
        FILE_TIME_LAST_WRITE,
        &pRoot);

  m_ExceptionNo = StarBurn_ISO9660JolietFileTree_BuildImage(
      m_pISO9660JolietFileTree,
      m_ExceptionText, sizeof(m_ExceptionText),
      &m_Status,
      0,
      8,
      FALSE,
      (char *)VolumeSetName.c_str(),
      (char *)PublisherPreparerName.c_str(),
      (char *)ApplicationName.c_str());

...

          exceptionNo = StarBurn_CdvdBurnerGrabber_TrackAtOnceFromTree(
                          CStarBurnCDImageBurnerGrabber,
                          ExceptionText, sizeof(ExceptionText),
                          &Status, &CDBFailureInfo,
                          m_Image->GetImagePointer(),  // m_pISO9660JolietFileTree
                          FALSE, // TRUE -- MODE2/Form1 vs FALSE -- MODE1, would be IGNORED for RAW images
                          m_bTestWrite ? TRUE : FALSE,
                          m_bNextSessionAllowed ? TRUE : FALSE, // TRUE, // Next session allowed
                          WRITE_REPORT_DELAY_IN_SECONDS,
                          BUFFER_STATUS_REPORT_DELAY_IN_SECONDS);


Thanks,
Jory


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 20 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group