Log in

View Full Version : open IMG, ISO files.


GZZ
3rd April 2005, 21:32
Does anyone know if there is any source code or documentation on how to read an *.img file and parse it to see what file is in it..? I was going to make a tool for myself like ISObuster and so on which can open up a IMG, ISO file and see what is in it.


GZZ

echooff
3rd April 2005, 21:57
Just mount it as a virtual drive with something like daemons tools and then look at it with explorer.

GZZ
5th April 2005, 12:27
Í know... But I don't have write access to the file. I want to be able to do a Region 'patch', Get VTS and Remove Pop-u inside a IMG...Because these 3 things don't add data to the img file, but only modify a few bytes to another number... So it should be possible to do.


GZZ

echooff
5th April 2005, 15:11
Writing to a ISO can cause real problems. In a lot of cases it can cause the entire image to be unreadable. Perhaps someone else has a better solution but... I would mount it and use dvd decrypter to rip in ifo mode, do my modifications and then use imgtool to recreate the image.

GZZ
5th April 2005, 15:47
I have done that 1 mio times, but its rather slow process... I don't think changing a byte to another number can cause the ISO to be unreadable, if you offcourse know what byte to change..


Its like to PPF-O-Magic program, which can patch an ISO file, what is does is changing some byte inside the iso file... But If just I knew how to parse the ISO file, to see what files are called and the start/End position inside the ISO file. I could do the rest. But I don't know how to parse the ISO file, because I don't know the structure of it and thats what I´m looking for..

GZZ

DaveEL
6th April 2005, 23:46
Well if you really want to know you need to read
http://www.y-adagio.com/public/standards/iso_cdromr/tocont.htm
and http://www.osta.org/specs/index.htm

good luck

DaveEL