New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility with PlayStation 1 images #4

Open
nitro322 opened this Issue Aug 11, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@nitro322

nitro322 commented Aug 11, 2018

Hello. Was very excited to recently discover that bchunk is back under development. This tool has been invaluable for me, so thanks for all you work on this!

bchunk has always worked great for me, except for PlayStation 1 BIN/CUE images. It works fine for single-track images, but often fails on multi-track images. 1.2.2 actually improved that situation somewhat, but there are still some discs that I can't successfully convert to ISO.

Here's an example:

$ ls -l Breath\ of\ Fire\ III*
-rw-r--r-- 1 user user 442,938,048 2018-07-22 23:25 Breath of Fire III 01.bin
-rw-r--r-- 1 user user  37,396,844 2018-08-10 22:46 Breath of Fire III 02.wav
-rw-r--r-- 1 user user         184 2018-08-10 22:38 Breath of Fire III.cue

$ cat Breath\ of\ Fire\ III.cue
FILE "Breath of Fire III 01.bin" BINARY
  TRACK 01 MODE2/2352
    INDEX 01 00:00:00
FILE "Breath of Fire III 02.wav" WAVE
  TRACK 02 AUDIO
    INDEX 00 00:00:00
    INDEX 01 00:02:00

Note the size of the bin file compared to the wav. After converting:

$ bchunk Breath\ of\ Fire\ III\ 01.bin Breath\ of\ Fire\ III.cue test
binchunker for Unix, version 1.2.2 by Heikki Hannikainen <hessu@hes.iki.fi>
<SNIP>

Reading the CUE file:

Track  1: MODE2/2352    01 00:00:00
Track  2: AUDIO         00 00:00:00 01 00:02:00

Writing tracks:
 1: test01.iso    0/0    MB  [********************] 100 %
 2: test02.cdr  422/422  MB  [********************] 100 %

$ ls -l test*
-rw-r--r-- 1 user user     307,200 2018-08-10 22:46 test01.iso
-rw-r--r-- 1 user user 442,585,248 2018-08-10 22:46 test02.cdr

Note the size difference now - the ISO is only 300K, while the audio file is huge. It seems that bchunk isn't splitting these files at the correct point.

I've tested about 100 PS games with this. 20 of those fail, all with the same pattern - multi-track BIN/CUE images with the data track split at 300K and the rest prepended to the final audio track. I thought there may be a problem with the use of split files, instead of a single BIN image containing all data, but many of the working discs are also split files, including audio tracks. I'm not sure what about these fails.

Any chance you can look into this? Would appreciate it. Happy to provide any additional details or samples that my assist.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment