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.
I thought the PS1 needed a MODE2? I think data is for 2048 (2 Kilobytes), and 2353 is for audio (XA?).
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...
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.