Useful Python scripts for handling PlayStation/PlayStation2 CD images.

Discussion in 'Sony Programming and Development' started by l_oliveira, Apr 24, 2012.

  1. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    This one strips ECC/ECD data from a CDRWIN image.
    This one strips ECC/ECD data from a Alcohol 120% image (.MDF).
    The output is a plain 2048 bytes per sector (MODE1) image.

    Keep in mind that some PS1 software might end damaged with this kind of conversion. This helps mostly with PS2 CD-ROM images.

    As a gift for everyone, this one converts .000 images generated with SONY PS2 CDVDGEN to 2048 MODE1.

     
  2. H360

    H360 Familiar Face

    Joined:
    Mar 5, 2011
    Messages:
    1,474
    Likes Received:
    1
    I thought the PS1 needed a MODE2?

    I think data is for 2048 (2 Kilobytes),
    and 2353 is for audio (XA?).
     
    Last edited: Apr 30, 2012
  3. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    These scripts are for stripping extra data and keeping only the actual data for the ISO.

    For example, if you use PS1 or PS2 CDVDGEN from SONY to build a CD image, it will be 2356 bytes per sector, which is a non standard format. It's useless for anything but SONY own burning tool CDREC/CDVDREC. So if you strip the data with this script then rebuild with CDMAGE as BIN/CUE for recording, the resulting image should work with any CD recording software... :)
     
    Last edited: Apr 30, 2012
  4. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    Could you please explain how you use these scripts??
     
  5. l_oliveira

    l_oliveira Officer at Arms

    Joined:
    Nov 24, 2007
    Messages:
    3,879
    Likes Received:
    245
    Sure...

    Imagine you have a BIN/CUE image of a PS2 CD game such as Gradius 3 and 4 and want to install it to the PS2 HDD.

    HDL uses 2048/sector regardless of disc type because it's ultimately what the PS2 wants out of the disc. Needing the extra ECC/EDC data on the disc are requirements of the CD/DVD drive hardware.

    So you take the bin file and name as "in.bin" then double click the script file. If you have the python interpreter installed on your PC you should shortly have a file named out.iso on the same folder. Open it with a image browser (Winrar can open 2048bytes/sector ISO files just fine) and if it opens correctly, it is now converted.

    Same apply for the other two examples which are for Alcohol 120% and SONY CDVDGEN files.
     
  6. PS2Guy

    PS2Guy Lost in the neverending abyss.

    Joined:
    Jan 18, 2011
    Messages:
    552
    Likes Received:
    2
    Cool thanks. I'll give it try.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page