No loader support the file c:\AkaiS2000\osimage.img !

General discussion forum - for all that doesn't fit in any other category.
Post Reply
pascalc
Posts: 10
Joined: Wed Jan 27, 2016 10:47 pm

No loader support the file c:\AkaiS2000\osimage.img !

Post by pascalc »

Hi,

I am trying to use the command line interface in order to integrate hxcfe with another application.

Unfortunately I'm not able to load my AKAI floppies command line while they load perfectly and work well using the GUI.

I have tried several different calls to the tool but nothing has worked. This is what I think the command should look like:

c:\HxCFloppyEmulator_soft\Windows>hxcfe -finput:c:\AkaiS2000\osimage.img -uselayout:AKAIS3000_HD -usb:
HxC Floppy Emulator : Floppy image file converter
Copyright (C) 2006-2016 Jean-Francois DEL NERO
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions;

libhxcfe version : 2.8.9.4

Input file : c:\AkaiS2000\osimage.img
Starting usb emulation - c:\AkaiS2000\osimage.img
Starting CPLDFloppyEmulator Hw manager...
Loading ftd2xx.dll...
FTDI library loaded successfully!
Device ok !
Checking c:\AkaiS2000\osimage.img
snes_smc_libIsValidDiskFile : unknow file type !
No loader support the file c:\AkaiS2000\osimage.img !
Stopping HxCFloppyEmulator...

There seems to be no loader that supports my raw AKAI image. However when using the GUI it obviously finds a suitable loader.

Is there any way to find out which loader is used by the GUI? In the log perhaps?
Am I missing anything on the command line?

Any help is appreciated
/Pascal

pascalc
Posts: 10
Joined: Wed Jan 27, 2016 10:47 pm

Re: No loader support the file c:\AkaiS2000\osimage.img !

Post by pascalc »

Hi again,

I am not sure if I have completely understood how the command line interface works but as far as I can understand this functionality is not currently available. I needed to set a layout and then load a raw floppy image.

I have made a pull request (in Github) that solves this. With this patch the user can run the following command line:

hxcfe -uselayout:AKAIS3000_HD -finput:c:\AkaiS2000\osimage.img -usb:

-uselayout will in this case cause the application load a raw image based on the given layout just as the "Load raw image" window does.

Here is the link to the pull request: https://github.com/jfdelnero/HxCFloppyE ... ine/pull/2

BR
/Pascal

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: No loader support the file c:\AkaiS2000\osimage.img !

Post by Jeff »

Thanks !
Merged!
:)

pascalc
Posts: 10
Joined: Wed Jan 27, 2016 10:47 pm

Re: No loader support the file c:\AkaiS2000\osimage.img !

Post by pascalc »

Thanks Jeff!

When will this patch be available in a beta build?

I wasn't sure if I should use Sourceforge or Github. Which one is integrated with your build system?

Is there any documentation for the CLI? I could perhaps then add some description about the change there.

BR
/Pascal

Jeff
Site Admin
Posts: 8092
Joined: Fri Oct 20, 2006 12:12 am
Location: Paris
Contact:

Re: No loader support the file c:\AkaiS2000\osimage.img !

Post by Jeff »

pascalc wrote:Thanks Jeff!

When will this patch be available in a beta build?
This is available since some days ! :wink:

Post Reply