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?
Editing ZDoom in Japanese
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.
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.
-
-
- Posts: 17924
- Joined: Fri Jul 06, 2007 3:22 pm
Re: Editing ZDoom in Japanese
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 ō.)
-
- Posts: 4
- Joined: Sun Dec 11, 2016 2:21 pm
- Location: 日本
Re: Editing ZDoom in Japanese
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!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 ō.)
-
- Posts: 3390
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: Editing ZDoom in Japanese
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
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.
-
- Posts: 4
- Joined: Sun Dec 11, 2016 2:21 pm
- Location: 日本
Re: Editing ZDoom in Japanese
This is fantastic! Thank you very much for this, that mapping was hugely helpful!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.
-
- Posts: 3390
- Joined: Thu Jul 05, 2007 4:53 pm
- Location: opening the forbidden box
Re: Editing ZDoom in Japanese
... 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.
-
- Posts: 4
- Joined: Sun Dec 11, 2016 2:21 pm
- Location: 日本
Re: Editing ZDoom in Japanese
Well I was going for both, so to even get 1 is a big plus!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.
-
-
- Posts: 17456
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: Editing ZDoom in Japanese
Planned... sure... just don't know when.Tw3ek wrote:Is it known if there plans at any stage to add Unicode support?
-
- Posts: 13736
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Editing ZDoom in Japanese
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.
-
- Lead GZDoom+Raze Developer
- Posts: 49142
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Editing ZDoom in Japanese
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.
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.