Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame 130u1 CHD changes  (Read 9679 times)

0 Members and 1 Guest are viewing this topic.

southpaw13

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 832
  • Last login:Today at 02:47:04 pm
  • Whatever!
Mame 130u1 CHD changes
« 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

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame 130u1 CHD changes
« Reply #1 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
   )
)
« Last Edit: March 19, 2009, 03:05:25 pm by MKChamp »

Tafoid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:February 12, 2025, 04:47:22 am
  • Emulation Devotee
    • MAMELOAD TNG (Front-End)
Re: Mame 130u1 CHD changes
« Reply #2 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")

FrizzleFried

  • no one listens to me anyway.
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5146
  • Last login:July 24, 2025, 09:28:02 am
    • Idaho Garagecade
Re: Mame 130u1 CHD changes
« Reply #3 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.
Visit my arcade blog at: www.idahogaragecade.com (Updated 10-28-21)

MKChamp

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 502
  • Last login:February 07, 2024, 02:45:53 pm
  • Stil around.
Re: Mame 130u1 CHD changes
« Reply #4 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.

Dariusz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:November 23, 2018, 02:41:36 pm
  • I want to Build My Own Arcade Controls!!
Re: Mame 130u1 CHD changes
« Reply #5 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