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

请教图片字库的问题

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

请教图片字库的问题

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

请教图片字库的问题

小弟最近刚接触汉化,先拿一个游戏上手4 I9 q# Z9 s9 k& }& l/ i
作者原文说
( \& s# x2 m/ l1 @If you wish to add support for a new language, just define the new language code, and translate each phrase.
  ?- `# I2 s$ W9 }. W: [! ?! `8 P需要添加中文编码(?)4 s' J8 P+ u+ D4 K) S( @
他的字库文件是BMP格式如下图
; }' a4 s' `" B2 T6 `( }6 b4 s2 g/ J' t; j& A/ }* Y4 \
' R( E3 i% Z& B( q0 ?. [1 p6 ]: F
那么 我要汉化他 是不是需要一个相同的BMP文件?(文件大小?像素大小?字体大小?)
  q1 j% J6 ~2 K5 o3 m6 c& `6 T9 L如果用FontEditor制作这样一个图片 还需要做什么?对应编码?如果需要该怎么做?
& s" Q1 c/ \* K& n9 h
% }* P% k) |9 j: K- ?9 I困惑中 谢谢指教 ; \/ A3 j6 q% `/ J: V) Q1 ^- l
======================================================================
. X9 r% ]9 a! l/ l另外 我做了一个这样的bmp文件 可是在游戏中显示的是一片模糊。。。
' j7 n. i+ U7 b很奇怪 菜单部分 可以显示 其他内容部分都是一片模糊(使用游戏自带的俄语的图片字库 界面也能显示中文)
& \+ P( U. H  x( l
, W+ t5 s, z; b/ d% I3 [$ E, s6 H1 b. m" i$ @) |
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享分享 很美好很美好 很差劲很差劲
回复

使用道具 举报

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

使用道具 举报

板凳
 楼主| 发表于 2009-4-24 18:03 | 只看该作者
好的~
2 v& K) r' u$ T! f$ F我自己做的就不传了 帮忙分析下他的字库吧

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

地板
发表于 2009-4-24 18:45 | 只看该作者
很正常的图诶...
4 F* R( O3 A# ?7 P0 j$ {你是用现成工具搞的字库,还是自己生成的- N: l; X: A+ T/ p9 h4 m2 i) `" u
我猜你的图片矢量少注意了一个地方~~呵呵~" A6 N" g- w3 X) Z* I) o
既然你维护自己滴知识产权,俺也维护一下~
回复 支持 反对

使用道具 举报

5#
 楼主| 发表于 2009-4-24 19:27 | 只看该作者
引用第3楼firendless于2009-04-24 18:45发表的  :9 v" g" X$ M$ d3 y+ |1 X; m  v
很正常的图诶...1 W5 Q7 V: y: [& J9 H2 C
你是用现成工具搞的字库,还是自己生成的6 U/ U: t7 S5 X) s- s$ R
我猜你的图片矢量少注意了一个地方~~呵呵~
0 a9 u. c9 x1 |* D( ~& `既然你维护自己滴知识产权,俺也维护一下~

( S( j5 d: v3 B2 G. ]  C汗。。。我不是维护什么知识产权。。。
0 @0 x6 c5 ^& N3 S7 t2 y我是用FontEditor生成的图片字库 里面的字是汉化用到的字7 A# p. h5 J+ b, J/ D9 l
但是用FontEditor确没办法生成含有数字 英文字母和半角符号 % W; y/ ?8 D4 T1 |! x' ^
自知不对所以不敢献丑。。。
6 ~% E; Q/ n' [8 q: q
% m' v* A0 r5 E: `; Q( I我生成的字库 需要和他的字库像素大小相同吗?还有字号 间距都需要相同?
回复 支持 反对

使用道具 举报

6#
发表于 2009-4-24 19:27 | 只看该作者
// Hacker Evolution language and localization file/ g2 ~. m$ x0 t2 q
//
8 A4 k! C6 z: i6 x1 y// The syntax of the file is simple and straightforward. All languages are defined in the first part of the file
4 D- Z! ~' n9 |// in the [LANGUAGES] section. Then, all strings are defined in all defined languages, in the same order in which( S& k  u6 W9 D( p( \, M
// the languages were defined, enclosed between [STRING][/STRING] tags.
* G1 c% @/ [3 l" H# E//
, T- `8 H4 q( e// If you wish to add support for a new language, just define the new language code, and translate each phrase.
) S: Y" E7 _% T; `  t2 O( K) x// In case there are errors (missing translations, etc), the game will use the default language string, which is the
. _( P2 P- i& S8 {# V4 J// first language defined. Any errors or warnings can be found in the "language.log" file, in the game folder.
- P8 ~( h9 a6 `1 t# e// You can check that file to make sure your translation is correct, and that there are no errors.1 y8 N( Q: m4 Z" F5 P
//
. u1 S; `* [1 R// Any new language you add, is automatically recognized by the game, and can be selected in the options menu.5 o: |$ }& k& P3 R; z$ u( r8 c3 J0 I
// Please make sure that english is always left as the first language.
$ U5 v1 r, I8 ?8 \; n//
: g. Y, l$ D; v$ N" z. _// If you need any help, or if you wish to contribute with a new translation, just send an email to: [email protected]6 F, N: J- b7 @) x0 X) @5 G+ v
//
4 r3 T9 I1 H& o8 Y: O// Note: You can add comments anywhere in this file, but DO NOT add comment or empty lines, between the tags./ A5 E2 E' N9 M6 S
" [; t7 V. M1 m' C( ~' V& Y2 u
// Leave this one untranslated. It's needed inside the game to identify languages& H# V+ y* E, A7 I. W
// 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日,是全球华人共同的冒险解谜类游戏家园。我们致力于提供各类冒险游戏资讯供大家学习交流。本站所有资源均不用于商业用途。

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