M-Film: film simulation for Canon EOS cameras with Magic Lantern. 72 film stocks (Portra, Velvia, Tri-X, CineStill…), a film-camera interface and an in-camera darkroom that develops your RAWs. 5D Mark III, 6D, 600D, 650D, 700D, EOS M and more.
C analog-photographycamera-firmwarecanoncanon-5d-mark-ivcanon-5dmark2canon-6dcanon-eoscr2darkroomeos-mfilm-emulationfilm-lookfilm-photographyfilm-simulationfujifilm-recipeskodak-portralutmagic-lanternphotographyraw
# Push the ML fork (WSL: ~/ml/magiclantern_simplified, branch film-mode) to
# its private GitHub repo. Git in WSL has no GitHub login, so the branch goes
# through a bare repo on the Windows side and is pushed from there with the
# gh credentials.
# powershell -File push_fork.ps1
$ErrorActionPreference = "Stop"
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$bare = Join-Path $here "out\mlfork.git"
$remote = "https://github.com/HNGSeries/magiclantern-eosm-film.git"
if (-not (Test-Path $bare)) { git init -q --bare $bare }
$bareWsl = (wsl -d Ubuntu -u root -- wslpath -a "$bare") -replace "`0", ""
wsl -d Ubuntu -u root -- git -C /root/ml/magiclantern_simplified push -q --force "$bareWsl" film-mode:film-mode
if ($LASTEXITCODE) { throw "WSL -> bare repo push failed" }
git -C $bare push $remote film-mode:film-mode
if ($LASTEXITCODE) { throw "push to GitHub failed" }
Write-Output "film-mode pushed to $remote"