You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-3Lines changed: 37 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,42 @@ Source code available at: https://github.com/putnam/binmerge
4
4
5
5
Tool to merge multiple bin/cue tracks into one.
6
6
7
+
## Usage
8
+
9
+
To get the command line help for binmerge, use `./binmerge --help`.
10
+
11
+
### Example: Merge a split image
12
+
13
+
To merge a set of bin files for a given cuesheet:
14
+
15
+
`./binmerge "/path/to/My Great Game.cue" "My Great Game (Merged)"`
16
+
17
+
This will create two new files, "My Great Game (Merged).bin" and "My Great Game (Merged).cue". These will be created alongside your existing files in the same directory unless specified otherwise.
18
+
19
+
To control the output directory, use the --outdir flag:
20
+
21
+
`./binmerge -o "/mnt/stuff/merged-games" "/path/to/My Great Game.cue" "My Great Game (Merged)"`
22
+
23
+
### Example: Split a merged image
24
+
25
+
If you want to reverse the process and create split files again, binmerge supports that. But do note, for some games, the Redump cuesheet contains information that binmerge cannot reasonably preserve when merging. If you're trying to get back to a pristine Redump set, you may want to download the freely available cuesheets available on Redump's web site.
26
+
27
+
To split a merged bin/cue:
28
+
29
+
`./binmerge --split --outdir "/mnt/stuff/split-games" "/path/to/My Great Game.cue" "My Great Game"`
30
+
31
+
This will create a new cue sheet and a series of .bin files, like this:
32
+
33
+
```
34
+
My Great Game.cue
35
+
My Great Game (Track 1).bin
36
+
My Great Game (Track 2).bin
37
+
```
38
+
39
+
As before, if `outdir` is not specified, the new files will be written alongside the existing files.
40
+
41
+
## Rationale
42
+
7
43
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.
8
44
9
45
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:
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.
35
71
36
-
`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.
72
+
`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 and does not touch your existing files.
37
73
38
74
Here is the new cuesheet generated by `binmerge` with the above example:
39
75
```
@@ -54,6 +90,4 @@ FILE "Big Buddy.bin" BINARY
54
90
INDEX 01 38:52:66
55
91
```
56
92
57
-
`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.
0 commit comments