Author Topic: Magic Lantern USB Installation Tool  (Read 9641 times)

petabyte

  • Freshman
  • **
  • Posts: 88
Re: Magic Lantern USB Installation Tool
« Reply #25 on: June 12, 2022, 09:22:05 PM »
Pre-release for 0.9:
Implemented ExFAT card flag writing (for Linux only)
Any testing and feedback is appreciated.

https://github.com/petabyt/mlinstall/releases/tag/0.9

petabyte

  • Freshman
  • **
  • Posts: 88
Re: Magic Lantern USB Installation Tool
« Reply #26 on: July 09, 2022, 04:26:41 AM »
Version 0.9.1 has been released.
https://github.com/petabyt/mlinstall/releases/tag/0.9.1
- Improved error messages and handling
- Added bound checks wherever possible
- Added ExFAT support
- Made drive code a lot better

The next release will be the final (and hopefully stable) 0.1.0.

Pelican

  • Contributor
  • Senior
  • *****
  • Posts: 408
Re: Magic Lantern USB Installation Tool
« Reply #27 on: July 23, 2022, 12:40:50 PM »
Why not 1.0.0?
EOS 7D Mark II, EOS 7D, EOS 5, EOS 100 + lenses (10mm to 300mm), 600EX, 550EX, YN600EX x 3
EOScard, EOS DSLR firmwares, ARMu, NiControl, etc.: http://pel.hu/down

petabyte

  • Freshman
  • **
  • Posts: 88
Re: Magic Lantern USB Installation Tool
« Reply #28 on: July 23, 2022, 09:36:30 PM »
I wanted to wait a while to see if anybody reports any bugs before I call it "officially stable".
In software 1.0.0 is generally considered to be a stable release.

petabyte

  • Freshman
  • **
  • Posts: 88
Re: Magic Lantern USB Installation Tool
« Reply #29 on: August 22, 2022, 04:40:19 PM »
For Mac users, or people who want a simpler version of mlinstall:
Here's a standalone python script to enable bootdisk flag:
https://github.com/petabyt/mlinstall/blob/master/boot.py
Untested.
In order to run:
pip3 install ptpy
python3 boot.py EnableBootDisk

petabyte

  • Freshman
  • **
  • Posts: 88
Re: Magic Lantern USB Installation Tool
« Reply #30 on: December 13, 2022, 10:34:03 PM »
Release 0.9.3
Now recommend win32 libusb filter installer over Zadig
https://github.com/petabyt/mlinstall/releases/tag/0.9.3

I spent a while working on a Windows driver for PTP, and finished it, but it's pretty much useless. I wrote it
with Wia (Windows image acquisition), and the win32 API seems to build a tree of all files on the SD card
when the device is opened, which takes around 5 minutes if your card if filled up. Other than that it works perfectly.

petabyte

  • Freshman
  • **
  • Posts: 88
Re: Magic Lantern USB Installation Tool
« Reply #31 on: Yesterday at 03:33:51 AM »
2023 Update:
I'm currently slowly working on a DLL that will help me interface with PTP devices on Windows natively.
I spent a lot of time writing code that will interface with the ancient WIA driver, but I had to scrap it because it was too slow.
This time, I'm interfacing with WPD (Windows Portable Devices). Like Wia, the driver is completely different compared to something like libusb.
WPD requires sending the command opcode, parameters, and data separately, letting Windows handle transaction IDs, and determining whether the response will have a data phase or not before sending the command. My camlib library is young enough for me to port it, but existing code may need major refactoring.

This DLL will be written in C++ and compiled with Visual Studio, and I will then host the binaries on Github.

Moving mlinstall from ptpcam to camlib will be relatively easy, but I might end up rewriting it the front end and trying another GUI library. GTK is nice but I'd like to try something different. Open to suggestions.