This one strips ECC/ECD data from a CDRWIN image.
This one strips ECC/ECD data from a Alcohol 120% image (.MDF).preblock = 24
block = 2048
crc = 280
out = open("out.iso","wb")
input = open("in.bin","rb")
while True:
data = input.read(preblock)
data = input.read(block)
if not data: break
out.write(data)
input.read(crc)
out.close()
The output is a plain 2048 bytes per sector (MODE1) image.preblock = 24
block = 2048
crc = 376
out = open("out_mdf.iso","wb")
input = open("in.mdf","rb")
while True:
data = input.read(preblock)
data = input.read(block)
if not data: break
out.write(data)
input.read(crc)
out.close()
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.
preblock = 20
block = 2048
crc = 280
out = open("out.iso","wb")
input = open("in.bin","rb")
while True:
data = input.read(preblock)
data = input.read(block)
if not data: break
out.write(data)
input.read(crc)
out.close()



Reply With Quote




Bookmarks