michaelortmann / bin2iso

bin2iso converts RAW format (.bin) files to ISO/WAV format.
MIT License
7 stars 1 forks source link

.iso files produced are broken #5

Open dbedrenko opened 2 months ago

dbedrenko commented 2 months ago

I've been trying to use bin2iso to convert a CD-based Playstation 2 game into an .iso format which is needed for PS2's OPL program to load the game.

All 15 .bin/.cue games that I've tried over the past 4 hours have failed to even be detected as a valid ISO game. Meanwhile using bchunk produced a working .iso for all of them.

Consider the original files:

$ ls -al Mahjong\ Haou\ -\ Battle\ Royale\ \(Japan\).*
-rw-r--r-- 1 danb danb 40767216 Dec 24  1996 'Mahjong Haou - Battle Royale (Japan).bin'
-rw-r--r-- 1 danb danb      102 Dec 24  1996 'Mahjong Haou - Battle Royale (Japan).cue'

This is the file that bchunk produces:

-rw-r--r-- 1 danb danb  35497984 Apr 20 07:10 'Mahjong Haou - Battle Royale (Japan)01.iso'

This is the file that bin2iso produces:

-rw-r--r-- 1 danb danb  40767216 Dec 24  1996 'Mahjong Haou - Battle Royale (Japan)-01.iso'

Notice that there's a full 5 megs difference between the 2 .iso files. bin2iso is doing something very different... and the .iso file produced does not work.

I list below the commands I used to produce the .iso files.

$ f="Mahjong Haou - Battle Royale (Japan)"; bchunk "$f.bin" "$f.cue" "$f"
binchunker for Unix, version 1.2.2 by Heikki Hannikainen <hessu@hes.iki.fi>
        Created with the kind help of Bob Marietta <marietrg@SLU.EDU>,
        partly based on his Pascal (Delphi) implementation.
        Support for MODE2/2352 ISO tracks thanks to input from
        Godmar Back <gback@cs.utah.edu>, Colas Nahaboo <Colas@Nahaboo.com>
        and Matthew Green <mrg@eterna.com.au>.
        Released under the GNU GPL, version 2 or later (at your option).

Reading the CUE file:

Track  1: MODE2/2352    01 00:00:00

Writing tracks:

 1: Mahjong Haou - Battle Royale (Japan)01.iso   33/33   MB  [********************] 100 %
$ bin2iso Mahjong\ Haou\ -\ Battle\ Royale\ \(Japan\).cue 

Aug 26 2021, 08:56:50
bin2iso V1.9b - Converts RAW format (.bin) files to ISO/WAV format
               Bob Doiron, ICQ#280251

Check for updates at http://users.andara.com/~doiron

Note: Appending pregap data to end of audio tracks

Mahjong Haou - Battle Royale (Japan)-01.iso ( 38 Mb) - sectors 000000:017332 (offset 000000000:040767215)

Mode2/2352 single track bin file indicated by cue file
Mahjong Haou - Battle Royale (Japan).bin renamed to Mahjong Haou - Battle Royale (Japan)-01.iso
HVR88 commented 2 months ago

As mentioned in the other issue:

bchunk is the only way to convert a batch of PS2 bin to iso. Despite hours of searching on multiple occasions, I can't find any other batch tool that will do the job on any OS/platform.

If you're using a PS2 HDD in the PS2 proprietary format you can load the bin/cue files directly to it with Winhiip or other obsolete software. Pretty much every Windows-based software mentioned in any PS2 "scene" site is obsolete, and even worse, 100% complete garbage.