article

Read ISO9660 images (normal CD-ROM images)

Email
Submitted on: 1/30/2015 4:54:00 AM
By: actorics.de (from psc cd)  
Level: Intermediate
User Rating: By 8 Users
Compatibility: VB 6.0
Views: 617
 
     This article will show you, how to read the main informations of a ISO9660 image.

This article has accompanying files

 
				

Hi! Welcome to this little tutorial!

It will show you how to read the main informations of an ISO9660 Image file.
First of all, what is an ISO9660 image file?
ISO9660 is the standard specification for file systems on a CD-ROM.
An ISO9660 Image is a 1:1 copy of a CD-ROM to a file on your hard drive.
Mostly the extension is *.iso.
But there are also other formats like: *.bin, *.img, ...
I only want to show you how to get informations from a normal image (*.iso)
because this is a very easy image format.

If you open an image with word or something like this, you will see....nothing.
That's because the first 16 sectors of a CD-ROM are always empty.
One sector of a CD-ROM is 2048 bytes big.
Note: Sometimes VCDs have bigger sectors.
In this project the sector size is 2048.
Then comes the header: CD001
And now it gets interesting.
The Volume Descriptors are coming!!!!
The next 32 bytes are the title of the CD-ROM.
After the title comes the System Descriptor.
It's also 32 bytes long.
It describes the system that you need that the CD-ROM works.
For the next part of the ISO you need to know what an Endian is.
It's a data format for saving binary data. There are a lot of them in an image.
The most used in the whole wide world is the big endian, I think.
An 32 bit endian is always 4 bytes big.
In the ISO9660 format you need to convert a lot of endians back.
I added a demo project that reads more information than this article.
Just look at the screenshot!

winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com


Other 5 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Intermediate category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments


 There are no comments on this submission.
 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.