Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TiBeN opened this issue Jan 14, 2024 · 4 comments
Open

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

TiBeN opened this issue Jan 14, 2024 · 4 comments

Comments

@TiBeN
Copy link

TiBeN commented Jan 14, 2024

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

@keirf
Copy link
Owner

keirf commented Jan 14, 2024

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

@TiBeN
Copy link
Author

TiBeN commented Jan 14, 2024

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..

@keirf
Copy link
Owner

keirf commented Jan 14, 2024

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.

@TiBeN
Copy link
Author

TiBeN commented Jan 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants