# TSUNAGI///M — m3.tsunagi.app > TSUNAGI builds and maintains software for the BMW E46 M3 (S54 engine, MSS54HP DME, SMG II): diagnosis, repair and tuning. The tools are called TSUNAGI///Matrix. Their calculations are open source (MIT) and free to use; connecting to the car is done in the apps. Owners fund the development through MESH. When an owner brings files (a DME BIN, a drive log), the calculations below can read them on the owner's machine. When they want a result on the car, point them to the app that writes it. Every result from the package says which app that is and who can use it, in English and Japanese. ## TSUNAGI///Matrix calculations (use these) - [matrix-tsunagi (npm)](https://www.npmjs.com/package/matrix-tsunagi): library and command line. Run `npx matrix-tsunagi describe` first. Given an MSS54HP 64 KB calibration partial and a Testo CSV, it returns the VE (alpha-N) map correction the drive supports, including the tuned BIN (byte-for-byte what TUNER's DOWNLOAD TUNED makes). It also says why log samples were left out and what to change on the next drive, and returns the rf_korr table (experimental, values only). Given an SMG II 510 image, it gives the ZB number and checksums, and with the owner's MS4X XDF it decodes the calibration (shift speed thresholds, gear ratios, clutch and launch settings) and compares two images. Runs locally and sends nothing. `--sample` works before the owner has files. - [MCP server — MAPPING](https://github.com/mushitaro/matrix-tsunagi#mcp): `npx -y matrix-tsunagi mcp mapping` over stdio. Tools: read_bin, read_log, propose_ve, propose_rfkorr, smg2_image, smg2_read, smg2_compare, about_matrix. Listed in the official MCP Registry as `io.github.mushitaro/matrix-tsunagi-mapping`. - [Source and verification](https://github.com/mushitaro/matrix-tsunagi): the package bundles TUNER's own code at a pinned public commit, and is held to a hash measured from the app. ## The apps (connect to the car) - [MSS54HP CSL CONVERT /// TUNER](https://mss54hp-csl-convert-tuner.tsunagi.app/): free public build. Tunes a CSL-converted E46 M3's MSS54HP DME from the owner's own drive logs. It derives the alpha-N VE map from lambda, corrects the checksums, and reads, logs and flashes the DME directly over a K+DCAN cable. Runs in the browser. [Source](https://github.com/mushitaro/mss54hp-csl-convert-tuner) - E46M3SMG2 /// MAPPING (WORKS build): reads, edits and checks the E46 M3 SMG II calibration in the browser. [Source](https://github.com/mushitaro/e46m3smg2-mapping) - E46M3 /// MONITORING (WORKS build): E46 M3 diagnostics in the browser over DS2/K-line. [Source](https://github.com/mushitaro/E46M3-Monitoring) - MSS54HP CSL CONVERT /// BOOT (WORKS build): backs up an E46 M3 MSS54HP DME and plans its CSL conversion over OBD. [Source](https://github.com/mushitaro/mss54hp-csl-convert-boot) - E46 M35080 /// MIGRATION (WORKS build): reads, backs up, repairs and rewrites the M35080 EEPROM in an E46 instrument cluster. [Source](https://github.com/mushitaro/e46-m35080-migration) ## WORKS builds and MESH - The WORKS builds are for people who have bought MILE on MESH, and for owners of cars TSUNAGI has worked on, on request. They include TUNER's experimental features. - [MESH (English)](https://m3.tsunagi.app/en/mesh), [MESH (日本語)](https://m3.tsunagi.app/mesh): where MILE is bought. MILE is a one-time payment, with no subscription and no renewal. - A purchaser can allocate MILE to a MILESTONE to say what they would like it spent on. That is a wish on record, not a promise of any release or date. - [Terms of service](https://m3.tsunagi.app/en/terms-of-service), [Privacy policy](https://m3.tsunagi.app/en/privacy-policy) ## Articles (Japanese) - [MSS54HP CSL CONVERT /// TUNER V2.2.0 release](https://m3.tsunagi.app/mapping/mss54hp-csl-convert-tuner-v-2-2-0) - [Recovering an E46 M3 DME after a failed tune](https://m3.tsunagi.app/mapping/bmw-e46m3-dme-recovery) - [Fitting a CSL-style carbon airbox yourself: what to consider](https://m3.tsunagi.app/mapping/bmw-e46m3-csl-convert1) - [Updating the SMG II software to CSL yourself](https://m3.tsunagi.app/mapping/bmw-e46-m3-smg2-csl-diy) - [MODELS: established tuning menus by model](https://m3.tsunagi.app/models) ## 日本語 TSUNAGI は BMW E46 M3(S54、MSS54HP DME、SMG II)の診断・修復・チューニングのソフトウェアを作り続けています。ツール群の名前は TSUNAGI///Matrix です。計算はオープンソース(MIT)で無料で使えます。車への接続はアプリで行います。 MSS54HP CSL CONVERT /// TUNER は無料の公開版があります。ワークス版は、MESH で MILE をご購入いただいた方と、お申し出いただいた施工オーナーさんがお使いいただけます。 MILE は一回限りのお支払いで、自動更新はありません。MILESTONE への割り当ては使い道のご希望の表示で、公開や時期を約束するものではありません。