Editing ZDoom in Japanese

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Tw3ek
Posts: 4
Joined: Sun Dec 11, 2016 2:21 pm
Location: 日本

Editing ZDoom in Japanese

Post by Tw3ek »

Hello!

I am attempting to put the text for ZDoom into Japanese. I have the language file created in the pw3, however I notice when I set the encoding to display Japanese characters, certain aspects of the game fail (music fails to load, end messages, etc..) Is there only support for ANSI encoding of these files?
Gez
 
 
Posts: 17835
Joined: Fri Jul 06, 2007 3:22 pm

Re: Editing ZDoom in Japanese

Post by Gez »

ZDoom currently does not support Unicode (I think it's hardcoded to use Windows-1252), so it's going to be difficult to translate it into Japanese. You'll be limited to using Romaji. (And even then, with û and ô, not with Hepburn's ū and ō.)
User avatar
Tw3ek
Posts: 4
Joined: Sun Dec 11, 2016 2:21 pm
Location: 日本

Re: Editing ZDoom in Japanese

Post by Tw3ek »

Gez wrote:ZDoom currently does not support Unicode (I think it's hardcoded to use Windows-1252), so it's going to be difficult to translate it into Japanese. You'll be limited to using Romaji. (And even then, with û and ô, not with Hepburn's ū and ō.)
Thank you for the reply. This is the issue that I was afraid of. Is it known if there plans at any stage to add Unicode support? Thanks!
User avatar
InsanityBringer
Posts: 3386
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: Editing ZDoom in Japanese

Post by InsanityBringer »

Unicode isn't supported, but a user Toooooasty has been working on kana language support for Zdoom. Check it out here

Trouble is that due to the lack of unicode support, you'll have to use certain english characters and punctuation in order to use it. My japanese isn't very good, but poking at the included text file, it seems to have a mapping of what kana you'll get from what character.

EDIT: hey whoops I'm a massive idiot you were talking about scripts and not in game text. sorry, you'll probably just have to stick to english characters on that.

EDIT2: holy crap I'm confused right now
Last edited by InsanityBringer on Sun Dec 11, 2016 4:44 pm, edited 1 time in total.
User avatar
Tw3ek
Posts: 4
Joined: Sun Dec 11, 2016 2:21 pm
Location: 日本

Re: Editing ZDoom in Japanese

Post by Tw3ek »

InsanityBringer wrote:Unicode isn't supported, but a user Toooooasty has been working on kana language support for Zdoom. Check it out here

Trouble is that due to the lack of unicode support, you'll have to use certain english characters and punctuation in order to use it. My japanese isn't very good, but poking at the included text file, it seems to have a mapping of what kana you'll get from what character.


EDIT: hey whoops I'm a massive idiot you were talking about scripts and not in game text. sorry, you'll probably just have to stick to english characters on that.
This is fantastic! Thank you very much for this, that mapping was hugely helpful!
User avatar
InsanityBringer
Posts: 3386
Joined: Thu Jul 05, 2007 4:53 pm
Location: opening the forbidden box

Re: Editing ZDoom in Japanese

Post by InsanityBringer »

... heh, so I wasn't wrong initially? I guess I'm a little confused now, but as long as you got what you need, all is good.
User avatar
Tw3ek
Posts: 4
Joined: Sun Dec 11, 2016 2:21 pm
Location: 日本

Re: Editing ZDoom in Japanese

Post by Tw3ek »

InsanityBringer wrote:... heh, so I wasn't wrong initially? I guess I'm a little confused now, but as long as you got what you need, all is good.
Well I was going for both, so to even get 1 is a big plus!
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Editing ZDoom in Japanese

Post by Nash »

Tw3ek wrote:Is it known if there plans at any stage to add Unicode support?
Planned... sure... just don't know when. :mrgreen:
User avatar
Rachael
Posts: 13571
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Editing ZDoom in Japanese

Post by Rachael »

Well we already lost Win9x support, and more and more commits are gradually going in that distances ZDoom from it. But AFAIK no work has been done yet, to convert ZDoom's internal strings and structures to update to the new Unicode format.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Editing ZDoom in Japanese

Post by Graf Zahl »

The main issue, aside from rewriting large pieces of code, is that the font system isn't really suited to handle Unicode.
Overall, don't lose hope. It's still better than Eternity, which, according to Quasar, "will forever remain 7 bit ASCII" because he can't be bothered to undo some poor design decisions of the past.

Maybe one of these days, a library like FreeType should be added to the picture to allow more flexible font handling.

Return to “Editing (Archive)”