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

请教图片字库的问题

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

请教图片字库的问题

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

请教图片字库的问题

小弟最近刚接触汉化,先拿一个游戏上手
# T6 a. }7 M! v, ?( r; f+ a5 {作者原文说# w2 ~! a5 o. g' D
If you wish to add support for a new language, just define the new language code, and translate each phrase.# f! u3 s2 l; ?. S, H
需要添加中文编码(?)
. b" x9 F& I% J; F他的字库文件是BMP格式如下图
0 Y. u$ ~3 f8 @4 H0 P* D$ M( Y& A
, U1 d/ g: U  E4 |4 _
那么 我要汉化他 是不是需要一个相同的BMP文件?(文件大小?像素大小?字体大小?)4 T' ^1 Z1 O. f+ _! c3 B
如果用FontEditor制作这样一个图片 还需要做什么?对应编码?如果需要该怎么做?
2 F; U- X$ ?/ e; j6 Z) `: L5 }
/ O$ \  p5 k1 z" F# F困惑中 谢谢指教 ) {  _* q: ^% k* v
======================================================================
& S, ~3 O. Y( y8 h另外 我做了一个这样的bmp文件 可是在游戏中显示的是一片模糊。。。3 }& B" g* e; ^* B. f3 ^
很奇怪 菜单部分 可以显示 其他内容部分都是一片模糊(使用游戏自带的俄语的图片字库 界面也能显示中文)
2 ~) J7 P/ f9 a  L0 y- l
! L6 g4 @" ^- |* U6 Q* w1 J1 P" t5 y+ N* ^- E' j- h# n) j
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 很美好很美好 很差劲很差劲
回复

使用道具 举报

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

使用道具 举报

板凳
 楼主| 发表于 2009-4-24 18:03 | 只看该作者
好的~. @- g5 n; ]1 v% p4 P
我自己做的就不传了 帮忙分析下他的字库吧

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

地板
发表于 2009-4-24 18:45 | 只看该作者
很正常的图诶...
  q) C0 \: A% X8 j3 o你是用现成工具搞的字库,还是自己生成的
6 E& i; p6 ^& ~4 k3 _! G我猜你的图片矢量少注意了一个地方~~呵呵~
2 H  U. y" X5 s+ {# w$ i, U/ L. o既然你维护自己滴知识产权,俺也维护一下~
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2009-4-24 19:27 | 只看该作者
引用第3楼firendless于2009-04-24 18:45发表的  :+ l/ B7 B( l3 h7 H0 Y
很正常的图诶...3 z" i& y, k1 i, z9 ^: V7 f: S
你是用现成工具搞的字库,还是自己生成的7 L4 }6 Y7 r: _6 |+ `1 g
我猜你的图片矢量少注意了一个地方~~呵呵~
6 u+ R. z/ H: a' l既然你维护自己滴知识产权,俺也维护一下~

0 F/ x5 x: l) @8 q4 a! a+ z0 J, t/ }汗。。。我不是维护什么知识产权。。。
7 M) G  [& k7 ?6 A( H* C我是用FontEditor生成的图片字库 里面的字是汉化用到的字
/ l: x* F# x' j3 V& V$ L但是用FontEditor确没办法生成含有数字 英文字母和半角符号
' u5 ^3 X! w- N* ?2 h自知不对所以不敢献丑。。。
5 ]( I4 z& c& o4 i
: C' V; F8 k' g2 x* `7 ?我生成的字库 需要和他的字库像素大小相同吗?还有字号 间距都需要相同?
回复 支持 反对

使用道具 举报

6#
发表于 2009-4-24 19:27 | 只看该作者
// Hacker Evolution language and localization file
  h  }6 P& W" Q$ y//
$ E4 y+ M: z: M- `, a// The syntax of the file is simple and straightforward. All languages are defined in the first part of the file2 m; l: t& y  {1 O" r
// in the [LANGUAGES] section. Then, all strings are defined in all defined languages, in the same order in which
/ t/ z  |/ a7 z// the languages were defined, enclosed between [STRING][/STRING] tags.0 \% K, V3 h( r) A! l' T
//
/ |# l- C; ~8 T; G// If you wish to add support for a new language, just define the new language code, and translate each phrase.
* p' c4 V8 I% g7 v( Z// In case there are errors (missing translations, etc), the game will use the default language string, which is the3 {0 P. p2 Z9 m2 P2 K4 e) d6 x
// first language defined. Any errors or warnings can be found in the "language.log" file, in the game folder.# }) N& J  l/ \% D1 C4 R! p
// You can check that file to make sure your translation is correct, and that there are no errors.
( F- _! j; Y$ o$ b8 P- z# t7 ^//
% h& h5 n. z) @4 E+ o+ z// Any new language you add, is automatically recognized by the game, and can be selected in the options menu.
3 e  D4 U* O7 w% M/ F6 b// Please make sure that english is always left as the first language.
6 R' ]' G* g+ e& L; w3 C6 R- F//
& k2 k# @  L4 @8 r* v7 ~// If you need any help, or if you wish to contribute with a new translation, just send an email to: [email protected]
4 d( M) A2 P- ^//
( G# T* F1 Z: V) s2 ^" m: P7 S// Note: You can add comments anywhere in this file, but DO NOT add comment or empty lines, between the tags.3 K3 |' H" o5 F) [  k
+ e$ @8 g2 _4 L: ~* C
// Leave this one untranslated. It's needed inside the game to identify languages
' E* y2 c# g: V% }// 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日,是全球华人共同的冒险解谜类游戏家园。我们致力于提供各类冒险游戏资讯供大家学习交流。本站所有资源均不用于商业用途。

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