disk-utilities icon indicating copy to clipboard operation
disk-utilities copied to clipboard

Generate IPF from raw KF stream ("Failed to probe input file")

Open TiBeN opened this issue 2 years ago • 4 comments

Hi,

I would like to convert a raw KF stream image to IPF. I just discovered this tool which seems to handle this but can't make it works. I have a set of Kryoflux track*.*.raw files which seems to be supported by disk-analyze.

I tried the dumb approach of executing:

$ disk-analyze ./track00.0.raw ./myoutput.ipf

but disk-analyse outputs:

Failed to probe input file: ./track00.0.raw

Source is an IBM PC floppy image (fetched somewhere from archive.org, i can give links if needed).

I'm sure i don't use the tool like it is supposed. How this tool is supposed to work with KF raw images as input ? I can't really find any examples or documentation.. I tried with ./*.raw as input file as well with same result. I tried another set of raw files. These files are correctly read using DTC (Kryoflux tool), HxC Soft, Aufit tools, so they are not corrupted. I compiled myself disk-analyse with capsimage and tried the Arch Linux AUR package version as well (i'm on Arch.)

EDIT: Tried using "-f ibm_mfm_dd" as well

Thanks in advance

TiBeN avatar Jan 14 '24 13:01 TiBeN

Sorry, with disk-analyse you specify the KF stream filename "stem". In this case ./track

But the tool will only generate a useful IPF if the disk format is fully understood. That's okay if your disk is a regular PC disk (say 720k or 1.44M for example). But if it's copy protected you're out of luck because disk-analyse doesn't know any PC copy protections -- it's a quite an Amiga-centric tool.

For a regular non copy-protected disk this should work for you

$ disk-analyse --format=ibm ./track ./myoutput.ipf

keirf avatar Jan 14 '24 13:01 keirf

Okay , i was pretty convinced it was an cmd input issue. Its works now. Thank you for your quick answer.

Yeah you are right that's pretty what i'm trying to do: reproducing a copy protected IBM PC disk. I'm really discovering this wonderful world and i may be completelly wrong as i'm far from mastering every aspects. But if i know that a specific sector has "weak bits", is it possible to tell to disk-analyse that a specific sector is weak ? (it seems IPF specification supports this).

Sorry if what i say is wrong , i'm in the learning process to understand floppy storage..

TiBeN avatar Jan 14 '24 13:01 TiBeN

There is a better tool for copy-protected "IBM sector" formats, and that is SAMdisk. Unfortunately it can't generate IPF, but it can generate EDSK, which is a useful format itself for some applications. Yes it would be great if disk-analyse grew some general knowledge about a few of the common types of IBM-sector-based copy protection, but it doesn't have that currently and the only development on the tool currently is really filling in the gaps for Commodore Amiga.

keirf avatar Jan 14 '24 15:01 keirf

ok. I'll take a look at SAMdisk. Thank you for your feedback.

TiBeN avatar Jan 14 '24 17:01 TiBeN