Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - petabyte

Pages: 1 2 3 [4] 5
76
General Development / Re: Translating Menus
« on: September 03, 2021, 04:19:15 PM »
I assumed you copied the `mlt_es` file into the ML folder and renamed it as `es`?
Although If the menus were empty, then it's a bug, since it shouldn't do
anything if there is no file. Could you possibly send me a ROM dump for debugging?

77
General Development / Translating Menus
« on: September 03, 2021, 05:34:53 AM »
A while ago I made a proof of concept patch for a Spanish translation of Magic Lantern.
Today I converted it to a module that should work on all versions of ML.

Here it is: https://github.com/petabyt/mlt

Of course, it's very unfinished and unpolished, but I think this could be useful.

Public Volunteer Translation:
French: https://docs.google.com/document/d/14A0eS9CKrAxoJHmEkFWCfA-011OPeWJIFAH7dp3Stx8/edit?usp=sharing
German: https://docs.google.com/document/d/1munmZIPLASBq0aGodO7J9vumgD9TcqnhCKuxYtc72Y8/edit?usp=sharing
Spanish: https://docs.google.com/document/d/1cg7afAO2GxoiJX2iHze2Ntu36CBteEo_miUcJ_kXG7c/edit?usp=sharing

78
General Development / Re: Magic Lantern USB Installation Tools
« on: August 26, 2021, 04:41:56 PM »
Experiment for a "one click install": https://diode.zone/w/5BDpMTeBhgZ4mEVXu6QRQj
Plug in camera + SD card, and click a button to fully install Magic Lantern.

PTP is used to detect model/firmware version, and the correct Magic Lantern build
is unzipped into the SD card. The bootdisk flag and the card flags are written as well.

Also see the Github issue: https://github.com/petabyt/mlinstall/issues/2

This is just a proof-of-concept to see if it would work. It won't be released any time soon, if
it is released at all. Feedback/ideas for this are welcome.

79
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: August 09, 2021, 03:49:21 AM »
Hi all, for some reason I never saw these messages.

Solution for the Windows libusb issue: https://www.magiclantern.fm/forum/index.php?topic=26162.msg236405#msg236405

I had mentioned using Zadig in an earlier release, but I thought the new codebase I
used (ptpcam) fixed this issue (I forgot I had libusb installed in my VM), and never gave it much thought after that.

80
General Development / Re: Magic Lantern USB Installation Tools
« on: August 09, 2021, 03:44:41 AM »
Apparently I forgot that I had installed libusb in my Windows 7 testing VM, so
I wasn't aware of this issue.

A quick solution is to download Zadig (https://zadig.akeo.ie/) and replace WinUSB with
libusb-win32. Here's a GIF animation showing exactly what to do:
https://petabyt.github.io/mlinstall/MANUAL#no-ptpusb-device-found

If this doesn't work, please let me know.

81
General Development / Re: Magic Lantern USB Installation Tools
« on: August 08, 2021, 09:45:16 PM »
I was able to reproduce it on Windows 10. Looking for a solution...

82
General Development / Re: Magic Lantern USB Installation Tools
« on: August 04, 2021, 07:30:25 PM »
I've added a few more features to the app:
- Redo UI with a GTK "notebook"
- Add "Make card scriptable"
- Add "Make card un-scriptable"
- Add credits and license
- Add button hints
- Better error messages

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

83
General Development / Re: Magic Lantern USB Installation Tools
« on: July 19, 2021, 09:36:06 PM »
Yes, I think you can send integer arguments simply via the standard PTP arguments.

I've set up https://github.com/petabyt/sequoia-ptpy to work like this:
`camera.eos_run_command("EnableBootDisk", [1, 2, 3])`

84
General Development / Re: Magic Lantern USB Installation Tools
« on: July 19, 2021, 08:24:19 PM »
I already found that the command 0x9052 becomes available after calling the command 0x9050 three times.

Have you tried calling 0x9052 after doing that?

85
General Development / Re: Magic Lantern USB Installation Tools
« on: July 19, 2021, 07:59:45 PM »
Interesting, do you know why?

86
General Development / Re: Magic Lantern USB Installation Tools
« on: July 19, 2021, 07:21:42 PM »
I guess not, assuming Canon didin't change the command ID or anything.

87
General Development / Re: Magic Lantern USB Installation Tools
« on: July 18, 2021, 06:38:30 PM »
Not that I know of. I guess the safe way to check would be looking for the string "ExecuteEventProc" in a ram dump.

88
General Development / Re: Magic Lantern USB Installation Tools
« on: July 18, 2021, 04:20:32 AM »
I think it should be pretty easy to get it to work. But the only Mac I have is an old iMac G4, which is probably too old.

The old python version (https://github.com/petabyt/mlinstall/tree/python-stable) should work on it.

89
General Development / ML USB Installation Tool
« on: July 18, 2021, 01:14:50 AM »


MLinstall is a Windows/Linux utility that makes it easier to install Magic Lantern.
Features:
  • Enable and disable bootdisk via USB
  • Write and destroy card boot flags without formatting card
  • Works on FAT16, FAT32, and ExFAT
  • Run EvProcs (with parameters) via USB
  • App Store - Installs modules into card from online database
  • Experimental one click ML install

Download: https://github.com/petabyt/mlinstall/releases

Windows Users:
You will need to run Zadig and install libusb0.
https://petabyt.github.io/mlinstall/MANUAL#no-ptpusb-device-found

It's a good idea to revert the changes when you are done: https://youtu.be/oY4RbCaadrc?t=123

Old post:
I've been working on a utility that should help with installing Magic Lantern.
Source code: https://github.com/petabyt/mlinstall

It currently can:

- Run Canon event procedures:
Based on some research in https://github.com/petabyt/sequoia-ptpy, I've
gotten Canon's `0x9052` PTP command to work properly. This allows for
commands like "EnableBootDisk" and "DisableBootDisk" to be run via PTP.
I think this command is standard on almost all Canon cameras, so it
could possibly replace custom firmware files. (?)

- Card Tools:
I've also added a card flag enabler (bootdisk, canon basic), and an
option to disable them without reformatting card.
(just writes an underscore on the first character of each)

90
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: June 29, 2021, 08:44:44 PM »
A few days ago, I figured out how to get it working 100% of the time. (I think, at least from my 100 or so stress tests)
(It wasn't a timing error or anything, all I did was append ~30 zeros to the string)

I've also made a portable Windows/Linux front-end: https://github.com/petabyt/mlinstall

Although beware, this command is undocumented and I have yet to see the code behind it. Try at your own risk.

Edit: See the https://www.magiclantern.fm/forum/index.php?topic=26162.msg236153 thread.

91
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: June 08, 2021, 07:42:32 PM »
Yes, 1.1.0.

92
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: June 04, 2021, 03:09:43 AM »
I'm working on getting Picture Transfer Protocol (USB) to enable the boot flag.
Here is a working demo: https://github.com/petabyt/sequoia-ptpy

It's highly unstable, and takes around 30 or so attempts in order to
get a OK response from the camera.

I've only been able to test it on the 1300D, but I think this
might work on all Canon DSLRs.

93
Modules Development / ML Tetris (mltetris.mo)
« on: May 26, 2021, 02:46:14 AM »
Source code: https://github.com/petabyt/mltetris
Download: https://github.com/petabyt/mltetris/releases/download/0.1.0/mltetris.mo

Of course, I was too lazy to actually write the game myself, so I ported somebody
else's code. (http://spritesmods.com/?art=zx3hack, GPL3)

Demonstration:


94
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: March 29, 2021, 06:58:05 PM »
I believe the same question was answered in the last page.
https://www.magiclantern.fm/forum/index.php?topic=17969.400

95
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: January 30, 2021, 08:28:14 PM »
I had figured that out, but thanks. I had to press A.

96
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: January 24, 2021, 03:09:54 AM »
I've been using arm gcc 5.4.1. I set CONFIG_QEMU, but nothing changed.
Recording just to be sure: http://petabyte.heb12.com/filedump/ml_foo.mp4

Also I was a bit confused on the building process. Do I run `make install_qemu`?
You previously said "make autoexec.bin" and then run it in QEMU.

Edit: I think I got it working right. I got the ML UI working.

97
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: January 21, 2021, 08:09:42 PM »
I repulled and recompiled, still "Memory card containing firmware is required to update." when trying to load 1.1.0-ml-nightly. Is this as expected?
The minimal hello world seems to run though.

98
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: January 21, 2021, 07:27:39 PM »
That is when I run the firmware from the update option in the Canon ROM

99
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: January 21, 2021, 07:21:34 PM »
Yes. It says it is 1.1.0 in the log file.

100
Camera-specific Development / Re: Canon EOS 1300D / Rebel T6
« on: January 21, 2021, 05:57:16 PM »
Thanks, method B worked first time. Trying to load the firmware returns "Memory card containing firmware is required to update." though.

Log: https://petabyte.heb12.com/filedump/1300d%20log

Pages: 1 2 3 [4] 5