buckshot icon indicating copy to clipboard operation
buckshot copied to clipboard

When saving to ProDOS image, user error in extension can cause cadius failure.

Open digarok opened this issue 4 years ago • 2 comments

To reproduce:

  • Save image to ProDOS
  • When giving the image filename, give any extension besides .po .2mg .hdv

Save will fail with error but it's not clear what failed unless you run from cli. Then you can see it's related to the "unknown extension".

Better to check the extension in Qt, I suppose.

digarok avatar Jul 17 '20 14:07 digarok

It seems like the OSX version appends ".po" if you choose an invalid extension so now I need to compare behaviors across the platforms to see if that's not universally the case. Personally, I'd rather not auto-append ".po" because it leads to confusion when the user thinks they made PIC.DSK but Buckshot sneakily writes it as PIC.DSK.po. 👎

digarok avatar Jul 20 '20 14:07 digarok

about win version 0.5, i had to import vcruntime140d.dll and ucrtbased.dll into tool's folder to create disk image. but as OP said, i could only know these 2 missing dlls after trying Cadius.exe from Cli. (it showed the name of missing file in popup error window).

while ver.0.4 which could be downloaded from official site seems to work without any problem.

kuigit avatar Feb 10 '21 12:02 kuigit