ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.66k stars 616 forks source link

[HL] (UTF-8/UNICODE bug) Doesn't show text in the HUD when play as TChinese #1520

Closed deept-mods closed 9 years ago

deept-mods commented 10 years ago

TChinese Version Doesn't show text in the HUD You can test in training room.

See normal example link: http://i1.ytimg.com/vi/JCEtxaTTcxE/maxresdefault.jpg

I mean it should show out something like "HAZARD COURSE". or "按下向前移動鍵以向前移動 按下向後移動鍵以向後移動 按下向左移動鍵以向左移動 按下向右移動鍵以向右移動"

But now it shows such as "T0A0TITLE" , "HZMOVE".

you can search "HZMOVE" it in "X:\Steam\steamapps\common\Half-Life\valve_tchinese\titlee.txt" I think the problem is in the file.

It shows perfect i remeber is build 4554... or 3939 now, the all GoldSrc engine game have problem like this

Even the use the command "exec xxx.cfg" in UTF-8, (it can let you show chinese or japanese by using utf8 out put in chat), Now, it is not working....

tschumann commented 10 years ago

Are you sure this used to work? I thought the HUD text was ASCII only.

deept-mods commented 10 years ago

DOD, CZ and CS have TChinese version. The HUD shows fine.

If not, why Steam's HL have TChinese version?? and have "X:\Steam\steamapps\common\Half-Life\valve_tchinese\titlee.txt" this file?

I will finding some screenshot to make sure it's works or not. But anyway, It's still bug tho.

sorry for my bad english~


2015/03/02 Any Update?!

deept-mods commented 9 years ago

I found this DOD sample on some web: http://www.99danji.com/upload/20117/2011070834850753.jpg In DOD or CS1.6 or CZ, the White or Green words shows fine. But in HL1 it shows "T0A0TITLE" , "HZMOVE".

alfred-valve commented 9 years ago

Half Life does not have support for non-latin characters in its main HUD.

deept-mods commented 9 years ago

If HL does not support it. So why is the file translate for? "X:\Steam\steamapps\common\Half-Life\valve_tchinese\title.txt" Should keep this file english without translate!! Not just showing the "T0A0TITLE" , "HZMOVE".

Many thanks