<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pcbotaku.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Extract_GD-ROM_files_from_MAME_CHD</id>
	<title>Extract GD-ROM files from MAME CHD - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pcbotaku.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Extract_GD-ROM_files_from_MAME_CHD"/>
	<link rel="alternate" type="text/html" href="https://wiki.pcbotaku.com/wiki/index.php?title=Extract_GD-ROM_files_from_MAME_CHD&amp;action=history"/>
	<updated>2026-10-11T12:51:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.pcbotaku.com/wiki/index.php?title=Extract_GD-ROM_files_from_MAME_CHD&amp;diff=186&amp;oldid=prev</id>
		<title>Invzim: Created page with &quot;Category:Naomi  The mame CHD dumps are in 2352 format, or &quot;RAW&quot;/&quot;BIN&quot;.  To extract game files, you first have to get the uncompressed image, chdman comes with mame.    chdman...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pcbotaku.com/wiki/index.php?title=Extract_GD-ROM_files_from_MAME_CHD&amp;diff=186&amp;oldid=prev"/>
		<updated>2012-09-19T08:53:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/Category:Naomi&quot; title=&quot;Category:Naomi&quot;&gt;Category:Naomi&lt;/a&gt;  The mame CHD dumps are in 2352 format, or &amp;quot;RAW&amp;quot;/&amp;quot;BIN&amp;quot;.  To extract game files, you first have to get the uncompressed image, chdman comes with mame.    chdman...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Naomi]]&lt;br /&gt;
&lt;br /&gt;
The mame CHD dumps are in 2352 format, or &amp;quot;RAW&amp;quot;/&amp;quot;BIN&amp;quot;.  To extract game files, you first have to get the uncompressed image, chdman comes with mame.&lt;br /&gt;
 &lt;br /&gt;
 chdman -extractcd input.chd game.toc game.bin&lt;br /&gt;
&lt;br /&gt;
We need to convert this file to a an ISO image, first a cue file to extract the high density track, game.cue:&lt;br /&gt;
&lt;br /&gt;
 FILE &amp;quot;game.bin&amp;quot; BINARY&lt;br /&gt;
 TRACK 03 MODE1/2352&lt;br /&gt;
 INDEX 01 10:00:00&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;You may add track 01 and track 02 to the cue file.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Now you can convert it to an ISO image:&lt;br /&gt;
&lt;br /&gt;
 bchunk game.bin game.cue game&lt;br /&gt;
&lt;br /&gt;
to inspect the file, use isoinfo with parameter -N45000, this is because the layout is relative to sector 0:&lt;br /&gt;
&lt;br /&gt;
 isoinfo -N45000 -i game03.iso -l&lt;br /&gt;
&lt;br /&gt;
Use isoinfo to extract all the files:&lt;br /&gt;
&lt;br /&gt;
 isoinfo -N45000 -i game03.iso -x &amp;quot;/NAOMIGD.BIN;1&amp;quot; &amp;gt;NAOMIGD.BIN&lt;br /&gt;
&lt;br /&gt;
The first 16 sectors contains needed data, to extract it you can use dd&lt;br /&gt;
&lt;br /&gt;
 dd if=game03.iso bs=2048 count=16 of=IP.BIN&lt;br /&gt;
&lt;br /&gt;
IP.BIN is just a filename, you can call it whatever you want.&lt;/div&gt;</summary>
		<author><name>Invzim</name></author>
	</entry>
</feed>