# r% P/ x1 b) O5 m" Hhttp://www.aluigi.org/mytoolz.htm2 V( g0 s9 ?$ o {6 p2 B
Executable's strings lister and replacer 0.2.3 (exestringz) .image.6 L- i3 B: C; c# x- M& \4 f/ \7 j
this tool has the main purpose of finding any ASCII and unicode string inside PE and ELF executables with the possibility of modifying them using any external text editor and re-injecting them in the original executable. & @* y1 X: N% \# y5 ytechnically the finding of the strings works in the following way: it disassembles all the executable sections of the input file (like .text, only x86 32 bit supported) and visualizes any string or any array of strings, so any instruction like push "string" or mov eax, "string" or mov eax, "[4*edx+array]" and so on is handled perfectly.7 W+ b# K. E; S) E9 T! U J
instead the injecting of the modified strings back in the executable (ELF not supported) is performed through the adding of a new "stringz" section which contains all the new strings and the substituiting of all the pointers to those strings collected in the "finding" operation with the new ones (relocation). $ C, o6 x7 \' ]5 p$ p1 i3 wthe tool can be also used as a quick and advanted strings program (the one available on *nix) with the difference that the strings found by exestringz are not casuals but are found and confirmed by the disassembled code avoiding false positives.+ e. j, ~: N' x$ f$ P
anyway through the -b option the tool can acts exactly like the strings program and naturally can also re-import the modified strings. 9 S7 F' b; ^" ^, g* y7 P' B" f. athere is also an "experimental" option specific for the asian utf8 which was also the reason of the initial creation of this tool for the translating of a japanese game. 8 x7 z& r# O8 s" B9 R* tnote that for obvious technical reasons is not possible to export and reimport ever all the strings for any executable because in some cases (usually with big programs) could be generated false positives, anyway the output file generated by the tool is very easy to understand and edit so it's not a problem.( Y) |1 H1 q( C
technical limitations:: m" t! D) t7 J+ q* {: x. Q
% n7 ]3 x; t& ^2 }the end_of_line (carriage return/line feed) is left as was in the original string, so the result is that the output file could have a "mixed" style of unix ('\\n') and windows ('\\r\\n'), and some text editor could try to convert the whole text in or the other style causing troubles (for example overwriting other strings or resources in the executable) 5 z+ x8 \6 a! b' q' s" m+ Y( ?* G- P" `
the recognization of the english strings is ok since that charset is enough limited but for the others it's just a chaos anyway the tool is still a work-in-progress...作者: shane007 时间: 2009-7-11 14:03
你把脚本文件改为exe ,修改完毕再改过来即可。作者: jimi 时间: 2009-7-12 13:25
初步汉化效果是这样的: ' \& }% E. ]" E1 {% D
! Z/ w8 l4 [" D- |画面下方的动作按钮需要改图 " |# u$ l* d D( W9 L
) k% ]+ Y/ u! }3 u另外那个软件我不会用,命令行看了头疼啊作者: shane007 时间: 2009-7-12 13:35
OK,收到。 / }/ u9 h/ z3 r& Q接下去我会研究一下的,方法应该不少,要找出最高效的方法需要花点时间。 ! O% _4 d1 v0 a- v ; C, s7 ]* c( q对了,最近估计有几个scummvm的游戏都能实现汉化了,你能不能先把这个WME的游戏暂停一下。先汉化一个scummvm的游戏?是纯翻译,技术上基本没什么问题,也很简单。1 t6 D* m$ G' I. P L
8 u& o( p g6 H+ ^* H# c
内嵌字幕的WME游戏,等我研究出比较简单的方法你再继续。你看如何?作者: jimi 时间: 2009-7-12 13:42
那个我英文水平不行啊,怕太难的句子翻译不出,所以才研究WME里比较小巧的游戏,如果scummvm有文字量少的游戏,我可以接手作者: shane007 时间: 2009-7-12 13:49
是这样啊? 那就不免为其难了。) |( ]. G4 O J1 ]( y S
我会尽快设计开发一个工具的。不过最快也要等到下个周末。 # d- l3 C, u% I! |* W. } 5 ]! z! Y- _" i另外,山姆和迈克的字幕我放出来了,你可以看看。是不是你想的那么难。4 ]/ @0 T- s' a: ]& R https://www.chinaavg.com/read.php?tid=18004