I have successfully compiled Lacklustre's EMS flasher using Cygwin. It's working perfectly on Windows 8.1 with my EMS 64M cartridge.
This should work on any Windows version where Cygwin and Zadig runs.
Cygwin might not be necessary if you have all the dependencies.
Instructions:
Install Cygwin and choose the following packages:
Libs: libusb1.0
Libs: libusb1.0-devel
Devel: pkg-config
Devel: gcc-core
Devel: make
Devel: git (optional, you can download the source from lacklustre.net)
Start Cygwin and clone the repo (or navigate to the downloaded directory):
git clone git://lacklustre.net/ems-flasher
Edit main.c line 252-254 (- remove, + add). Otherwise you will get a compilation error. (There might be other ways to deal with this.)
- tolower(opts.file[namelen - 3]) == 's' &&
- tolower(opts.file[namelen - 2]) == 'a' &&
- tolower(opts.file[namelen - 1]) == 'v') {
+ tolower((unsigned char)opts.file[namelen - 3]) == 's' &&
+ tolower((unsigned char)opts.file[namelen - 2]) == 'a' &&
+ tolower((unsigned char)opts.file[namelen - 1]) == 'v') {
Run make in the ems-flasher directory:
cd ems-flasher
make
If everything goes well, you will get an ems-flasher.exe binary in the same directory.
Connect your EMS cartridge to a USB port and install the latest WinUSB driver using Zadig (http://zadig.akeo.ie/).
If you have previously installed a driver for your EMS cart, click options - list all devices and select it in the list. This will overwrite the driver, so you will not be able to use the cart with other software unless you reinstall the old driver.
Warning! Don't overwrite the wrong driver e.g. your keyboard (will be problematic).
If you haven't previously installed a driver for the EMS cartridge, it should show up as "Unknown Device #1" or similar in Zadig (no need to list all devices).
Choose a name for the cartridge, make sure the latest WinUSB driver is selected and click the install button.
Now you should be able to run ems-flasher.exe. Connect the cartridge and e.g. backup your .sav:
./ems-flasher.exe --read --save lsdj.sav
Let me know if you get this working, or if you have any problems.
Last edited by Ledfyr (Oct 14, 2015 9:25 am)