Friday, November 5, 2010

Convert Apple Disk Image (.dmg) to ISO Image (.iso)

Found a couple of ways to turn a Apple Disk Image (.dmg) into an ISO Image (.iso).  First was dmg2img, second was DMGExtractor.  I ended up using DMGExtractor probably because the author posted the source at SourceForge.

I wanted to use the GUI interface so I added the –gui flag to the Windows Batch file in the bin directory.

@echo off
setlocal
set DMGX_CP="%~dp0..\lib\dmgextractor.jar"
java -cp %DMGX_CP% org.catacombae.dmgextractor.DMGExtractor -startupcommand dmgx -gui %1 %2 %3 %4 %5 %6 %7 %8 %9
endlocal

No comments: