Jump to content
LaunchBox Community Forums

Bulk Convert .cue/.bin (or files other than .bin) to .chd 1.02

   (6 reviews)

3 Screenshots

About This File

Bulk Convert .cue/.bin (or files other than .bin) to .chd

Using MAME’s chdman.exe (“Compressed Hunks of Data (CHD) Manager”, included with MAME), this plugin will convert CD based game files to a single .chd file in your selected Platform.  Example:

Before    Loom (USA).cue     Loom (USA).ccd     Loom (USA).img     Loom (USA).sub
After       Loom (USA).chd
Before    Arctic Thunder.cue     Arctic Thunder.bin
After       Arctic Thunder.chd

 

If you are looking to convert gdi or iso files (as well as cue) to CHD, see this plugin instead.

Bulk Convert cue/gdi/iso files to CHD - Third-party Apps and Plugins - LaunchBox Community Forums (launchbox-app.com)

 

Why convert?

 

  • You end up with just a single file per game
  • A CHD file is, well… compressed. Resulting in less storage space requirements
    • Arctic Thunder.cue + .bin = 601MB    Arctic Thunder.chd = 466MB
    • Spider-Man 2: Enter Electro = 684MB    CHD format = 318MB
  • Because we can and it's easy to do


Requirements

  • This plugin file
  • chdman.exe (included with MAME)
  • Game rom-sets that include a .cue file. (Loom (USA).cue, Arctic Thunder.cue etc.)

 

What happens after converting?
After successfully creating a CHD Image, the games application path will be changed to the new .chd file.

Also, after the files have been converted you have the option to 

  • Leave the old files in place (default)
  • Move the old files to a separate [backup] folder
  • Delete the old files
     

 

Installing the plugin

  1. Download the plugin
  2. Unblock “cue2chd (v1.00).zip” by right clicking the file and checking “Unblock” and clicking “OK”.
  3. Open the zip file and copy the contents (1 folder containing 1 file) into /LaunchBox/Plugins/
    • i.e. G:/LaunchBox/Plugins/cue2chd/cue2chd.dll

image.png.85087847d85ef26c747b022235f9e1a3.png

 

Using the plugin

  1. Start LaunchBox
  2. Select Tools, Convert cue to chd
  3. Select a Platform
  4. Click Convert
  5. (Optional)
    • Check Delete old files when complete 
      • This will permanently delete the old files (.cue, .bin, .img etc) after successfully converting them to .chd.
    • Check Move old files when complete
      • This will move the old files (.cue, .bin, .img etc) after successfully converting them to .chd to a folder you specify [for ‘backup’].
         

If you do not select Delete or Move, all files will remain in their current location along with the newly created .chd file. 

 

 If you opt to delete the old files and later want/need to convert the CHD files back to .cue etc., you can use chdman.exe to "reverse the process".  The command line is:

chdman.exe extractcd -i “file_name.chd” -o “file_name.cue”

 

 

Special thanks to @faeran for coming up with the idea for this plugin and his support and testing.

 As always, all comments and suggestions are welcome.


What's New in Version 1.02   See changelog

Released

Version 1.02 (April 23, 2022)

Fixed: Error not appearing if chd file was not created.

  • Like 15
  • Thanks 7
  • Unusual Gem 8

User Feedback

Recommended Comments



damn! I have installed it and I receive an error

I have a pack of philips cdi roms bin/cue format, imported all togheter in my LB

I started the plugin and  it has converted only 4 rom in chd, receving error that I attach when a rom cannot be converted.

So I have checked a cue file but it seems correct, pointing to the right BIN file name

I have tried to move chdman and a cue/bin file to a dir and then with dos command you reported above, I have launched it and it worked! So manually works on the same that I receive error doing with the plug in

I have tried also the new plugin, iso, gdi, but I receive the same error

any idea?

(i dont know if it help but I have mame install on a drive and rom pack on a different drive, but LB works without problems and anyway some roms have been converted)

pluginerror.bmp

Link to comment
Share on other sites

19 minutes ago, xevious1974 said:

I receive an error

Error Message:  Error Converting Name_of_File.cue 

  • The plugin will run the process to convert Name_of_File.cue to Name_of_File.chd using chdman.exe.
  • After that process is complete (error or no error), it looks for Name_of_File.chd.
  • If it can't find the CHD file, then the error message appears.

Possible causes for the error:

  • Using an old(er) version of chdman.exe**
  • The ApplicationPath to Name_of_File.cue (game ROM) is incorrect
  • The Name_of_File.cue file is corrupt/wrong
  • The .bin file(s) the .cue points are missing (either don't exist or are in a different folder than the .cue file)

 

53 minutes ago, xevious1974 said:

I have tried to move chdman and a cue/bin file to a dir and then with dos command you reported above, I have launched it and it worked! So manually works on the same that I receive error doing with the plug in

Were the bin/cue files you tested for "Solar System (Europe)" [the one that caused the error in the plugin]?  I believe you're saying they were.

**Do you have more than 1 emulator setup in LaunchBox for (or using) MAME?  If so, it's possible that it found one that has an older version of chdman.exe.  If this is the case, delete the older versions of chdman.exe from the other copies/versions of MAME.  Keeping only the most recent chdman.exe version.

 

1 hour ago, xevious1974 said:

I have mame install on a drive and rom pack on a different drive

Thanks for that info.  This shouldn't cause any issues.  And as you said, some of them did get converted.  I think this may only be an issue if the other drive is unavailable/offline, it's write-protected, it's on a Network drive (?) or the file path to the other drive/rom is super long.

 

Hopefully something here helps to find a solution.  Because if issue is not one of the 'possible causes' AND they get converted via the Command Prompt, I'm afraid I'm at a loss.  

Link to comment
Share on other sites

52 minutes ago, JoeViking245 said:

 

**Do you have more than 1 emulator setup in LaunchBox for (or using) MAME?  If so, it's possible that it found one that has an older version of chdman.exe.  If this is the case, delete the older versions of chdman.exe from the other copies/versions of MAME.  Keeping only the most recent chdman.exe version.

 

Yes, I have! I have setup mame for some retro console and I have fear to touch it when it works, so I let it there ahahhaah

Ok, I'll procede to delete the chdman! Maybe you found THE solution! When I move to a specific folder, I have used the latest chdman version of course. So.... I GOOOO ^_^

Link to comment
Share on other sites

ok, I started the process and it is working right now!

you have hit the target, thank you very much!

The older mame version that I had was 201 if it can be usefull

Now I have the 242

Thank you again my savior!

  • Game On 1
Link to comment
Share on other sites

so i went through the whole rigamarole. all i want to do is convert these files. wtf do i have to do to get them converted. i downloaded and launched launchbox, put the file in the plugin folder, added chdman to the folder, ran the program, then i select my folder where the files i want to convert is, the files just aren't showing up. I select any folder they are in: there is no option to convert. I was thinking it had something to do with the "unblock" thing, but I right click the plugin, there is obviously no "unblock" option as there never is, has been, or will be. So i think is it in the properties? no. Is it in permissions? no. so wtf? I've been looking for solutions to my problem for days and have found no answers. Someone tell me what the fuck to do to get ps1 games on retroarch in this goddamn thing where they seemingly just dissapear and don't show up in the damn sd card on the damn anbernic! no bin or cue files seem to survive the transfer! nobody seems to know the damned answer! I am so tired of this cryptic maze of dead ends!

Link to comment
Share on other sites

Mr. Turnr, you seem frustrated.  Despite your vulgarity, I'll see if I can help clear some things up and help to get your files converted.

 

58 minutes ago, joeturnr said:

then i select my folder where the files i want to convert is

The plugin doesn't have an option to select a folder where your .cue/.bin files are located so it can convert them.  You select the Platform that has the games that point to .cue files.   Reference step #3 in Using the plugin.

The only folder selection in the plugin is to choose where to move the .cue/.bin files to after they are successfully converted.  Reference step #5, 2nd option shown in Using the plugin.

 

36 minutes ago, joeturnr said:

just dissapear and don't show up in the gosh darn sd card

Are you trying to run this on an Android device?  Not sure that's going to work.

 

When you select your Sony PlayStation platform (Reference step #3 in Using the plugin), does it show the number of games you actually have installed?

image.png.96c24690723b3fd9d24520aff2c59356.png

Link to comment
Share on other sites

On 1/8/2023 at 8:03 PM, JoeViking245 said:

Mr. Turnr, you seem frustrated.  Despite your vulgarity, I'll see if I can help clear some things up and help to get your files converted.

 

The plugin doesn't have an option to select a folder where your .cue/.bin files are located so it can convert them.  You select the Platform that has the games that point to .cue files.   Reference step #3 in Using the plugin.

The only folder selection in the plugin is to choose where to move the .cue/.bin files to after they are successfully converted.  Reference step #5, 2nd option shown in Using the plugin.

 

Are you trying to run this on an Android device?  Not sure that's going to work.

 

When you select your Sony PlayStation platform (Reference step #3 in Using the plugin), does it show the number of games you actually have installed?

image.png.96c24690723b3fd9d24520aff2c59356.png

I want to convert the files on the pc to transfer them to an android thing -> anbernic rg351p. I don't know what "platform" indicates. I have all the bin/cue files in a folder. I don't technically even know what "launchbox" is although I am at a loss to convert these files any other way as chdman isn't working for me either and through my research I have found not much in the way of other methods. do I have to zip the files first or something? they are unzipped.

Link to comment
Share on other sites

8 minutes ago, joeturnr said:

I want to convert the files on the pc to transfer them to an android thing -> anbernic rg351p. I don't know what "platform" indicates. I have all the bin/cue files in a folder. I don't technically even know what "launchbox" is although I am at a loss to convert these files any other way as chdman isn't working for me either and through my research I have found not much in the way of other methods. do I have to zip the files first or something? they are unzipped.

here's a picture of the lack of stuff although there is a massive folder of ps1, saturn, and dreamcast games that need converting as well. (even though I hear a rumor that saturn games don't convert well - better to try it than be unable to run the games at all.)

Untitled-1.jpg

Link to comment
Share on other sites

7 hours ago, joeturnr said:

I don't technically even know what "launchbox" is

It's a frontend (or a sort of Graphical User Interface) used to organize, view and play PC games and emulated console platforms

About LaunchBox (launchbox-app.com)

This LaunchBox plugin won't do you any good until you've actually imported systems and their games into LaunchBox.  Each system you import is imported into a Platform.  Think of it as the "Sony PlayStation platform" or the "Nintendo Wii platform".

 

8 hours ago, joeturnr said:

chdman isn't working for me either and through my research I have found not much in the way of other methods.

chdman is the only program that I'm aware of to convert .cue/.bin files to .chd.

If you weren't able to get it to work for you from the command prompt or via a batch file, this plugin wouldn't have worked either.

(other than using the wrong commands) The more common reason I've seen chdman not work is because you're using an old(er) version of it.  You can get the current version from MAMEDev.org.  It is bundled in with the latest MAME release.

 

To test, put chdman.exe inside your Ape Escape (USA) folder.  Open the Windows Command Prompt in this folder.  At the prompt type

chdman.exe createcd -i "Ape Escape (USA).cue" -o "Ape Escape (USA).chd"

(change the .cue filename to whatever is your actual filename.cue and leave the quotes as shown)  And yes, leave them unzipped.

 

8 hours ago, joeturnr said:

here's a picture of the lack of stuff

It's empty (left side of pict) because you're selecting a folder (not files).  The giveaway is the "Select Folder" in the upper left corner. ;) 

Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...