Menu

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.

Show posts Menu

Messages - petabyte

#76
I assume you saw https://www.magiclantern.fm/forum/index.php?topic=17969.msg233693#msg233693 ?
Not sure if you are doing it incorrectly or it doesn't work on your model for some reason.

Also, It may eventually be ported to version 1.2.0.
(https://bitbucket.org/ccritix/magic-lantern-git/src/0dc9b73b37356575460576525de2ca2f8e3e0900/platform/1300D.120/?at=branches%2F1300D?)
#77
General Development / Re: Translating Menus
September 04, 2021, 04:56:32 AM
Yeah, whenever a string is changed, MLT won't change anything. I've had some ideas
on how I could make it less frequent, but it's definitely an unavoidable issue. Honestly, having
a few untranslated strings here and there doesn't seem like it would be that bad.

Do you have any idea on how often a menu string is changed?
#78
General Development / Re: Translating Menus
September 04, 2021, 01:20:39 AM
> Longer term it might be better to have this in the main code, not a module?
So that would require changing all of the menus? Sounds like a ton of work.
#79
General Development / Re: Translating Menus
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?
#80
General Development / Translating Menus
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.
#81
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.
#82
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.
#83
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.
#84
I was able to reproduce it on Windows 10. Looking for a solution...
#85
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
#86
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])`
#87
Quote from: Ant123 on July 19, 2021, 07:58:08 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?
#88
Interesting, do you know why?
#89
I guess not, assuming Canon didin't change the command ID or anything.
#90
Not that I know of. I guess the safe way to check would be looking for the string "ExecuteEventProc" in a ram dump.
#91
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.
#92
MLinstall is a Windows/Linux utility that makes it easier to install Magic Lantern.

Read more: https://danielc.dev/mlinstall
Download: https://github.com/petabyt/mlinstall/releases

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)
#93
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.
#94
Yes, 1.1.0.
#95
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.
#96
Modules Development / ML Tetris (mltetris.mo)
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:

https://www.youtube.com/watch?v=F0wOXCJyLEw
#97
I believe the same question was answered in the last page.
https://www.magiclantern.fm/forum/index.php?topic=17969.400
#98
I had figured that out, but thanks. I had to press A.
#99
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.
#100
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.