F1ReB4LL suggested i reach out to LedZep and/or Sarami regarding a "gluer" tool to glue the various bins/tracks of a bin+cue together to form a single img, or a straight up converter, that would do a conversion of cue+bin to to CCD+IMG+SUB.

I've had successful conversions of bin+cue to ccd+img+sub by mounting and redumping, but i've also had several that ended up with an img file that fails to match a previously dumped crc-32, and have run into some types of images that the tools i currently have are unable to deal with properly.

Is there any chance of getting a tool that would help automate this sort of process?


Thanks all

I don't get notifications from this forum, and i don't often check PMs here as a result. If you need to reach me, please just email me or contact F1ReB4LL.

There is some discussion about this here: http://forum.redump.org/topic/12334/con … orgformat/

3 (edited by wiggy2k 2019-05-02 02:31:00)

Theres a couple of ways of scripting this


by far the easiest would be to use SBITools.
It should work perfectly for this purpose.

https://github.com/Kippykip/SBITools/releases

you could script it using forfiles.   (you could try a for loop but the spaces in the filenames will be a complete ballache to escape)

Something along the lines of (in this example I have a few cue/bin images extracted in one folder and have placed sbitools in the same folder. )


forfiles /M "*.cue" /C "cmd /C sbitools.exe -cue2ccd @file"

the output was: (apologies its a bit lengthy)

Z:\Saturn Extracted>forfiles /M "*.cue" /C "cmd /C sbitools.exe -cue2ccd @file"

SBITools v0.3.1 - http://kippykip.com
Split Track CUE image detected! Merging...
Exporting to: 'CCD\2Tax Gold (Japan).SUB'.
Directory 'CCD' doesn't exist! Creating...
Directory 'CCD\2Tax Gold (Japan)' doesn't exist! Creating...
Creating CCD file
Writing CCD headers
Writing CCD Entries
Writing TRACK info
Done writing CCD!
Merging image (This will take a moment)
Stitching '2TAX GOLD (JAPAN) (TRACK 01).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 02).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 03).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 04).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 05).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 06).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 07).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 08).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 09).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 10).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 11).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 12).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 13).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 14).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 15).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 16).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 17).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 18).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 19).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 20).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 21).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 22).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 23).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 24).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 25).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 26).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 27).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 28).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 29).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 30).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 31).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 32).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 33).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 34).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 35).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 36).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 37).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 38).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 39).BIN'.
Stitching '2TAX GOLD (JAPAN) (TRACK 40).BIN'.
Finished merging split track image!
Creating modified CUE
Done writing CUE!
Generating blank .SUB with psxt001z
Could not find '2Tax Gold (Japan).sbi'! Skipping...
Could not find '2Tax Gold (Japan).lsd'! Skipping...
LibCrypt .SBI/.LSD patches not found in CUE directory! Ignoring .SUB patching...
Adding CD Audio track data to subchannel
Adding '2 second lead-in' for Track: 2
Adding timecode data for Track: 2
Adding '2 second lead-in' for Track: 3
Adding timecode data for Track: 3
Adding '2 second lead-in' for Track: 4
Adding timecode data for Track: 4
Adding '2 second lead-in' for Track: 5
Adding timecode data for Track: 5
Adding '2 second lead-in' for Track: 6
Adding timecode data for Track: 6
Adding '2 second lead-in' for Track: 7
Adding timecode data for Track: 7
Adding '2 second lead-in' for Track: 8
Adding timecode data for Track: 8
Adding '2 second lead-in' for Track: 9
Adding timecode data for Track: 9
Adding '2 second lead-in' for Track: 10
Adding timecode data for Track: 10
Adding '2 second lead-in' for Track: 11
Adding timecode data for Track: 11
Adding '2 second lead-in' for Track: 12
Adding timecode data for Track: 12
Adding '2 second lead-in' for Track: 13
Adding timecode data for Track: 13
Adding '2 second lead-in' for Track: 14
Adding timecode data for Track: 14
Adding '2 second lead-in' for Track: 15
Adding timecode data for Track: 15
Adding '2 second lead-in' for Track: 16
Adding timecode data for Track: 16
Adding '2 second lead-in' for Track: 17
Adding timecode data for Track: 17
Adding '2 second lead-in' for Track: 18
Adding timecode data for Track: 18
Adding '2 second lead-in' for Track: 19
Adding timecode data for Track: 19
Adding '2 second lead-in' for Track: 20
Adding timecode data for Track: 20
Adding '2 second lead-in' for Track: 21
Adding timecode data for Track: 21
Adding '2 second lead-in' for Track: 22
Adding timecode data for Track: 22
Adding '2 second lead-in' for Track: 23
Adding timecode data for Track: 23
Adding '2 second lead-in' for Track: 24
Adding timecode data for Track: 24
Adding '2 second lead-in' for Track: 25
Adding timecode data for Track: 25
Adding '2 second lead-in' for Track: 26
Adding timecode data for Track: 26
Adding '2 second lead-in' for Track: 27
Adding timecode data for Track: 27
Adding '2 second lead-in' for Track: 28
Adding timecode data for Track: 28
Adding '2 second lead-in' for Track: 29
Adding timecode data for Track: 29
Adding '2 second lead-in' for Track: 30
Adding timecode data for Track: 30
Adding '2 second lead-in' for Track: 31
Adding timecode data for Track: 31
Adding '2 second lead-in' for Track: 32
Adding timecode data for Track: 32
Adding '2 second lead-in' for Track: 33
Adding timecode data for Track: 33
Adding '2 second lead-in' for Track: 34
Adding timecode data for Track: 34
Adding '2 second lead-in' for Track: 35
Adding timecode data for Track: 35
Adding '2 second lead-in' for Track: 36
Adding timecode data for Track: 36
Adding '2 second lead-in' for Track: 37
Adding timecode data for Track: 37
Adding '2 second lead-in' for Track: 38
Adding timecode data for Track: 38
Adding '2 second lead-in' for Track: 39
Adding timecode data for Track: 39
Adding '2 second lead-in' for Track: 40
Adding timecode data for Track: 40
Finished adding CD Audio subchannel data!
Done converting!
Everything exported to: 'CCD\2Tax Gold (Japan)\'
SBITools v0.3.1 - http://kippykip.com
Split Track CUE image detected! Merging...
Exporting to: 'CCD\3D Baseball - The Majors (Japan).SUB'.
Directory 'CCD\3D Baseball - The Majors (Japan)' doesn't exist! Creating...
Creating CCD file
Writing CCD headers
Writing CCD Entries
Writing TRACK info
Done writing CCD!
Merging image (This will take a moment)
Stitching '3D BASEBALL - THE MAJORS (JAPAN) (TRACK 1).BIN'.
Stitching '3D BASEBALL - THE MAJORS (JAPAN) (TRACK 2).BIN'.
Finished merging split track image!
Creating modified CUE
Done writing CUE!
Generating blank .SUB with psxt001z
Could not find '3D Baseball - The Majors (Japan).sbi'! Skipping...
Could not find '3D Baseball - The Majors (Japan).lsd'! Skipping...
LibCrypt .SBI/.LSD patches not found in CUE directory! Ignoring .SUB patching...
Adding CD Audio track data to subchannel
Adding '2 second lead-in' for Track: 2
Adding timecode data for Track: 2
Finished adding CD Audio subchannel data!
Done converting!
Everything exported to: 'CCD\3D Baseball - The Majors (Japan)\'
SBITools v0.3.1 - http://kippykip.com
Split Track CUE image detected! Merging...
Exporting to: 'CCD\2do Aru Koto wa Sando R (Japan).SUB'.
Directory 'CCD\2do Aru Koto wa Sando R (Japan)' doesn't exist! Creating...
Creating CCD file
Writing CCD headers
Writing CCD Entries
Writing TRACK info
Done writing CCD!
Merging image (This will take a moment)
Stitching '2DO ARU KOTO WA SANDO R (JAPAN) (TRACK 1).BIN'.
Stitching '2DO ARU KOTO WA SANDO R (JAPAN) (TRACK 2).BIN'.
Finished merging split track image!
Creating modified CUE
Done writing CUE!
Generating blank .SUB with psxt001z
Could not find '2do Aru Koto wa Sando R (Japan).sbi'! Skipping...
Could not find '2do Aru Koto wa Sando R (Japan).lsd'! Skipping...
LibCrypt .SBI/.LSD patches not found in CUE directory! Ignoring .SUB patching...
Adding CD Audio track data to subchannel
Adding '2 second lead-in' for Track: 2
Adding timecode data for Track: 2
Finished adding CD Audio subchannel data!
Done converting!
Everything exported to: 'CCD\2do Aru Koto wa Sando R (Japan)\'
SBITools v0.3.1 - http://kippykip.com
Split Track CUE image detected! Merging...
Exporting to: 'CCD\3D Baseball (USA).SUB'.
Directory 'CCD\3D Baseball (USA)' doesn't exist! Creating...
Creating CCD file
Writing CCD headers
Writing CCD Entries
Writing TRACK info
Done writing CCD!
Merging image (This will take a moment)
Stitching '3D BASEBALL (USA) (TRACK 1).BIN'.
Stitching '3D BASEBALL (USA) (TRACK 2).BIN'.
Finished merging split track image!
Creating modified CUE
Done writing CUE!
Generating blank .SUB with psxt001z
Could not find '3D Baseball (USA).sbi'! Skipping...
Could not find '3D Baseball (USA).lsd'! Skipping...
LibCrypt .SBI/.LSD patches not found in CUE directory! Ignoring .SUB patching...
Adding CD Audio track data to subchannel
Adding '2 second lead-in' for Track: 2
Adding timecode data for Track: 2
Finished adding CD Audio subchannel data!
Done converting!
Everything exported to: 'CCD\3D Baseball (USA)\'

Z:\Saturn Extracted>

the result was a new subfolder called CCD was created, in which is a IMG/CCD/SUB/CUE image created from the redump images.

try it out, you will see what I mean.

4 (edited by wiggy2k 2019-05-02 02:30:29)

Obviously that's for batch conversion.
syntax to just do a single image would just be:

sbitools.exe -cue2ccd  <path to cue file>

It's worth noting that you should probably delete the LSD patches folder (or the contents thereof) before starting just in case a filename clashes with a PSX image filename.

ok, last follow up, it's 3AM here.

the img files match the combined CRC from the dumps page.

see attached image.

Post's attachments

2tax.PNG 214.66 kb, 13 downloads since 2019-05-02 

You don't have the permssions to download the attachments of this post.

hmm, this sounds fantastic, and certainly a lot easier to deal with than what dave and i started with. i'll give it a go

I don't get notifications from this forum, and i don't often check PMs here as a result. If you need to reach me, please just email me or contact F1ReB4LL.

I always mounted the image in DT 3.47 and dumped with CCD to do this, or used CDMage to do it.

Plextor PX-760A 1.07 (+30) : Plextor PX-716SA 1.11 (+30) : Plextor PX-W5224A 1.04 (+30) : Plextor PX-W4824 1.07 (+30) : Plextor PX-W4012TA 1.07 (+98) : Plextor PX-W1610TA (+99) : Plextor PX-W1210TA 1.10 (+99) : Lite-On LTR-48246S (+6) : Lite-On LTR-52246S (+6) : Lite-On LH-20A1H LL0DN (+6) : BenQ DW1655 BCIB (+618) : ASUS DRW-2014L1 1.02 (+6) : Yamaha CRW-F1 (+733) : Optiarc SA-7290H5 1H44 (+48) : ASUS BW-16D1HT 3.02 (+6)

I was able to get quite a few images converted using Wiggy2k's method of sbitools.

Unfortunately, 41 images didn't get converted, with sbitools claiming that they had invalid cue files.

While i haven't looked at every single Cue file from those having issues yet, the one thing i'm seeing are individual tracks broken down into multiple indexes

FILE "Striker 96 (USA) (Track 1).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "Striker 96 (USA) (Track 2).bin" BINARY
  TRACK 02 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
    INDEX 02 03:12:19
    INDEX 03 06:08:69
    INDEX 04 10:35:57
    INDEX 05 13:31:22
    INDEX 06 16:49:55
FILE "Striker 96 (USA) (Track 3).bin" BINARY
  TRACK 03 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00

============

FILE "Dark Savior (Europe) (Track 1).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "Dark Savior (Europe) (Track 2).bin" BINARY
  TRACK 02 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
    INDEX 02 01:37:43
    INDEX 03 02:14:12
    INDEX 04 02:35:21
    INDEX 05 02:54:51
    INDEX 06 03:15:05
    INDEX 07 03:30:59
    INDEX 08 03:55:71
    INDEX 09 08:48:48
    INDEX 10 11:59:63
    INDEX 11 16:14:21
    INDEX 12 20:10:44
    INDEX 13 24:37:74


===================

CATALOG 0000000000000
FILE "Honkaku Hanafuda (Japan) (Track 1).bin" BINARY
  TRACK 01 MODE1/2352
    INDEX 01 00:00:00
FILE "Honkaku Hanafuda (Japan) (Track 2).bin" BINARY
  TRACK 02 MODE2/2352
    INDEX 00 00:00:00
    INDEX 01 00:03:00
FILE "Honkaku Hanafuda (Japan) (Track 3).bin" BINARY
  TRACK 03 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00
    INDEX 02 02:05:00
    INDEX 03 05:29:60
    INDEX 04 08:29:12
    INDEX 05 12:45:11



I'm wondering if there is something anyone can help me do to get these compatible with SBITools. I've already reached out to the author of that program, but he's got life issues that will likely prevent him from working on this tool further for the time being.

I don't get notifications from this forum, and i don't often check PMs here as a result. If you need to reach me, please just email me or contact F1ReB4LL.

The emulator BizHawk (https://github.com/TASVideos/BizHawk/releases/) comes with a tool called DiscHawk that also merges bin+cue files into ccd+img. You can try that.

ssjkakaroto wrote:

The emulator BizHawk (https://github.com/TASVideos/BizHawk/releases/) comes with a tool called DiscHawk that also merges bin+cue files into ccd+img. You can try that.


Thanks for that tip. I'm curious how it handles these strange multi-index track cue files that sbitools choked on.

I don't get notifications from this forum, and i don't often check PMs here as a result. If you need to reach me, please just email me or contact F1ReB4LL.