LagoLunatic / DSVEdit

Multi-purpose editor for ROM hacking DS and GBA Castlevania games
MIT License
91 stars 12 forks source link

Invalid shift jis character #87

Closed p-estor closed 1 month ago

p-estor commented 1 month ago

Hi,

Not really an issue, but I don't know where to get any help with this.

I am struggling to translate text because the only way I have found that works so far is copy & pasting from a shift-jis char, is there any way to just typing shift-jis in the editor?

Thanks

LagoLunatic commented 1 month ago

I'm not sure if I understood you, but basically it sounds like you're trying to type new JP text and sometimes it works but occasionally you get an error saying the character is unknown?

That would be because you typed a kanji that isn't present in the game's font. The game can only display characters that exist in its font.

p-estor commented 1 month ago

I am sorry. I mean I want to type romanized characters because I want to translate some texts to English.

I managed to get some romanized characters work copy & pasting from here, but it would be great I could just type shift-jis in the editor instead of copy & pasting.

Also tried some text converters and none of them worked for me.

LagoLunatic commented 1 month ago

That should already work. I just tried it, switching my Japanese IME mode to "Full-width alphanumeric" and then typing Soma on my keyboard, and it resulted in the shift JIS text Soma, which I saved with no issue: image

You should double check that you have the correct IME mode set. "Half-width alphanumeric" isn't correct.

p-estor commented 1 month ago

I am so stupid, I tried some "width" before using Google IME but since they didn't work I didn't try the rest.

It worked using full-width, thanks a lot. :)