1
0
Fork 0
mirror of https://github.com/putnam/binmerge.git synced 2025-04-20 00:48:06 +02:00
binmerge/README.md

60 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2015-11-23 22:48:45 -06:00
# binmerge
Source code available at: https://github.com/putnam/binmerge
2015-11-23 23:14:48 -06:00
Tool to merge multiple bin/cue tracks into one.
2023-09-08 05:31:58 -05:00
Sometimes discs are ripped in such a way that they have a separate bin file for every track. One example that I know of is the Redump project, specifically for the Playstation 1 or PSX.
2015-11-23 23:14:48 -06:00
2023-09-08 05:31:58 -05:00
Here is a cuesheet for the imaginary PSX game "Big Buddy". You can see it refers to several individual bin files, one for each track:
2015-11-23 23:14:48 -06:00
```
FILE "Big Buddy (Track 01).bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
FILE "Big Buddy (Track 02).bin" BINARY
TRACK 02 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Big Buddy (Track 03).bin" BINARY
TRACK 03 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Big Buddy (Track 04).bin" BINARY
TRACK 04 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
FILE "Big Buddy (Track 05).bin" BINARY
TRACK 05 AUDIO
INDEX 00 00:00:00
INDEX 01 00:02:00
...
```
2023-09-08 05:31:58 -05:00
Some software cannot read this style of disc image, because they only know how to work with a single bin file or are unable to properly parse cuesheets according to the standard.
2015-11-23 23:14:48 -06:00
2023-09-08 05:31:58 -05:00
`binmerge` reads a cuesheet and its associated series of bin files and generates a new, single merged bin file and cuesheet. It is completely non-destructive; it will not touch your existing files.
2015-11-23 23:14:48 -06:00
2023-09-08 05:41:24 -05:00
Here is the new cuesheet generated by `binmerge` with the above example:
2015-11-23 23:14:48 -06:00
```
FILE "Big Buddy.bin" BINARY
TRACK 01 MODE2/2352
INDEX 01 00:00:00
TRACK 02 AUDIO
INDEX 00 32:26:61
INDEX 01 32:28:61
TRACK 03 AUDIO
INDEX 00 35:43:29
INDEX 01 35:45:29
TRACK 04 AUDIO
INDEX 00 36:47:27
INDEX 01 36:49:27
TRACK 05 AUDIO
INDEX 00 38:50:66
INDEX 01 38:52:66
```
2023-09-08 05:42:16 -05:00
`binmerge` also supports reversing the process if you deleted the original files to save space. If you want to return to the split bin format you can instead pass a merged cue file with the `--split` parameter. However, for systems that have metadata tags (Dreamcast), these tags are currently not preserved by `binmerge` and will be missing. Complete cuesheet packs are available to download on Redump's site.
2015-11-23 23:14:48 -06:00
Have fun!