Hey there. I’m making an Arabic translation of an RPG 2K3 game and EasyRPG has been an absolute blessing so far, letting me translate all of the graphical assets and texts and stuff. There are some extra things I wish were possible, like changing the position of the text to be on the right instead of the left, but it’s not gonna ruin the experience entirely.
However, the one hurdle in front of me so far has been the Name Input Processing / Enter Hero Name screen, which always defaults to the English alphabet. I want to change the screen to have Arabic characters so that it wouldn’t be jarring just having Arabic text and then an English name popping suddenly.
Just to make things clear, no I can’t use the EXFONT as a replacement because there are too many Arabic letters to fit (28 Arabic letters without counting the extra ones and each one having at least 3 variations depending on where it’s connected from totalling to AT LEAST 84 letters and variations), and I am aware that if I bruteforce and smash my head against the wall hard enough, I could THEORETICALLY hex-edit RPG_RT.exe to change the characters, but that is a Sisyphean task, and it wouldn’t matter anyway because it’s not like the EasyRPG Player copies off RPG_RT.exe.
I’m unsure if there are any other solutions to my problem. I would use something like DynRPG but I don’t know if it supports Arabic, let alone if it would let me change the Enter Hero Name character set. I’m at an impasse here! I don’t want to admit defeat and just keep something immersion-breaking like this in my translation! There has to be a way! Tell me anything! Give me everything! Even if it involves re-compiling the EasyRPG Player source code, I will do it! Hell, if there’s been a way to do this WITHOUT EasyRPG Player and I can just do this on the main RPG_RT.exe without a problem and I’ve just been blind to it this whole time, tell me! I gotta at least say that I gave it my best before throwing in the towel. Thank you in advance.
TL;DR I wanna be able to do Arabic player names using the Enter Hero Name screen, unsure if there are any solutions
Without modifying the player source you can add a map that mimics the the scene and then teleport to it, but this involves a bit of state saving and some long event code likely.
If you want to change the name input scene itself, it should be as easy as adding the codepage here:
and then add the pages here:
Bonus would be providing a pull request with the pages, so we can include it in the main build…
About the RTL font problem, we are aware of this and added HarfBuzz support, so it is possible:
Thank you so much! I appreciate the help. But please, could you like be patient with me? I might ask questions that seem really stupid but I’m new to all of this, lol. Do I just download the code and put it in the same game folder and then do my Arabic modifications? Or what exactly? And is Harfbuzz already built in or do I download it? And if so, how would I know it’s working?
You would need to recompile the Executable after adding the new pages. Harfbuzz is already included.
Btw. did you change all texts to be written RTL instead of LTR? I mean reversed each glyph?
The text already displays correctly as RTL, no problem on that part. I meant I wanted to change the position of the text, so that instead of it being on the left side of the screen, it’s on the right side of the screen. It’s not the end of the world for me, but it’d be a neat thing to have to make the experience overall good.