Some SAP files aren't recognised by the HxC converter (linux version). For example the MO5 DOS disk (rather annoying...)
http://www.logicielsmoto.com/download.php?fileid=488
HxC convert and SAP files.
Re: HxC convert and SAP files.
mhh ? works well with the windows version and with the cygwin compiled version.pulkomandy wrote:Some SAP files aren't recognised by the HxC converter (linux version). For example the MO5 DOS disk (rather annoying...)
http://www.logicielsmoto.com/download.php?fileid=488
what is your linux ?
Re: HxC convert and SAP files.
@pulko: maybe your patch have a side effect?
-
- Posts: 132
- Joined: Sun Mar 20, 2011 6:55 pm
Re: HxC convert and SAP files.
Running a 64-bit debian "sid".
Linux Akina 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
With gcc 4.6.1.
Reverted the patch to make sure (with a make clean), and I get the same result...
The .fd version from dcmoto.free.fr doesn't work either.
I can provide an ssh access to this computer if you want to test.
Linux Akina 3.0.0-1-amd64 #1 SMP Sat Aug 27 16:21:11 UTC 2011 x86_64 GNU/Linux
With gcc 4.6.1.
Reverted the patch to make sure (with a make clean), and I get the same result...
The .fd version from dcmoto.free.fr doesn't work either.
I can provide an ssh access to this computer if you want to test.
-
- Posts: 132
- Joined: Sun Mar 20, 2011 6:55 pm
Re: HxC convert and SAP files.
SAP bug found:
...
strtolower(filepath)
...
sap_openarchive(filepath)
Sorry, but some of my files do have uppercase names.
Solution :
sap_openarchive(imgfile) // the original file name
Also noticed:
instead of using strlen + malloc + sprintf to copy a string, you can use strdup which does it in only one call.
...
strtolower(filepath)
...
sap_openarchive(filepath)
Sorry, but some of my files do have uppercase names.
Solution :
sap_openarchive(imgfile) // the original file name
Also noticed:
instead of using strlen + malloc + sprintf to copy a string, you can use strdup which does it in only one call.
Re: HxC convert and SAP files.
oh ok i seepulkomandy wrote:SAP bug found:
...
strtolower(filepath)
...
sap_openarchive(filepath)
Sorry, but some of my files do have uppercase names.
Solution :
sap_openarchive(imgfile) // the original file name
Also noticed:
instead of using strlen + malloc + sprintf to copy a string, you can use strdup which does it in only one call.
will correct this on the trunk.
Re: HxC convert and SAP files.
Done !
Thanks for the debug session. (under windows/cygwin the file system isn't case sensitive... )
Thanks for the debug session. (under windows/cygwin the file system isn't case sensitive... )