RxDict
Introduction Even before starting my "vibe coding" journey, I worked extensively with database generation in MDict ( .mdx ) format. MDict , created by Rayman Zhang, made it feasible to convert custom spreadsheets into readily searchable, offline dictionary apps. I initially assumed .mdx was an open standard. However, because its compression algorithms and encryption technologies were proprietary and undocumented initially, third-party dictionary engines (such as GoldenDict ) had to reverse-engineer the .mdx format. To make matters worse, the .mdx format suffered from severe version backward-incompatibility. As MDict evolved across versions (from v1.0 to v2.0 and v3.0), fundamental changes were introduced to header structures, block compression algorithms (e.g., LZO vs. zlib/zip), keyword index layouts, and encryption key derivations. Older dictionary readers frequently failed to open newer .mdx files, while newer tools struggled to parse legacy dictionaries without spec...