设为首页收藏本站官方微博

请教图片字库的问题

[复制链接]
查看: 1531|回复: 6
打印 上一主题 下一主题

请教图片字库的问题

跳转到指定楼层
楼主
发表于 2009-4-24 16:29 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

请教图片字库的问题

小弟最近刚接触汉化,先拿一个游戏上手1 `# z; f! a& v7 f6 A- J
作者原文说& B8 ~0 O6 y9 n9 l% p) T: E
If you wish to add support for a new language, just define the new language code, and translate each phrase.
  g+ _! w9 j( s: N. j需要添加中文编码(?): n+ l7 E8 v$ V& \, l/ }
他的字库文件是BMP格式如下图8 [, ~/ r" R% a! D/ U/ a4 A
9 ^/ w9 k/ S5 x0 T7 R4 P! Y
$ H. C4 o( S$ h( ]
那么 我要汉化他 是不是需要一个相同的BMP文件?(文件大小?像素大小?字体大小?)
0 p* h* x7 D0 v. H8 u. N如果用FontEditor制作这样一个图片 还需要做什么?对应编码?如果需要该怎么做?
& R5 ~2 s+ r" m7 {& C' d' @
; l! C, J# o0 I( O6 N2 r困惑中 谢谢指教   B7 a6 H) ], T
======================================================================
+ I' ^0 H" s: U! V, b另外 我做了一个这样的bmp文件 可是在游戏中显示的是一片模糊。。。
& o+ w+ N- z" J8 _0 a" ]8 U3 B很奇怪 菜单部分 可以显示 其他内容部分都是一片模糊(使用游戏自带的俄语的图片字库 界面也能显示中文)
. K- V" Y* I# B, f1 x2 w; [& F8 N4 m& P- N  Q, C4 i6 E( r
3 A: |5 ~* _# b) W
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 很美好很美好 很差劲很差劲
回复

使用道具 举报

沙发
发表于 2009-4-24 17:18 | 只看该作者
讨论的话,可以把两个图片发上来么...压缩包...
回复 支持 反对

使用道具 举报

板凳
 楼主| 发表于 2009-4-24 18:03 | 只看该作者
好的~
$ m2 b9 k- N) E$ n' [1 y7 E" m我自己做的就不传了 帮忙分析下他的字库吧

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复 支持 反对

使用道具 举报

地板
发表于 2009-4-24 18:45 | 只看该作者
很正常的图诶...
- j; \+ m) q  }* \; h  U你是用现成工具搞的字库,还是自己生成的$ ]0 q5 I- x- n# X& a5 q. O
我猜你的图片矢量少注意了一个地方~~呵呵~: Y8 R- p' ?& r
既然你维护自己滴知识产权,俺也维护一下~
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2009-4-24 19:27 | 只看该作者
引用第3楼firendless于2009-04-24 18:45发表的  :5 l2 d: I% n; R) q
很正常的图诶...1 O1 `0 l$ V& X" J
你是用现成工具搞的字库,还是自己生成的6 M: N; _5 ~& q0 y
我猜你的图片矢量少注意了一个地方~~呵呵~
1 k. d3 A0 y* j! g8 U# a既然你维护自己滴知识产权,俺也维护一下~
0 M' E% D' m7 @
汗。。。我不是维护什么知识产权。。。! W4 z+ ?+ h/ {2 w2 L
我是用FontEditor生成的图片字库 里面的字是汉化用到的字9 h1 G( d) D& Z! G- K, k
但是用FontEditor确没办法生成含有数字 英文字母和半角符号 * u4 N3 O4 \' X
自知不对所以不敢献丑。。。
# s: U* C6 F5 g" M% A: K$ W9 ]: I; u9 V0 I8 o
我生成的字库 需要和他的字库像素大小相同吗?还有字号 间距都需要相同?
回复 支持 反对

使用道具 举报

6#
发表于 2009-4-24 19:27 | 只看该作者
// Hacker Evolution language and localization file* _' \% r  c. J- M3 ^
//
+ n' F, C5 R; r$ P: G/ _// The syntax of the file is simple and straightforward. All languages are defined in the first part of the file7 I6 }  W; q  F. B" ?2 t% N" Z
// in the [LANGUAGES] section. Then, all strings are defined in all defined languages, in the same order in which, W, y* e- I/ _! l% h: X
// the languages were defined, enclosed between [STRING][/STRING] tags.# w4 L2 [3 d3 I3 ^9 |
//* J. s1 y, F$ N4 G( C5 c2 ]* `) P) @
// If you wish to add support for a new language, just define the new language code, and translate each phrase.( P$ B' p5 s4 L8 `4 e7 S
// In case there are errors (missing translations, etc), the game will use the default language string, which is the$ ]3 Z3 j1 _+ R  a! o7 ^2 F) U
// first language defined. Any errors or warnings can be found in the "language.log" file, in the game folder.
( T) p) }: ~6 c9 ~% K: c// You can check that file to make sure your translation is correct, and that there are no errors.
% ~8 K6 @9 q/ f% K: c( P! U, ^2 k//
8 a. E2 M* D9 p// Any new language you add, is automatically recognized by the game, and can be selected in the options menu.
; @2 S) L2 k9 ?// Please make sure that english is always left as the first language.
* `& I! _0 ~" a1 W//
1 }4 A& u2 {& h2 W, J// If you need any help, or if you wish to contribute with a new translation, just send an email to: [email protected]8 s, w2 @! m1 G( Y/ T
//
* w* y/ t+ X, r; _# M# y// Note: You can add comments anywhere in this file, but DO NOT add comment or empty lines, between the tags.
$ w$ |$ n! Y- N/ D3 i" O; [$ a$ [# m1 n4 P
// Leave this one untranslated. It's needed inside the game to identify languages* P$ p, q$ Q" b$ u& E0 e# a; }1 E# Q
// Below this is the actual translation displayed in the game
回复 支持 反对

使用道具 举报

7#
发表于 2009-4-24 19:28 | 只看该作者
自己用程序paint一幅就好了,不过呢,汉字数量暴多,得再做一个程序挑选出文本中使用的,否则,,,等到卡机...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

冒险解谜游戏中文网 ChinaAVG

官方微博官方微信号小黑屋 微信玩家群  

(C) ChinaAVG 2004 - 2019 All Right Reserved. Powered by Discuz! X3.2
辽ICP备11008827号 | 桂公网安备 45010702000051号

冒险,与你同在。 冒险解谜游戏中文网ChinaAVG诞生于2004年9月9日,是全球华人共同的冒险解谜类游戏家园。我们致力于提供各类冒险游戏资讯供大家学习交流。本站所有资源均不用于商业用途。

快速回复 返回顶部 返回列表