Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: southpaw13 on March 19, 2009, 02:37:33 pm

Title: Mame 130u1 CHD changes
Post by: southpaw13 on March 19, 2009, 02:37:33 pm
Oh No! All Chd's need to be updated according to Mamedev.  Can anyone make a batch file to do this?

Thanks for your help,
Southpaw
Title: Re: Mame 130u1 CHD changes
Post by: MKChamp on March 19, 2009, 03:03:44 pm
Oh No! All Chd's need to be updated according to Mamedev.  Can anyone make a batch file to do this?

Here's what I've made: Be sure to change the first line to point to the folder that contains the chd folders...my chd folders were all in the 'rom' folder...
And change the line "c:\mame\chdman" to point to your chdman exe. AND USE AT YOUR OWN RISK!

dir /b /s /A:D c:\mame\roms >list.txt
FOR /F "tokens=1" %%A IN (list.txt) do (
   dir /s /b %%A\*.chd > filelist.txt
   FOR /F "tokens=1" %%f IN (filelist.txt)   do (
      c:\mame\chdman -update %%f %%f_n
      del %%f
      move %%f_n %%f
   )
)
Title: Re: Mame 130u1 CHD changes
Post by: Tafoid on March 19, 2009, 03:22:42 pm
Just keep in mind, I don't think there is a way to 'go back' once you've updated your CHD files - so those who enjoy a certain functionality or speed of a pre-0.130 build might want to only update when the game is needed (or tuck the old CHD's somewhere "in case")
Title: Re: Mame 130u1 CHD changes
Post by: FrizzleFried on March 19, 2009, 04:23:22 pm
Does MK's HS.diff file also eliminate the new error for CHD's from appearing?  If so,  I won't even bother updating.
Title: Re: Mame 130u1 CHD changes
Post by: MKChamp on March 19, 2009, 05:46:41 pm
Does MK's HS.diff file also eliminate the new error for CHD's from appearing?  If so,  I won't even bother updating.


Yep...no error messages.
Title: Re: Mame 130u1 CHD changes
Post by: Dariusz on March 31, 2009, 06:39:12 am
Hi All,

Do all the CHD's including the LD's need to be updated from Mame 130?

If so, what is the best way to convert all the CHD's? Is it by using a batch file? or are there other options?

If the batch file is the only option, Is there a batch file which someone can provide that:

Reads the original CHD's from one directory (without modifying the CDS's), and converts the CHD's to a destination directory?

BTW. My CHD are in root subdirectories and not in the root rom folder itself.

Any feedback is kindly appreciated,

Dariusz