Plainly
Who made this, and who didn't
M-Film is HNGSeries' project. It owns the name, the camera application, the film stocks and every decision about them. Its repository is HNGSeries/mfilm-canon-film-simulation, its own site is mfilm.app — where the camera runs in a browser, on a drawing of an EOS M — and its own line for the whole thing is Your Canon, shot like film.
I am a contributor to it. I have sent the work below as pull requests, seven of which the project merged into its main branch, and I keep a fork where the rest of it lives. I am not its maintainer and I don't own it: I can propose, the project decides. If anything here disagrees with the project, the project is right and this page is out of date.
This page is not official and is endorsed by nobody. It is here because a contributor's account of a project is a different thing from the project's own, and both are worth having.
What M-Film is
A film camera's interface, for Canons that run Magic Lantern
The camera gets a film mode. You load a roll: a canister is picked from a shelf of 68 film stocks and a length — 36, 24 or 12 exposures — and the camera sets itself up for that film, and keeps what film it is. Then you shoot without looking at the screen, because a film camera has nothing to show you, and the camera records the roll so that something else can develop it later. Development happens in the camera's own darkroom, slowly, or on a computer with Darkrooms, the desktop developer the project pairs with it.
The darkroom inside the camera is real: it is the film's curve, its colour, its grain and its halation, drawn from the stock's own table rather than from a filter laid over a digital picture.
The screens on this page are M-Film's own, at the 720 × 480 its interface draws into. They are renders of its code rather than photographs of a camera, so the clock and the battery on them are the simulator's.
Sixty-eight films, on four shelves — colour, slide, black and white, and cine — each with the process it is developed in, the ISO it is, and a line saying what it is like. Thirteen Canon bodies that run Magic Lantern work; the project's own count is two with a problem and one still being tested.
The camera side is free and open, under GPL-2.0 — that is the half of M-Film that is in the repository. The desktop developer it pairs with is not open.
What I contributed
Eighteen commits, seven merged pull requests
Between 21 and 29 November 2026, eighteen commits of mine were merged into M-Film's main branch, in seven pull requests: #188, #197, #205, #206, #215, #216 and #225. Most of the work is the camera's darkroom — the half that develops a roll inside the camera — with the film mode, the tests and the documentation around it.
The darkroom's grain
The darkroom draws grain the way a print has it, and the work was to make that grain correct rather than merely present. The grain is drawn once into a plate — a window of grain built once and reused across the frame — rather than a print pixel at a time (#188, #197). Its strength and its clump are the film stock's own numbers, read from the stock rather than taken from the frame's width, and applied once (#197, #206). The small print the camera's screen shows gets the clump its own width asks for, so the screen and the print agree (#188). And at the ends of the range the clamp bounds what it reads and the wrap folds, instead of walking round (#197).
The body, read from the frame
Two cameras of the same model do not necessarily develop alike: the numbers the darkroom needs belong to the camera the frame came out of, not to the model name. So the body's scale and colours are read from the frame rather than assumed (#215), and a second body in the tests means a build that binds the wrong one now fails them instead of passing (#215). With it, a note on what the scanner key does on a dark frame (#132).
The font loader
Every reader stays inside the bits (#205): the loader checks a glyph's runs before reading them, so a font that is malformed, or a table that is short, cannot walk off the end of the buffer and take the screen with it.
Film mode: the film supply, and Ultra
In my fork rather than upstream, at the time of writing (branch ultra-realistic):
a photographer who travels with a bag of cans can put that bag on the card, and then the
camera offers that instead of the whole catalogue. The shelf lists the bag; the
exposures chip follows the film the bag has; a can is spent when the roll is in the camera
rather than when it is asked for; and the mode is a third state, Ultra, which loads only
the film written on the card (the two the camera already had are unchanged). The format is
two plain text files in ML/ at the card's root, so it can be written by hand.
The project's own glossary settled the word for it: the film supply, not a
bag, an inventory or a stock list.
Documentation
The drift notes (#216), and what a soften would do to a print, and why there is not one (#225) — measurements written up where the camera's own documentation lives, so the next person does not have to make them again.
The files it touched: the camera's darkroom, its film mode, its shelf drawing, its camera table and the generator behind it, the simulator's tests, the film table, the CR2 maker, and the developer documentation.
Photographs
Shot blind, on one roll
Roll 107 — Kodak T-MAX P3200 at ISO 3200, 40 mm, on a Canon EOS 6D running M-Film. Nothing on this roll was framed on a screen: the camera had a film in it, and the only way to know what you got is to develop it. I developed it on a computer, with my own developer; the prints below are full size, downsized for the web and changed in nothing else.
A little data
The project, in numbers — and my part of it
The project's own figures are quoted as the project states them, from its README and its own site; mine are counted in its repository.
| Films | 68 stocks, on four shelves — colour, slide, black and white, cine |
|---|---|
| A roll | 36, 24 or 12 exposures |
| Cameras | 13 Canon bodies that run Magic Lantern work; 2 with a problem, 1 being tested — the project's own count |
| The camera's screen | 720 × 480, the canvas its own interface draws into |
| Licence | GPL-2.0-or-later, the camera side; the desktop side is not open |
| My commits in main | 18, between 21 and 29 November 2026 |
| My merged pull requests | 7 — #188, #197, #205, #206, #215, #216, #225 |
| The film supply | two plain text files on the card, ML/FILMSUP.TXT and ML/FILMSUP.USE, up to 32 cans — in my fork, not upstream yet |
And separately
The developer I wrote, which is not M-Film's
M-Film develops a roll in the camera, or on a computer with Darkrooms, the project's own desktop developer — which is closed source. I wanted one I could read, extend and steer, so I wrote my own: FilmLab, which develops the same frames with M-Film's own arithmetic, out of the camera's own roll records and the film the card says was loaded. It is a separate project of mine and not M-Film's; the project's developer remains Darkrooms.
Get M-Film
From the project, not from me
On your camera
A Canon that runs Magic Lantern, a card, and the project's own release. The camera side is free and open; nothing here is for sale.