Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: heyyouguys on May 05, 2016, 07:43:20 pm
-
I searched and not really sure how or what to do and use to update CHD files. I currently have .161 set of chd's and have .173 roms. Using Mameuifx .173 64bit. Can anyone point me in the right direction or to a tutorial that explains what I need to do to update them?
Thanks in advance
-
For a start You could try to upgrade chd with this script:
@echo off
set old_dir=.\
set new_dir=.\CHDs_new
set chdman=.\chdman.exe
if NOT exist "%old_dir%" (
goto :EOF
)
for /F "tokens=*" %%a in ('dir /b "%old_dir%"^|find /v "chd convert.cmd"^|find /v "chdman.exe"') DO (
if NOT exist "%new_dir%\%%a" (
mkdir "%new_dir%\%%a"
)
for /F %%b in ('dir /b "%old_dir%\%%a"') do (
echo Converting: %%b
"%chdman%" copy -i "%old_dir%\%%a\%%b" -o "%new_dir%\%%a\%%b"
)
)
Just make new txt file copy entire text from code area and name it convert.cmd, also put chdman.exe (latest one from version 172) along with this script in directory where You have chds. After You run it after few hours will give You all chds upgraded to newest format in directory CHDs_new. Move entire CHD_new directory outside main roms directory.
After this just give clrmamepro job to scan entire mame roms directory. It should give You information what chds are with wrong version or not needed/bad files. If some files can be copied just replace it with from CHDs_new and download remaining from internet.
-
Thanks for the info!!!