Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Well, those 3 lines did help(I followed your tutorial step by step, only thing changed was not installing the one font mentioned before). My ubuntu mirrors seem to be quite good as everything was downloading with max speed :3
Anyway, those 3 lines unborked things, but applications still don't show Japanese fonts under wine. When trying:
wineloc -l ja_JP app.exe //tried few of them
I get this output in console. I don't know much about linux, but for me everything seems to be doing just fine... (I closed this application as soon as I confirmed it had '???' instead of what should be there)
Code:
WineLocale 0.3 - CJK Launcher for Wine (cli)
Using locale file /usr/local/share/wineloc/patches/common/ja_JP.reg ...
Setting up Japanese Shift-JIS locale ...
Executing application ...
Restoring old Wine locale settings
Sorry I haven't answered anything for last few days, I was really busy with work.
Edit:>
Oh, I just realized something~
Your method can give people some nasty errors, which can easily be fixed.
Code:
Fontconfig warning: no <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir>~/.fontconfig</cachedir>
Why does it happen?
When you do this step:
Code:
# cp /usr/share/fonts/VeraSansYuanTi/fonts.conf /etc/fonts/
fonts.conf copied _might_ lack information about cachedir, so obviously it'll cause problems in such case.
Fix is easy:
Add following lines to new fonts.conf: (they might differ for you, so check them at font.conf.old, created step earlier and copy them to fonts.conf).
Code:
<!-- Font cache directory list -->
<cachedir>/var/cache/fontconfig</cachedir>
<cachedir>~/.fontconfig</cachedir>
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Can you provide me with any of these EXEs? All the Japanese software I tested works great, but I cannot do any further debugging without the files to test.
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Sure, here is the link for the download of app called metasequoia. It's 5mb big so it shouldn't be much of bandwitch problem. It has an option to run in either english or japanese, and japanese comes up as nothing but gibberish for me.
I hope it will work for you, that would mean I just did something wrong and that it's fixable :3
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Ah, lol. I'm pretty amazed at myself right now.
The download page:
http://www.metaseq.net/metaseq/download.htm
Get metaseq242.zip
1 Attachment(s)
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
It runs perfectly for me. Did you remember to install the Vera Sans YuanTi font? That is a REQUIRED step.
Code:
d@cinnamon:~/Desktop/meta$ wineloc -l ja_JP Metaseq.exe
WineLocale 0.4 - CJK Launcher for Wine (cli)
ja_JP
Using locale file /usr/local/share/wineloc/patches/common/ja_JP.reg ...
Setting up Japanese Shift-JIS locale ...
Executing application ...
fixme:time:GetCalendarInfoW Unimplemented caltype 4
fixme:time:GetCalendarInfoW Unimplemented caltype 3
fixme:win:WINNLSEnableIME hUnknown1 0x1006c bUnknown2 0: stub!
fixme:win:WINNLSEnableIME hUnknown1 0x1006c bUnknown2 -1: stub!
fixme:win:WINNLSEnableIME hUnknown1 0x10072 bUnknown2 0: stub!
fixme:win:WINNLSEnableIME hUnknown1 0x10072 bUnknown2 -1: stub!
fixme:win:WINNLSEnableIME hUnknown1 0x1006c bUnknown2 0: stub!
fixme:win:WINNLSEnableIME hUnknown1 0x1006c bUnknown2 -1: stub!
Edit: I just noticed from your code snippet that you are using version 0.3. As you can see, I am using 0.4. That is the attachment currently int he first post of this thread. I suggest you update and try it again. I honestly can't recall changing anything that would fix this in 0.4, but who knows.
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Aha, i am from Nanjing, that's great to see Chinese here, and really great tutorial. Thanks for your nice work.
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Quote:
Originally Posted by
leeyee
Aha, i am from Nanjing, that's great to see Chinese here, and really great tutorial. Thanks for your nice work.
Actually, I'm not Chinese. I just moved here a few years ago. Far better than where I used to live ...
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Actually I changed my default system language to polish and now wine got completely messed up. Some apps that did work before are broken now, while Japanese locale works wonderfully... I didn't change anything else on my system so nothing else can be the problem.
Re: HOWTO: CJK in Wine (Chinese, Japanese & Korean)
Sorry. I can't offer an explanation. This method has worked great for me and others, and I tested it fully on a default English Ubuntu installation.