正在进行汉化 提取猫版已经汉化的按键 但是中文上面竟然还有英文 晕过去~~~ 每个中文都是这样。。。。我哪里出问题了???
不清楚,应该是修改了GUI。英文版TA是用字母+普通按键的方式。要中文化按键,需要修改主程序和GUI。
主程序中包含字母的地方全部用空格代替,原来是普通按键图片的地方换成特定按键图片。
例如主界面按键中的“single”要改成单人游戏。就需要在对应的GUI中把”single“用空格替代,这样才会不出现英文。
下面是主界面main.gui
[GADGET0]
{
[COMMON]
{
id=0;
assoc=205;
name=Mainmenu.GUI; //////////////这个确定这个文件是主界面
xpos=0;
ypos=0;
width=640;
height=480;
attribs=52685;
colorf=52685;
colorb=52685;
texturenumber=0;
fontnumber=-51;
active=1;
commonattribs=-51;
help=;
}
totalgadgets=5;
[VERSION]
{
major=-51;
minor=-51;
revision=-51;
}
panel=;
crdefault=;
escdefault=;
defaultfocus=SINGLE; //////////////默认按键,按回车默认会按的键
}
[GADGET1]
{
[COMMON]
{
id=1;
assoc=126;
name=SINGLE; /////////////////////这句确定这是单人模式的按键
xpos=139; /////按键X坐标
ypos=393; //////////按键Y坐标
width=96; ///////////按键宽度
height=20; /////////////按键高度
attribs=2;
colorf=0;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=54;
help=;
}
status=0;
text=SINGLE; ///////就是这里,单人游戏的英文文字
quickkey=83; ///////按键的快捷键,83好像是s键
grayedout=0;
stages=0;
}
[GADGET2]
{
[COMMON]
{
id=1;
assoc=126;
name=MULTI;
xpos=139;
ypos=430;
width=96;
height=20;
attribs=2;
colorf=0;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=54;
help=;
}
status=0;
text=MULTI; ///////////////////多人游戏的英文文字
quickkey=77;
grayedout=0;
stages=0;
}
[GADGET3]
{
[COMMON]
{
id=1;
assoc=126;
name=INTRO;
xpos=409;
ypos=393;
width=96;
height=20;
attribs=2;
colorf=0;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=54;
help=;
}
status=0;
text=INTRO; //////////////////////过场动画的文字
quickkey=73;
grayedout=0;
stages=0;
}
[GADGET4]
{
[COMMON]
{
id=1;
assoc=126;
name=EXIT; ///////////////这个确定这是退出键
xpos=409;
ypos=430;
width=96;
height=20;
attribs=2;
colorf=0;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=54;
help=;
}
status=0;
text=EXIT; ///////////////////退出的英文文字
quickkey=69;
grayedout=0;
stages=0;
}
[GADGET5]
{
[COMMON]
{
id=5;
assoc=243;
name=DebugString;
xpos=320;
ypos=300;
width=300;
height=0;
attribs=80;
colorf=15;
colorb=0;
texturenumber=101;
fontnumber=0;
active=0;
commonattribs=-109;
help=;
}
text=Debug Build;
link=;
}
TA界面改造快捷键对应数字
97-a
98-b
99-c
100-d
101-e
102-f
103-g
104-h
105-i
106-j
107-k
108-l
109-m
110-n
111-o
112-p
113-q
114-r
115-s
116-t
117-u
118-v
119-w
120-x
121-y
122-z
谢谢 我研究一下 如果talon汉化版也提取失败的话 我就只能按照你说的做了
一些界面上的字符是保持在TA的主程序中的,需要用图片来代替文字的话,也要修改TA的主程序中的字符串。
你QQ多少?我想联系你 我用你的方法 查看了talon汉化时的一个bug 中途退出游戏时的“restart”按键 问题也是出在中文字上有英文。这是exitmenu.gui的代码
[GADGET0]
{
[COMMON]
{
id=0;
assoc=205;
name=HEADER; /////////////////////很奇怪这里怎么是header,照你上面说应该是exitmenu.gui呀
xpos=279;
ypos=117;
width=150;
height=155;
attribs=52685;
colorf=52685;
colorb=52685;
texturenumber=0;
fontnumber=-51;
active=-51;
commonattribs=-51;
help=;
}
totalgadgets=4;
[VERSION]
{
major=-51;
minor=-51;
revision=-51;
}
panel=;
crdefault=;
escdefault=;
defaultfocus=;
}
[GADGET1]
{
[COMMON]
{
id=1;
assoc=243;
name=MAINMENU;
xpos=16;
ypos=20;
width=120;
height=20;
attribs=2;
colorf=15;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=0;
help=;
}
status=0;
text=;
quickkey=0;
grayedout=0;
stages=0;
}
[GADGET2]
{
[COMMON]
{
id=1;
assoc=243;
name=EXITGAME;
xpos=16;
ypos=50;
width=120;
height=20;
attribs=2;
colorf=15;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=0;
help=;
}
status=0;
text=;
quickkey=0;
grayedout=0;
stages=0;
}
[GADGET3]
{
[COMMON]
{
id=1;
assoc=243;
name=CANCEL;
xpos=15;
ypos=123;
width=120;
height=20;
attribs=2;
colorf=15;
colorb=0;
texturenumber=0;
fontnumber=0;
active=1;
commonattribs=0;
help=;
}
status=0;
text=;
quickkey=0;
grayedout=0;
stages=0;
}
[GADGET4]
{
[COMMON]
{
id=1;
assoc=243;
name=RESTART;
xpos=15;
ypos=81;
width=120;
height=20;
attribs=2;
colorf=15;
colorb=0;
texturenumber=0;
fontnumber=0;
active=0;
commonattribs=0;
help=;
}
status=0;
text=; ///////////////////////这里空格空掉了呀
quickkey=0;
grayedout=0;
stages=0;
}
我截图给你,就是中途退出游戏的那个那个界面
用HEADER也可以,这个东西不是很重要
RESTART 应该是在主程序(位置105350)里面,有部分东西没有做成GUI,可能是开发者偷懒或者忘记了。
刚刚证实,RESTART就是需要在主程序里改,位置105350
主程序字符串在哪里?
主程序(位置105350) 在哪里? 主程序 是不是指图标的16位代码???用UE编辑的那个???
用HEdit打开主程序,第105350行,看到restart就是这个。
或者搜索Restart,搜到的那个在第105350行,就是了,用空格替换掉就行。
主程序指的是图标对吗?我用UE编辑 应该也可以吧?
成功了 用ue修改的 只不过 退出时 还有一个yes 和no 要我选择依然是被英文覆盖着 所以我想知道你是怎么查到的?万一遇到类似的问题 我自己就可以解决了 是用heditor搜索“restart”???
同时打开猫版和原版,在原版搜索YES和no,搜到以后,对比猫版相同位置,如果猫版的是空的,就找对了。
高手~~求QQ