Editing cd toc

Editing cd toc

Post by Dave » Thu, 14 Nov 2002 01:27:26



Not sure if this is the best NG - if anyone has a better suggest i'll post
there.

Anyway,

I have a problem I wonder if anyone can help me. I need to change the file
sizes on a CD as theyre read by an operating system -

eg. I want a 40mb file to read as 190mb file size

I need to make it so I can make a small file appear quite large - and I need
to do this to a lot of small files on a CD-ROM - eg. turn 300 x 2mb files in
to 300 x 500mb files.

A friend told me to do this by modifying the TOC of the CD but I dont know
what he meant. TOC is table-of-contents on the CD right - but he didnt go in
to more detail.

If any bright spark has any clues then I'd be most grateful.

David

 
 
 

Editing cd toc

Post by Mike Richte » Thu, 14 Nov 2002 10:11:00



> Not sure if this is the best NG - if anyone has a better suggest i'll post
> there.

> Anyway,

> I have a problem I wonder if anyone can help me. I need to change the file
> sizes on a CD as theyre read by an operating system -

> eg. I want a 40mb file to read as 190mb file size

> I need to make it so I can make a small file appear quite large - and I need
> to do this to a lot of small files on a CD-ROM - eg. turn 300 x 2mb files in
> to 300 x 500mb files.

> A friend told me to do this by modifying the TOC of the CD but I dont know
> what he meant. TOC is table-of-contents on the CD right - but he didnt go in
> to more detail.

> If any bright spark has any clues then I'd be most grateful.

You can hex-edit the TOC, but should know a great deal about its
structure before trying it. I saw a passing reference to a program
capable of creating apparently duplicate files - but that's a different
way to provide the infinitesimal "protection" you seem to seek.

Mike
--

http://www.mrichter.com/

 
 
 

Editing cd toc

Post by <n.. » Fri, 15 Nov 2002 05:55:14




> > Not sure if this is the best NG - if anyone has a better suggest i'll post
> > there.

> > Anyway,

> > I have a problem I wonder if anyone can help me. I need to change the file
> > sizes on a CD as theyre read by an operating system -

> > eg. I want a 40mb file to read as 190mb file size

> > I need to make it so I can make a small file appear quite large - and I need
> > to do this to a lot of small files on a CD-ROM - eg. turn 300 x 2mb files in
> > to 300 x 500mb files.

> > A friend told me to do this by modifying the TOC of the CD but I dont know
> > what he meant. TOC is table-of-contents on the CD right - but he didnt go in
> > to more detail.

> > If any bright spark has any clues then I'd be most grateful.

> You can hex-edit the TOC, but should know a great deal about its
> structure before trying it. I saw a passing reference to a program
> capable of creating apparently duplicate files - but that's a different
> way to provide the infinitesimal "protection" you seem to seek.

> Mike

Or take a look at this:
http://www.cdmediaworld.com/hardware/cdrom/cd_protect_cd.shtml
for some pointers if indeed you're looking for nominal protection
against copying. Not very effective against anyone with a clue, but they
often seem to be in short supply these days.

---Matthew

 
 
 

Editing cd toc

Post by Dave » Mon, 18 Nov 2002 08:36:57


Its not for copy protection actually,
I just need the files to appear to be there and of the correct size.




> > > Not sure if this is the best NG - if anyone has a better suggest i'll
post
> > > there.

> > > Anyway,

> > > I have a problem I wonder if anyone can help me. I need to change the
file
> > > sizes on a CD as theyre read by an operating system -

> > > eg. I want a 40mb file to read as 190mb file size

> > > I need to make it so I can make a small file appear quite large - and
I need
> > > to do this to a lot of small files on a CD-ROM - eg. turn 300 x 2mb
files in
> > > to 300 x 500mb files.

> > > A friend told me to do this by modifying the TOC of the CD but I dont
know
> > > what he meant. TOC is table-of-contents on the CD right - but he didnt
go in
> > > to more detail.

> > > If any bright spark has any clues then I'd be most grateful.

> > You can hex-edit the TOC, but should know a great deal about its
> > structure before trying it. I saw a passing reference to a program
> > capable of creating apparently duplicate files - but that's a different
> > way to provide the infinitesimal "protection" you seem to seek.

> > Mike

> Or take a look at this:
> http://www.cdmediaworld.com/hardware/cdrom/cd_protect_cd.shtml
> for some pointers if indeed you're looking for nominal protection
> against copying. Not very effective against anyone with a clue, but they
> often seem to be in short supply these days.

> ---Matthew

 
 
 

Editing cd toc

Post by Andy McFadde » Mon, 25 Nov 2002 04:21:39



> Its not for copy protection actually,
> I just need the files to appear to be there and of the correct size.

You need to alter the ISO-9660 filesystem, not the CD-ROM TOC.

The easiest approach is to make an ISO-9660 image of the disc you want
to create, then hex-edit the .ISO file.  This will require you to figure
out the structure of an ISO-9660 filesystem.

You could also hack mkisofs to do what you want.  Depending on your
skills, that might be easier or harder.

Once you have the tweaked image, write it to disc with Nero, CDRWIN,
or anything else that accepts .ISO files.

--

CD-Recordable FAQ - http://www.cdrfaq.org/
Fight Internet Spam - http://spam.abuse.net/spam/ & http://spamcop.net/