Hai no Majutsushi — English translation and tutorial

↓ Download the IPS patch22,997 bytes. Apply it to your own ROM of the game with any IPS tool.

牌の魔術師 (Hai no Majutsushi - Mahjong 2; Konami, 1989, RC-765) is a mahjong game for the MSX2 with all its menus and messages in Japanese. This patch puts the game in English — the title logo, the attract introduction (each rival's title and phrase, and the big MAHJONG behind them), the menus, the rules and style screens, the rivals' names, the call menus, the yaku and the scores, the end-of-hand messages, the red PON! / CHI! / KAN! / RON! / TSUMO! / RIICHI! call-outs and the numbers and winds on the tiles — and adds a tutorial on F1 in the first menu: nine screens on the tiles, the goal, the sets, the calls, riichi and tsumo, the menus and the music keys.

19,652 bytes changed · 22,997-byte IPS · 144 new letters, 35 new small tiles, 6 new call-outs, a new logo, the introduction redrawn, 13 tile faces in four sizes · no ROM distributed

The tutorial: the menu, F1, the nine screens and back to the menu

JapaneseEnglish
first menu, Japanesefirst menu, English
settings menu, Japanesesettings menu, English
rules, Japaneserules, English
rivals' style, Japaneserivals' style, English
title, Japanesetitle, English
attract introduction, Japaneseattract introduction, English
tiles, Japanesetiles, English
the seat drawthe call menuPON!
the yaku and the scorea drawn hand

How to use it

  1. On the title screen press space: the first menu appears (PRACTICE, MATCH).
  2. F1 opens the tutorial; space turns the page, and after the ninth the menu comes back.
  3. In PRACTICE, down on your turn opens a box with SCORE and OPEN (OPEN shows the rivals' hands).

What you need

In openMSX the cartridge needs its mapper (Konami with a DAC):

openmsx -machine C-BIOS_MSX2 -cart majutsushi_en.rom -romtype Majutsushi

Building it

With Python 3, Pillow and pasmo in the PATH, and the ROM in the root as majutsushi.rom:

python tools/construye.py majutsushi.rom

It assembles the tutorial (src/tutorial.asm), applies the translation from traduccion/textos_en.txt with tools/traduce.py, checks that every place it writes holds what the original cartridge has there, and writes work/majutsushi_en.rom and the IPS. It refuses any other ROM. python -m unittest discover -s tests runs the 15 tests. What was measured before translating (every text, how it is drawn, where it is, how much room there is) is in traduccion/inventario.md.

How it works

The game writes in three different ways, and each one is translated in its own way; the logo, the introduction and the tiles are pictures, and are drawn again.

What stays in Japanese: only what is part of the tiles themselves, 萬 under the numbers and the dragons 中 and 發.

Tested

In openMSX (C-BIOS MSX2), with captures taken with the throttle on: the first and settings menus, rules, style and rival choice, the seat draw, the round box, the call menus (with a rival's discard, on your turn, the pause box with SCORE, OPEN and LEFT), the yaku lists with FU, HAN and PTS (the rarest yaku forced from the debugger to see the ones in bank 4), DRAW, GAME END, NEXT and QUIT, the results table, the title logo, the whole introduction (the eight titles and phrases over MAHJONG), the tiles in the hand, the dora, the discards of all four players, the PON! and CHI! call-outs and the nine tutorial screens. Checked only in the code and by measuring the windows, not seen on screen: 9 TERMINALS, 4 WINDS, 4 RIICHI, 4 KANS, 3 RON and the disk SAVE menu. Not tested on a real MSX yet.

Licence

MIT (LICENSE) for the patch, the tools and the documentation. The game belongs to its rights holders: see LEGAL-NOTICE.md.