Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: zmartin34 on July 18, 2009, 07:00:54 pm

Title: Mame64 & CHD's not playing nice!! Help Please
Post by: zmartin34 on July 18, 2009, 07:00:54 pm
Well one things for certain, I have a lot to learn! lol

I am using Mame64. Everything is (mostly) good. Now I'm tyring to implement CHD's. I have the killer instict v 1.5 both the rom and the chd.

I am placing the zipped rom folder inside my mame roms folder as usual and the chd file inside a folder with the same name as the rom also inside the rom folder.

Im 100% certain I have the right files but I ALWAYS get an error Chd files and or roms missing?

What gives?
Title: Re: Mame64 & CHD's not playing nice!! Help Please
Post by: zmartin34 on July 18, 2009, 11:02:17 pm
Updated them with chdman using this script that I found:

@echo off
set mameromdir=c:\CHD
set chdmandir=d:\emm\mame
set backupdir=c:\chd2

cd %mameromdir%
for /d %%X in (%mameromdir%\*) do (
cd %%X
for %%Y in (*.chd) do (
%chdmandir%/chdman.exe -update %%X\%%Y %%X\%%Y.new
move %%X\%%Y %backupdir%\%%Y.old
ren %%X\%%Y.new %%Y
)
)

Worked like a champion!   ;D

Copy and paste the script into wordpad and save as a *.bat

Don't forget to change the directory paths.