There's a MED.py tool around here in the master game tools mega.nz repository. I made some slight modifications to it.
It's called DxLib(LuneTB):
You must be registered to see the links
I'm going to actually clean some things up and re-do it. The movies weren't playing so the link above updates that and fixes it, but only because I reverted some files that contain text for the facial expressions and such, but the game buttons aren't translated because of that. I adjusted how I do the translation so I can edit it now.
I'll also toss in the *.json file in case anyone wants to edit it and clean things up more.
Also getting 2, 3, and A done. P 1/2/3 is a different engine.