Modifying a Disc Image

Anything relating to CD-i can be discussed in this forum. From the multiple hardware iterations of the system to the sofware including games, reference, music and Video CDs. Maybe you hold an interest in Philips Media and the many development houses set up to cater for CD-i if so then this is the forum.
Post Reply
User avatar
Kao
Softech Recruit
Posts: 90
Joined: Sun Sep 11, 2005 12:18 am
Location: United States

Modifying a Disc Image

Post by Kao » Sun Apr 09, 2006 11:29 pm

Why is it when I modify a cd-i disc image with a hex editor, that disc refuses to work anymore? Even if I modify the image by just one byte, the disc simply cannot be read! Any ideas?
It's like 1993 all over again!
Image

User avatar
cdifan
CD-i Emulator Author
Posts: 923
Joined: Fri Jun 24, 2005 6:19 am
Location: The Netherlands
Contact:

Post by cdifan » Mon Apr 10, 2006 5:15 pm

It might depend on what you modify...

There is error-detection (EDC) and -correction (ECC) data in the disc image, but most (I'm tempted to say all) CD-i players aren't supposed to use this data unless they get error signals from the CD-drive; the primary reason for this is that error detection/correction is done in software and thus expensive performancewise. Or so the Philips technical notes say...

OTOH, they *might* do EDC in hardware; I don't really know. There are tools that reconstruct the EDC/ECC bytes after editing; the "cdedit" program which used to come with the "master" program is one such.

WindowsKiller
Karmic Church Disciple
Posts: 240
Joined: Mon Feb 20, 2006 2:39 pm
Location: Germany
Contact:

Post by WindowsKiller » Tue Apr 11, 2006 10:06 am

I think you can get around of this by converting the image to 2336 bytes/sector. The EDC/ECC stuff is then no longer part of the image file but generated when burning.

User avatar
cdifan
CD-i Emulator Author
Posts: 923
Joined: Fri Jun 24, 2005 6:19 am
Location: The Netherlands
Contact:

Post by cdifan » Tue Apr 11, 2006 4:08 pm

For data sectors, the EDC/ECC is inside those 2336 bytes.

User avatar
Kao
Softech Recruit
Posts: 90
Joined: Sun Sep 11, 2005 12:18 am
Location: United States

Post by Kao » Tue Apr 11, 2006 9:50 pm

Thanks for the information! I'll give that conversion a try.

How might I go about doing such a conversion, though? Can it be done through Isobuster?
It's like 1993 all over again!
Image

WindowsKiller
Karmic Church Disciple
Posts: 240
Joined: Mon Feb 20, 2006 2:39 pm
Location: Germany
Contact:

Post by WindowsKiller » Wed Apr 12, 2006 10:17 am

I would say mount it with Daemon Tools and then rip it from the virtual drive with CDRWin. You have to deselect "RAW" to get an image with 2336 bytes/sector.

But if cdifan is right, it probably won't help.

User avatar
Gir Draxa
Burn:Cycle Activated
Posts: 24
Joined: Sun Mar 12, 2006 6:21 am
Location: USA (and occasionally Thailand)
Contact:

Post by Gir Draxa » Sun May 07, 2006 3:46 am

You may also try an editor that will not change the file structure like ULTRA EDIT32. I've used that in the past for modifying 3DO titles.

Gir Draxa
CEO of the (in search of a home) CD-i Collective and 3DO Collective

User avatar
Kao
Softech Recruit
Posts: 90
Joined: Sun Sep 11, 2005 12:18 am
Location: United States

Post by Kao » Sun May 07, 2006 3:50 pm

Thank you, I will definately give that a try! :D
It's like 1993 all over again!
Image

Post Reply