这个工具可以把Wintermule引擎的所有对话文本导出为csv格式,翻译完用来检查是再方便不过了。; Y% u2 v3 p" d* O; Z
用法:拷贝在项目路径下,就是和*.wpr在一起,执行后会生成TALKLIST.CSV。
" u/ \; ^; s& n9 ?) K, _; J6 ~- `) o6 J) W8 Y: Q! N6 s0 g4 ^% L' s
原文:4 X8 w/ J' i! u 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:
# Z9 r0 i& z( t* F9 d# d, k+ D' N* F8 p
1. field => Folder where the scanned script is located/ A, r# K h) y' a7 r
2. field => Script name (the name of the script where this talk line is from)
" W' Z( D2 W. B3. field => Line number of the talk line in the script/ `) Z# `9 x' H2 z+ X, b' H
4. field => Speaker (name of the in-script object that speaks)# @3 U( `+ t: c- ?+ r0 P Z
5. field => Reference to STRING.TAB (for example: /SYSENG0503/) if there is one; ^5 _2 a2 c0 w3 w
6. field => The subtitle text (that is shown on screen)
7 V' t- ?& e6 _( C+ f3 z+ B7. field => Speech audio file (if there is one)7 T) C. P4 k: L
$ J, V" P7 r: O# T* B8 U
For 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.9 i( B9 r( D+ V9 S0 E
2 t7 d1 X3 R9 U3 h+ d5 [Just copy the app to your projects folder (where your *.wpr file is) and run it. It will create a file called TALKLIST.CSV. |