MAMEWorld >> Programming
View all threads Index   Flat Mode Flat  

Cyberonix
MAME Fan
Reged: 04/18/06
Posts: 121
Send PM
CHD Utility
05/03/09 09:29 PM Attachment: CHD Utility.zip 17 KB (38 downloads)


I finally got tired of going through each CHD file trying to update them to the new format so I wrote a quick utility to help. I've seen other utilities on here as well but figured I'd post mine too in case someone else wanted to try it.

It's a simple console application that runs either single or batch file processing. It expects to be run from your MAME directory and is simple to use.

1. Copy it to your MAME directory. When you run it, it will expect the files to be located in mame\roms\your_chd_directory.

2. Run the utility.

3. Input the name of the directory where your CHD file(s) are located. If you want to batch process CHD files they will need to be located in the same directory.

4. The utility automatically creates a subdirectory there titled NewCHD and puts your updated file(s) there. It never modifies the original.

5. It will give you the option to process more files if you like.

6. Copy your updated CHD to the correct directory when you're satisfied it's correct.

I've only tested this under Windows XP as I don't own Vista. It also doesn't have support for zipped CHD files. They will need to be in an actual directory.

It's written in C# so you'll need the .NET Framework 2.0 in order to run it. I've included the source code as well in case anyone is interested.

Hope it helps! I know it did for me.







Entire thread
Subject Posted by Posted on
* CHD Utility Cyberonix 05/03/09 09:29 PM
. * Re: CHD Utility mchowllives  06/07/12 08:42 PM
. * Re: CHD Utility Cyberonix  05/03/09 09:34 PM
. * Re: CHD Utility Waremonger  05/13/09 08:21 AM
. * Re: CHD Utility - HELP required Doosh  07/16/09 11:54 AM
. * Re: CHD Utility - HELP required etabeta  07/16/09 12:01 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 1 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 5611