Hi, i succeeded dump_md.py and upload.py on windows. On windows version of python there is no os.fork(), so i used subprocess instead to start sox. Also, "from Crypto.Cipher import DES" and "from Crypto.Cipher import DES3" in libnetmd.py doesn´t work, i used "from Crypto.Cipher import __all__" instead, which works. Requirements: latest version of python-libusb1 from Vincent : http://github.com/vpelletier/python-libusb1/tree/ python2.6 (installer package): http://www.python.org/ftp/python/2.6.6/python-2.6.6.msi PyCrypto (installer package) : http://www.voidspace.org.uk/downloads/pycrypto-2.1.0.win32-py2.6.zip zadig.exe (WinUSB driver installer) : http://libusb-winusb-wip.googlecode.com/files/zadig.exe libusb windows backend : http://libusb-winusb-wip.googlecode.com/files/libusb_2010.10.14.7z sox : http://sourceforge.net/projects/sox/files/sox-win/14.3.1/ attached patches To test it you can follow these steps: - install python, PyCrypto and sox via installer package - connect your Net MD device and start zadig.exe. Use "Options/List all devices", choose your Net MD device an klick "Install Driver" - replace usb1.py and libusb1.py in netmd subdirectory with the letest python- libusb1 versions - copy libusb1.0.dll from libusb windows backend package to your windows/system32 folder (usually C:\WINDOWS\system32) Use the version according to your OS, MINGW32 version woks fine for me on Windows XP SP3. - open console window(cmd.exe) - type "set PATH=C:\<sox install dir>;%PATH%" to add the path of sox.exe temporarely (<sox install dir> means the path to your sox installation directory, usually C:\sox-14-3-1) To use it permanently you can add the path to your system variables. - change into your linux-minidisc folder and apply the patches attached on these mail - change into netmd subdir and start the scripts by their name (just type "dump_md.py", "upload.py", ...) with parameters if needed There are some problems converting the .aea files uploaded by upload.py with ffmpeg (i used latest win binary), i am not sure if it´s an error of the uploaded files or an error of ffmpeg, but i´m working on ;) Regards, Thomas
Attachment:
0001-changed-dump_md.py-to-work-with-windows.patch
Description: Binary data
Attachment:
0002-changed-import-of-Crypto.Cipher.patch
Description: Binary data