Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Jonny G on March 13, 2012, 03:47:45 am

Title: How to compile CHDMAN
Post by: Jonny G on March 13, 2012, 03:47:45 am
Allo,

I use Headkaze's Mame Compiler to update and compile Mame (compiling U4 right now), could anyone tell me how to compile a new CHDMAN ready to convert all the CHDs to V5 and if it's possible with Mame compiler.

Thanks!
Title: Re: How to compile CHDMAN
Post by: Yenome on March 13, 2012, 07:12:09 am
don't know how to do it with the Mame compiler GUI. but open a cmd prompt and go to the directory you been compiling from and type "make tools" hit enter. it should then compile all the Mame tools. if it doesnt you need to set the path to include that dir.
Title: Re: How to compile CHDMAN
Post by: Jonny G on March 13, 2012, 07:34:08 pm
Spot on! Thanks for that. Would be interested if anyone knows a way to do this with a GUI as well.
Title: Re: How to compile CHDMAN
Post by: Howard_Casto on March 13, 2012, 08:48:19 pm
Let me stop you from giving yourself a headache if you are about to do what I think you are. 

The chd format is in flux atm.  With each revision since .145 it and/or the chdman utility has been tweaked properly. 

The time to upgrade your chds to v5 is when .146 comes out.  ;)
Title: Re: How to compile CHDMAN
Post by: Yenome on March 13, 2012, 11:43:28 pm
yea id have to agree with howard. only like hdd chd seems to upgrade fine but even still its a game of chance. if your trying to audit you collection with clrmamepro you can change the chd version to 4 and also you have ot change the command line to -verify %1 for it to work with the old chdman.
Title: Re: How to compile CHDMAN
Post by: Jonny G on March 14, 2012, 05:33:37 am
Dont worry! I've not got many CHDs anyway but I am waiting until 146 before I convert. I just wanted to be up to speed with how to do it before it came out. Cheers fellas.
Title: Re: How to compile CHDMAN
Post by: Tafoid on March 14, 2012, 07:18:00 am
Dont worry! I've not got many CHDs anyway but I am waiting until 146 before I convert. I just wanted to be up to speed with how to do it before it came out. Cheers fellas.

If you have the source and are compiling yourself, it's part of the TOOLS package.
Simply type:  "make tools" to make CHDMAN and all the other tools.
Title: Re: How to compile CHDMAN
Post by: Howard_Casto on March 14, 2012, 06:28:13 pm
Dont worry! I've not got many CHDs anyway but I am waiting until 146 before I convert. I just wanted to be up to speed with how to do it before it came out. Cheers fellas.

Well chdman comes pre-compiled with each official revision of mame, so you won't have to do any of this when .146 comes out.  ;)
Title: Re: How to compile CHDMAN
Post by: Jonny G on March 14, 2012, 08:04:50 pm
Good point, well made. I've learnt something at least.