Clonare Hard disk con CHDMAN
Inviato: 20/11/2011, 18:33
ciao raga, volevo farvi partecipi nell'uso di un programmino free che mi ha salvato le chiappe in una situazione disperata:il CHDMAN
lo trovate nello zip del mame quando scaricate l'eseguibile dos, percui non sto a darvi il link..
piuttosto vi riporto una guida ben fatta di Guru, un mamedev che la sa lunga...
Purtroppo è in inglese ma penso la possiate capire...mal che vada usate il Google translator....cominciamo!!
Power off your PC. Plug in the HDD and boot up your PC to your Windows XP desktop (sorry, the scope of this article does not include other operating systems, so I'm not going to cover them!)
When the PC is booted, go to START then click CONTROL PANEL. Then double click ADMINISTRATIVE TOOLS then COMPUTER MANAGEMENT. Click DISK MANAGEMENT then maximize the screen so you can see everything. Look for the HDD that you added. It will probably be the last one shown, but you may want to do this first before adding the new HDD then note the differences to be sure you select the correct one!
You have to know which physical volume your target hard disk is mapped as. On the right hand side it shows you a list of all the physical hard disks you have plugged in. They will be listed as 'Disk 0', 'Disk 1', 'Disk 2' etc. Make a note of which disk number your target hard disk is.
Once you've done that, it's easy to image the HDD into a file. Copy the MAME-supplied chdman.exe to a local hard drive that has enough space for the image (in my case I copy it to F:). Then open a DOS prompt and CD to that drive. For example, assuming my user name is 'user1', the drive I want to backup is physical drive 3 and I want to image the HDD to my F: drive....
(opening DOS prompt will bring you here)....
C:\Documents and Settings\user1\
type F: then press ENTER
(again make sure you are on a local hard drive that has enough free space to hold the image!)
Then type the following:
chdman -createhd \\.\PHYSICALDRIVE3 image.chd then press ENTER
where 'image.chd' is the name of the CHD file you want to create and the '3' next to PHYSICALDRIVE is the disk number listed in the DISK MANAGEMENT screen for the HDD you want to backup.
You will see a screen like this and you must wait until the drive is completely read.... After a period of time, you will see a new file on your drive called image.chd
Type dir and it should be listed.... Of course, you did that to backup an undumped game for us (MAMEDEV) didn't you? So now copy that file to a CD/DVD and post it out to us (or upload it somewhere and contact someone from MAMEDEV) so it can be added to MAME, purely for research purposes of course!
Note that you can also use chdman to re-create a real HDD from a backup CHD image in much the same way:
chdman -extract image.chd \\.\PHYSICALDRIVE3
(remember to replace the '3' with the drive you want to re-create, don't get it wrong or you will completely overwrite the wrong HDD!)
Note that this method also works for drives connected via an external USB box. The above example test drive was a 2 1/2 inch HDD connected via an external USB cable. The final image is only ~8MB because the drive was empty
....
Garantito il funzionamento anche per gli Hdd dei CHD di giochi tipo Killer Instinct ecc...
lo trovate nello zip del mame quando scaricate l'eseguibile dos, percui non sto a darvi il link..
piuttosto vi riporto una guida ben fatta di Guru, un mamedev che la sa lunga...
Purtroppo è in inglese ma penso la possiate capire...mal che vada usate il Google translator....cominciamo!!

Power off your PC. Plug in the HDD and boot up your PC to your Windows XP desktop (sorry, the scope of this article does not include other operating systems, so I'm not going to cover them!)
When the PC is booted, go to START then click CONTROL PANEL. Then double click ADMINISTRATIVE TOOLS then COMPUTER MANAGEMENT. Click DISK MANAGEMENT then maximize the screen so you can see everything. Look for the HDD that you added. It will probably be the last one shown, but you may want to do this first before adding the new HDD then note the differences to be sure you select the correct one!
You have to know which physical volume your target hard disk is mapped as. On the right hand side it shows you a list of all the physical hard disks you have plugged in. They will be listed as 'Disk 0', 'Disk 1', 'Disk 2' etc. Make a note of which disk number your target hard disk is.
Once you've done that, it's easy to image the HDD into a file. Copy the MAME-supplied chdman.exe to a local hard drive that has enough space for the image (in my case I copy it to F:). Then open a DOS prompt and CD to that drive. For example, assuming my user name is 'user1', the drive I want to backup is physical drive 3 and I want to image the HDD to my F: drive....
(opening DOS prompt will bring you here)....
C:\Documents and Settings\user1\
type F: then press ENTER
(again make sure you are on a local hard drive that has enough free space to hold the image!)
Then type the following:
chdman -createhd \\.\PHYSICALDRIVE3 image.chd then press ENTER
where 'image.chd' is the name of the CHD file you want to create and the '3' next to PHYSICALDRIVE is the disk number listed in the DISK MANAGEMENT screen for the HDD you want to backup.
You will see a screen like this and you must wait until the drive is completely read.... After a period of time, you will see a new file on your drive called image.chd
Type dir and it should be listed.... Of course, you did that to backup an undumped game for us (MAMEDEV) didn't you? So now copy that file to a CD/DVD and post it out to us (or upload it somewhere and contact someone from MAMEDEV) so it can be added to MAME, purely for research purposes of course!

Note that you can also use chdman to re-create a real HDD from a backup CHD image in much the same way:
chdman -extract image.chd \\.\PHYSICALDRIVE3
(remember to replace the '3' with the drive you want to re-create, don't get it wrong or you will completely overwrite the wrong HDD!)
Note that this method also works for drives connected via an external USB box. The above example test drive was a 2 1/2 inch HDD connected via an external USB cable. The final image is only ~8MB because the drive was empty

....
Garantito il funzionamento anche per gli Hdd dei CHD di giochi tipo Killer Instinct ecc...
