Author Topic: Lua Scripting (lua.mo)  (Read 215452 times)

Walter Schulz

  • Contributor
  • Hero Member
  • *****
  • Posts: 8120
Re: Lua Scripting (lua.mo)
« Reply #475 on: April 06, 2021, 12:28:38 PM »
You got a point (I missed that link) but kind of preaching to the choir.
https://www.magiclantern.fm/forum/index.php?topic=25760.msg233723#msg233723
https://www.magiclantern.fm/forum/index.php?topic=25785.0

Drop a note if you want participate in making this area a better place!

chris88

  • New to the forum
  • *
  • Posts: 40
Re: Lua Scripting (lua.mo)
« Reply #476 on: October 29, 2021, 12:12:12 AM »
Just wanna let you know (because there is the request to "report back" on the experimental page) the issues I discovered on my Canon 6D with the latest LUA Fix build (2020-12-28 18:15)

- Junkie Mode can not be activated by pressing "MENU" button
- DualIso LUA Module is not running. I constantly get "ISOless PH err(3)"
- In image review settings, the Quick erase via SET+Erase only works when there is a "Action type" defined in "play mode actions". If "Action type" is set to OFF but Quick Erase is still set, the quick erase does not work

Best regards,
Chris

chris88

  • New to the forum
  • *
  • Posts: 40
Re: Lua Scripting (lua.mo)
« Reply #477 on: October 29, 2021, 11:58:16 PM »
Just for the records how I as an Canon 6D V1.1.6 owner was able to enable the "Junkie Menu" and fixed the dual-iso error message:

Enable Junkie Menu
I added the following code line at the very end of the file /magic-lantern/platform/6D.116/features.h
Code: [Select]
#define FEATURE_JUNKIE_MENU


Fix the dual-iso error "ISOless PH err(3)"
I modified the following code lines in /magic-lantern/modules/dual_iso/dual_iso.c

Original:
FRAME_CMOS_ISO_START = 0x40452196; // CMOS register 0003 - for LiveView, ISO 100 (check in movie mode, not photo!)
...
PHOTO_CMOS_ISO_START = 0x40450E08; // CMOS register 0003 - for photo mode, ISO 100

Fixed:
FRAME_CMOS_ISO_START = 0x404e6196; // CMOS register 0003 - for LiveView, ISO 100 (check in movie mode, not photo!)
...
PHOTO_CMOS_ISO_START = 0x404e4e08; // CMOS register 0003 - for photo mode, ISO 100


Both things I found out by digging in the source code of different branches and searching through various forum threads. As always, everything you are doing, you are doing on your own risk. Don't blame me!