digarok / buckshot

Desktop image tool to convert modern (JPG/PNG/etc) images for use with Apple ][ computers.
https://apple2.gs/buckshot
GNU Lesser General Public License v3.0
27 stars 4 forks source link

Save to ProDOS image fails - Cadius missing Debug DLL #18

Open tingtron opened 1 year ago

tingtron commented 1 year ago

When attempting to save to ProDOS image, there is an error:

Failed creating image with command: C:/Tools/buckshot/cadius CREATEVOLUME C:/Tools/buckshot/test.po test 140KB

When running the above command from command line, getting an error: image

This D version of vcruntime140d.dll is a Debug version, which is not present on Windows PCs unless Visual Studio is installed.

Would it be possible to re-compile Cadius in Release mode?

💡Workaround: Copy Cadius from its distribution.

Also 140KB is not a valid size for Cadius (which is wrong, but it gives an error): Error : Invalide volume size : '140KB'. So if you recompile it, maybe you could change near line 863 to say < 140: if(param->new_volume_size_kb <= 143 || param->new_volume_size_kb > 32768)