Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext Thread*Show in Threaded Mode


Subjectviewing extracting chd files Reply to this message
Posted byPakostevens
Posted on12/13/05 07:05 PM



Is there a tool to view or extract files inside of a chd image? I did a chdman -extract on wargods to make a .raw image and then tried loading it into isobuster but that didn't work. Is there any way to do this?





SubjectRe: viewing extracting chd files new Reply to this message
Posted byMrClick
Posted on12/14/05 04:27 AM



CHD might be simple FAT16 or FAT32 on Windows-based arcade systems, maybe encrypted. But I'm certain all other systems will use a dedicated system. So basicly you have to figure out every CHD's format for itself and write an extractor accordingly. I could imaging a simple raw data cluster of 200 or 300 megabytes all kept together by a simple 32 bit pointer table in the first 128 kb of the image. Looking for headers of common graphics or sound formats in the image. Look for the headers.

Use an hex editor (a good one, these files are huge), load up your raw, search for "BMP", "PNG" or "WAV". Maybe you stumble across one of these formats (if your lucky). Then you just need to check the header information for the size of the file + header (it's almost always in the header) and extract it to a single file and go wild on it. You can even reinsert it again if the filesize stays the same.

In wrote a little program called HiColEd years ago that I used to find the background images in Killer Instinct's CHD. The KI CHD had no file system that you could use to extract so I had to find the graphics by looking through the who file adjusting the width and height of the output till a useful image showed up. It's tedious but you get a pixel perfect dump of the background graphics.


Subjectif you are running linux new Reply to this message
Posted byPr3tty F1y
Posted on12/14/05 02:14 PM



you can prolly mount it, linux supports a wide array of file systems. ISOBuster is only for CD/DVD file systems (afaik), linux can pretty much handle any cd/dvd/hdd/floppy/etc

_ _ - - = = Pr3tty F1y = = - - _ _


SubjectRe: if you are running linux new Reply to this message
Posted byTourniquet
Posted on12/14/05 03:26 PM



> you can prolly mount it, linux supports a wide array of file systems. ISOBuster
> is only for CD/DVD file systems (afaik), linux can pretty much handle any
> cd/dvd/hdd/floppy/etc

Except most of the HDs don't have any filesystem, relying on hard-coded offsets.


--
Paul


Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode