| vikvolf   
 Posts: 128
 
 | 
			| 
 
				Вопрос, а можно ли Причал или вытащить из мода или сделать Эра - понятно вопрос может и глупый - но город хорошо проработан - а играть без Эра скучно
			 |  | 
	| 08.05.2013 00:18 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 08.05.2013 00:35 |  | 
	
		| kswdiy   
 Posts: 33
 
 | 
			| 
 
				 (07.05.2013 23:42)Berserker Wrote:  Could you upload GB fonts?  
GB type of fonts: 
HZK10 
hzk12 
HZK24
 
GBK type of fonts: 
hzk10_GBK 
hzk12_GBK 
hzk24_GBK
			 |  | 
	| 08.05.2013 04:43 |  | 
	
		| Saruman   
 Posts: 92
 
 | 
			| 
 
				А почему бы не делать замену по моему принципу? Но тогда для полноценности изменений и экран города надо естественно менять.
			 |  | 
	| 08.05.2013 07:05 |  | 
	
		| vikvolf   
 Posts: 128
 
 | 
			| 
 
				Жалко - есть отличный город почти без глючный, но работает на компании где нет ЭРЫи ее скриптов. Приют, Роща, Причал. Еще бы перевести Ковенант - но увы с аглицким проьлемы
			 |  | 
	| 08.05.2013 07:34 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 08.05.2013 18:22 |  | 
	
		| kswdiy   
 Posts: 33
 
 | 
			| 
 
				
(This post was last modified: 08.05.2013 19:50 by kswdiy.)
 |  | 
	| 08.05.2013 19:49 |  | 
	
		| Reinc   
 Posts: 145
 
 | 
			| 
 
				Может добавите отключаемый скрипт на строительство новых городов как в "Master of Puppets"?
			 |  | 
	| 09.05.2013 16:55 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 |  | 
	| 10.05.2013 19:35 |  | 
	
		| kswdiy   
 Posts: 33
 
 | 
			| 
 
				 (10.05.2013 19:35)Berserker Wrote:  http://wikisend.com/download/566278/ChineseUpdate.rarUse era.dll and wogcn.dll from this archive + not _RBK fonts.
 
Good! 
but it's only GB font.
 
How long can you make support GBK and GB fonts?
 
I found that use " {...} " can only support 52-byte length of the letters or numbers. 
Chinese characters can only support 18-byte Chinese characters. 
Equivalent to 36 letters or numbers.
 
Right-click on the small map display the dialog box
   
This is my test chinese color erm:
https://www.box.com/s/za2cfjm8ljxgm35s88pn 
				
(This post was last modified: 11.05.2013 17:22 by kswdiy.)
 |  | 
	| 11.05.2013 14:02 |  | 
	
		| Reinc   
 Posts: 145
 
 | 
			| 
 
				Quote:Всё можно )  
Не понял ответа.
			 |  | 
	| 11.05.2013 17:56 |  | 
	
		| Berserker   
   
   Posts: 16785
 
 | 
			| 
 
				Reinc, было не понятно, к кому Вы обращаетесь. Добавить можно, но только в качестве Вашей или чьей-нибудь ещё энтузиасткой работы.
 kswdiy, sorry, but code sources are awful. I was not able to understand what is mistaken in updated sources and what was planed. Numerous checks for $a0, 161?, $40, $41, <=, > and so on simply give no idea how do you exactly treat Chinese characters, especially when character with code less then 160 goes after character with code > 128. I didn't understand why you use VirtualProtect on DDraw surface. Thus I've chosen the smallest and more stable variant for GB fonts.
 
 In old sources Chinese character code starts from 161 for GB fonts. In new sources you check the first character to be > 128 and the next one to be > 160 for both fonts. But GB font handler subtracts 160 from both characters, thus is buggy. And so on and so force.
 
 I will look into the script when there is free time.
 
 Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
 Поддержать проект
 
 |  | 
	| 11.05.2013 19:49 |  | 
	
		| kswdiy   
 Posts: 33
 
 | 
			| 
 
				1.128 and 160 is for GBK character encoding 
2.h3wcmped.exe
  
It‘s about of h3wcmped.exe load languge txt files: 
zcmpus.txt 
zcmpedtr.txt
 
must be in the "..\data\H3bitmap.lod"
  
I hope you can fix it. 
As h3wmaped.exe load *.lod and *.pac files.
			
				
(This post was last modified: 15.05.2013 12:11 by kswdiy.)
 |  | 
	| 15.05.2013 12:02 |  |