Skip to content
eadmaster edited this page Mar 21, 2026 · 12 revisions

Ezrominject is meant to be used from the commandline.

Requisites:

Example usage:

  1. extract the jap script
$ jstrings  -l 2 -e shiftjis --cutoff 200  my_rom.bin  > my_rom_jap.txt
  1. manually remove non-text lines with a text editor (patching them may cause crashes/glitches)
$ kate my_rom_jap.txt
  1. generate a translation draft with sugoi
$ python jstringstxttranslate.py  my_rom_jap.txt   my_rom_eng.txt
  1. manually revise the translation with a text editor.
$ kate  my_rom_eng.txt
  1. inject the translated text
$ python ezrominject.py my_rom_jap.txt  my_rom_eng.txt  my_rom.bin
  1. check the logged errors, fix them if necessary, then test the patched rom

Tip

The default injection method Halfwidth2Fullwidth SJIS is the most compatible, but provides less space for text (1x SJIS char -> 1x ASCII char). To have more space, try --ascii-mode and --ascii-bios-hack, and check if they work correctly ingame. See the examples listed in this page.

Credits

If you publish a patch made with this tool, please include a link to this repository to give credits.

Clone this wiki locally