| 
		
	
		| Kreekakon   Pick a god and pray!
 
 Posts: 3,063
 Threads: 70
 Joined: Mar 2012
 Reputation: 
124
 | 
			| Traditional Chinese Chracters in HPL2 
 
				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.
 
 |  |  
	| 03-12-2012, 04:56 PM |  |  
	
		| Traggey   is mildly amused
 
 Posts: 3,257
 Threads: 74
 Joined: Feb 2012
 Reputation: 
185
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				I myself do not know how to do this, but I've seen it done so I'm sure it's possible.
 |  |  
	| 03-12-2012, 05:35 PM |  |  
	
		| Kreekakon   Pick a god and pray!
 
 Posts: 3,063
 Threads: 70
 Joined: Mar 2012
 Reputation: 
124
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				 (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.
			 |  |  
	| 03-12-2012, 05:39 PM |  |  
	
		| Traggey   is mildly amused
 
 Posts: 3,257
 Threads: 74
 Joined: Feb 2012
 Reputation: 
185
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				Some random video on youtube, I'm sorry I can't be more specific.
 |  |  
	| 03-12-2012, 06:05 PM |  |  
	
		| Acies   Posting Freak
 
 Posts: 1,643
 Threads: 60
 Joined: Feb 2011
 Reputation: 
73
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				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 :>
			
  ![[Image: mZiYnxe.png]](http://i.imgur.com/mZiYnxe.png)  ジ
 |  |  
	| 03-13-2012, 05:55 PM |  |  
	
		| Kreekakon   Pick a god and pray!
 
 Posts: 3,063
 Threads: 70
 Joined: Mar 2012
 Reputation: 
124
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				 (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?
			 
				
(This post was last modified: 03-14-2012, 03:42 AM by Kreekakon.)
 |  |  
	| 03-14-2012, 03:41 AM |  |  
	
		| palistov   Posting Freak
 
 Posts: 1,208
 Threads: 67
 Joined: Mar 2011
 Reputation: 
57
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				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.
			 
 
				
(This post was last modified: 03-14-2012, 04:29 AM by palistov.)
 |  |  
	| 03-14-2012, 04:29 AM |  |  
	
		| Kreekakon   Pick a god and pray!
 
 Posts: 3,063
 Threads: 70
 Joined: Mar 2012
 Reputation: 
124
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				 (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.
			 
				
(This post was last modified: 03-14-2012, 11:27 AM by Kreekakon.)
 |  |  
	| 03-14-2012, 11:25 AM |  |  
	
		| Your Computer   SCAN ME!
 
 Posts: 3,456
 Threads: 32
 Joined: Jul 2011
 Reputation: 
235
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				Check the hpl.log of your full conversion to see if any insight on the issue is provided.
			 
 |  |  
	| 03-14-2012, 12:35 PM |  |  
	
		| Kreekakon   Pick a god and pray!
 
 Posts: 3,063
 Threads: 70
 Joined: Mar 2012
 Reputation: 
124
 | 
			| RE: Traditional Chinese Chracters in HPL2 
 
				 (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:
 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?
			 
				
(This post was last modified: 03-14-2012, 12:44 PM by Kreekakon.)
 |  |  
	| 03-14-2012, 12:43 PM |  |  |