这个工具可以把Wintermule引擎的所有对话文本导出为csv格式,翻译完用来检查是再方便不过了。3 R) q& i) J+ x7 W
用法:拷贝在项目路径下,就是和*.wpr在一起,执行后会生成TALKLIST.CSV。
" P: E M$ C% n, }4 n/ B2 K# F+ }. e
原文:
% c) h6 O/ H* v) |I wrote a little app yesterday that scans all script files in a wintermute project for talk lines and extracts the following data to a CSV table:
7 e& Q: D% F( s2 y& {* e7 ~( _6 f! E [, M/ O& ~+ `9 ^* [
1. field => Folder where the scanned script is located
2 b0 r" o2 V0 X) E2. field => Script name (the name of the script where this talk line is from)& l8 T3 ?) a# e" U! ?
3. field => Line number of the talk line in the script
" I( z9 Q) E3 V9 K# O4. field => Speaker (name of the in-script object that speaks)* C3 d% f$ V, s
5. field => Reference to STRING.TAB (for example: /SYSENG0503/) if there is one
3 b4 {! }; s7 E, W9 J6. field => The subtitle text (that is shown on screen)
) ^. h2 S: F0 m' ^2 [7. field => Speech audio file (if there is one)
5 \ Z6 U% u5 U1 n I2 ^
3 r9 l! ^. V& M! S/ TFor me, this is very very handy because you can directly see missing speech files, or get an overview how far I am with my translations in the string.tab file. I'm sure someone else will have a use for it, too.6 S3 M* h( L7 W/ Z4 O, f u
3 z9 F8 E4 a p7 g7 H
Just copy the app to your projects folder (where your *.wpr file is) and run it. It will create a file called TALKLIST.CSV. |