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: Looking for utility to compress Mame Disk image .CHD files  (Read 5176 times)

0 Members and 1 Guest are viewing this topic.

Reg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:April 27, 2004, 10:43:45 pm
  • I want to Build My Own Arcade Controls!!
Looking for utility to compress Mame Disk image .CHD files
« on: October 21, 2003, 08:14:47 pm »
Hi,

I cannot find the new utility to compress Mame disk image files .CHD

thanks

Reg

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:Today at 12:23:05 am
  • The Bears Still Suck!
Re:Looking for utility to compress Mame Disk image .CHD files
« Reply #1 on: October 21, 2003, 10:59:36 pm »
CHD stands for Compressed Hard Drive.

Reg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:April 27, 2004, 10:43:45 pm
  • I want to Build My Own Arcade Controls!!
Re:Looking for utility to compress Mame Disk image .CHD files
« Reply #2 on: October 22, 2003, 08:12:04 am »
Look someone give this answer!

Reg



 
Please consider the appropriate board before posting. Please report MAME bugs to the MAME Testing Project - redundant bug reports and questions will be deleted. Before requesting a game, check out Bobby Tribble's page of unemulated arcade games or MAME Targets. Also avoid posting MAME32 and MacMAME specific messages in this board. Do not request ROMs or ask about missing files. Remember to read the FAQ before asking anything.

Forum Index | FAQ | New User | Login | Search  
 

 

Subject Re: where can I find the utility to compress the CHD files?  
Posted by eevert
Posted on 10/22/03 00:36 AM


> Hi,
>
> Where can I find the utility to compress the CHD files?

You have 3 choices:

1) HDCOMP included with MAME, use hdcomp -info filename.chd to find out how many cylinders, heads, and sectors the image has, then use hdcomp -extract filename.chd filename.raw to extract the image and then hdcomp -create filename.raw new.chd 0 cylinders heads sectors to make the new (smaller) image.
2) ReCHD - A command-line java application
(http://egoelf.netfirms.com/)
3) SmallCHD - A Win32 GUI application
(http://home.comcast.net/~eevert/)
 

bye

Reg

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:Today at 12:23:05 am
  • The Bears Still Suck!
Re:Looking for utility to compress Mame Disk image .CHD files
« Reply #3 on: October 22, 2003, 11:37:34 am »
Oh, you want to make chd files?  It sounded like you wanted to compress something that is already compressed.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Looking for utility to compress Mame Disk image .CHD files
« Reply #4 on: October 22, 2003, 12:24:33 pm »
Oh, you want to make chd files?  It sounded like you wanted to compress something that is already compressed.

With the release of .74, a buddy of mine found a redundany in the way CHDs are handled.  It seems that a lot of duplicate bytes are included in the existing CHD files.

So, with .75, hdcomp.exe will recompress to this new standard.  All CHDs that are recompressed are backwards compatible with older versions of MAME, but take up less space on the hard drive.

Since uncompressing/recompressing using hdcomp.exe takes up a bit of drive space, there are two utitities that were written to just output a new CHD without having to recompress them first.

One is ReCHD.  Written completely in Java.  Nifty, but you have to have Java installed.

The other is SmallCHD.  Does the same thing as ReCHD, except you don't need Java.

The existing CHDs don't get squashed too much (I think Area 51/Maxforce gets quite squashed, but the rest don't too much) but the new Beatmania CHDs are far smaller, saving over 1.5 G overall.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Looking for utility to compress Mame Disk image .CHD files
« Reply #5 on: October 22, 2003, 12:27:13 pm »
Oh, you want to make chd files?  It sounded like you wanted to compress something that is already compressed.

With the release of .74, a buddy of mine found a redundany in the way CHDs are handled.  It seems that a lot of duplicate bytes are included in the existing CHD files.

So, with .75, hdcomp.exe will recompress to this new standard.  All CHDs that are recompressed are backwards compatible with older versions of MAME, but take up less space on the hard drive.

Since uncompressing/recompressing using hdcomp.exe takes up a bit of drive space, there are two utitities that were written to just output a new CHD without having to recompress them first.

One is ReCHD.  Written completely in Java.  Nifty, but you have to have Java installed.

The other is SmallCHD.  Does the same thing as ReCHD, except you don't need Java.

The existing CHDs don't get squashed too much (I think Area 51/Maxforce gets quite squashed, but the rest don't too much) but the new Beatmania CHDs are far smaller, saving over 1.5 G overall.