Frictional Games Forum (read-only)
[REQUEST] Traditional Chinese Chracters in HPL2 - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+--- Thread: [REQUEST] Traditional Chinese Chracters in HPL2 (/thread-13948.html)

Pages: 1 2


Traditional Chinese Chracters in HPL2 - Kreekakon - 03-12-2012

Hi there everyone, I'm a new member here, and I've got a really quick question.

I come from Taiwan meaning that most of my peers, unlike myself, are unfamiliar with English. However I am making a small custom story, and want them to enjoy it as well in the traditional Chinese they know, and love.

However, whenever I try to change characters in the .lang files to traditional chinese, the game either doesn't display them, or displays them as scrambled code. Is there anyway to remedy this?

NOTE: I have seen a Chinese team be able to convert Amnesia to a simplified Chinese interface. Is there anyone who can tell me how they (probably?) did this?

Thanks in advance.



RE: Traditional Chinese Chracters in HPL2 - Traggey - 03-12-2012

I myself do not know how to do this, but I've seen it done so I'm sure it's possible.



RE: Traditional Chinese Chracters in HPL2 - Kreekakon - 03-12-2012

(03-12-2012, 05:35 PM)Traggey Wrote: I myself do not know how to do this, but I've seen it done so I'm sure it's possible.
Do you remember where you've seen it?

It would really mean a lot to me if I could show my friends here, because the setting of the custom story is partially based off of where we live.




RE: Traditional Chinese Chracters in HPL2 - Traggey - 03-12-2012

Some random video on youtube, I'm sorry I can't be more specific.



RE: Traditional Chinese Chracters in HPL2 - Acies - 03-13-2012

My guess is that the "Amnesia font" does not support chinese characters, while the .lang does.

What you would have to do is to add a chinese font:
http://www.frictionalgames.com/forum/thread-11128.html

I haven't tried the procedure - but other people should be able to guide you through it.

Good luck :>


RE: Traditional Chinese Chracters in HPL2 - Kreekakon - 03-14-2012

(03-13-2012, 05:55 PM)Acies Wrote: My guess is that the "Amnesia font" does not support chinese characters, while the .lang does.

What you would have to do is to add a chinese font:
http://www.frictionalgames.com/forum/thread-11128.html

I haven't tried the procedure - but other people should be able to guide you through it.

Good luck :>
Ok, I've tried what you showed me! I created a new font file, and changed the menu config accordingly. After that, the Amnesia launcher (Where you can do settings for the game) would open with all the proper Chinese characters. For a second it looked like it was working!

However after clicking on "Launch", and actually opening the game engine, the game would then crash. Any ideas what may have caused this?





RE: Traditional Chinese Chracters in HPL2 - palistov - 03-14-2012

Definitely related to the font file. Did you follow the directions on YC's tutorial to the letter? If you miss one of the settings, like not exporting the .fnt file XML format will crash Amnesia, or the letters may simply fail to show up in-game.


RE: Traditional Chinese Chracters in HPL2 - Kreekakon - 03-14-2012

(03-14-2012, 04:29 AM)palistov Wrote: Definitely related to the font file. Did you follow the directions on YC's tutorial to the letter? If you miss one of the settings, like not exporting the .fnt file XML format will crash Amnesia, or the letters may simply fail to show up in-game.
Re-checked the instructions, and triple remade the font files. Game still crashes.


Maybe could someone post the instructions on what to do after making the font files. Just checking to see if my instinctive changing was wrong or not, and if I missed anything.


RE: Traditional Chinese Chracters in HPL2 - Your Computer - 03-14-2012

Check the hpl.log of your full conversion to see if any insight on the issue is provided.


RE: Traditional Chinese Chracters in HPL2 - Kreekakon - 03-14-2012

(03-14-2012, 12:35 PM)Your Computer Wrote: Check the hpl.log of your full conversion to see if any insight on the issue is provided.
Checked it, and found this, which is likely where it all went wrong:

Code:
Version 1.20 - s26ADEE0-539

-------- THE HPL ENGINE LOG ------------

Engine build ID 20101021192547



Creating Engine Modules

--------------------------------------------------------

Creating graphics module

Creating system module

Creating resource module

Creating input module

Creating sound module

Creating physics module

Creating ai module

Creating gui module

Creating generate module

Creating haptic module

Creating scene module

--------------------------------------------------------



Initializing Resources Module

--------------------------------------------------------

Creating loader handlers

Creating resource managers

Adding loaders to handlers

--------------------------------------------------------



Initializing Graphics Module

--------------------------------------------------------

Init lowlevel graphics: 1360x768 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' pos:(-1x-1)

Setting video mode: 1360 x 768 - 32 bpp

Init Glew...OK

Setting up OpenGL

  Vendor: ATI Technologies Inc.

  Renderer: ATI Radeon HD 4800 Series        

  Version: 3.3.11251 Compatibility Profile Context

  Max texture image units: 16

  Max texture coord units: 16

  Max user clip planes: 8

  Two sided stencil: 1

  Vertex Buffer Object: 1

  Anisotropic filtering: 1

  Max Anisotropic degree: 16

  Multisampling: 1

  Texture compression: 1

  Texture compression S3TC: 1

  Auto generate MipMaps: 1

  Render to texture: 1

  Max draw buffers: 8

  Max color render targets: 8

  Packed depth-stencil: 1

  Texture float: 1

  GLSL Version: 3.30

  ShaderModel 2: 1

  ShaderModel 3: 1

  ShaderModel 4: 1

  OGL ATIFragmentShader: 1

Setting up G-Bugger: type: 0 texturenum: 3

Adding engine materials

Initializing DevIL

  Vendor String: Abysmal Software

  Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006

  Version Number: 168

Adding engine post effects

--------------------------------------------------------



Initializing Sound Module

--------------------------------------------------------

Initializing OpenAL

  Available OpenAL devices:

   0. Generic Software on 喇叭 (Realtek High Definition Audio)(OpenAL default)

   1. Generic Software on Realtek Digital Output (Realtek High Definition Audio)

  Trying to open device 'Generic Software on 喇叭 (Realtek High Definition Audio)'... Success!

  Number of mono sources: 32

  Streaming setup: 4 Buffers x 262144 bytes each

--------------------------------------------------------



Initializing Game Module

--------------------------------------------------------

Adding engine updates

Initializing script functions

--------------------------------------------------------



User Initialization

--------------------------------------------------------

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'

ERROR: Couldn't create font 'chinese.fnt'


Can anyone shine some light?