这个工具可以把Wintermule引擎的所有对话文本导出为csv格式,翻译完用来检查是再方便不过了。
& a% q* [4 {% U4 X用法:拷贝在项目路径下,就是和*.wpr在一起,执行后会生成TALKLIST.CSV。
0 {' J W! z$ ]' y3 ?
+ h& ~/ R8 E( M原文:" l1 ?$ u" E! v, w* z
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:
2 f# L x+ {# X7 m& d. V6 ~# d/ }% G# x. I
1. field => Folder where the scanned script is located2 @8 C. P/ v; Z4 u0 ^) }
2. field => Script name (the name of the script where this talk line is from)) k$ a" Y( L& y) p1 ~$ E
3. field => Line number of the talk line in the script
2 L' L4 m% Q7 C+ o# O6 k4 C! T: \4. field => Speaker (name of the in-script object that speaks)* P0 l$ @) z( K- G1 Q r0 ]
5. field => Reference to STRING.TAB (for example: /SYSENG0503/) if there is one) g6 i/ G$ ~: P
6. field => The subtitle text (that is shown on screen)/ q/ P5 Y% M0 t8 D3 z
7. field => Speech audio file (if there is one)) A! N2 T$ D% e- l0 G) k
5 ~$ ]4 ^) V& |8 j( _* O1 h$ N' @
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.
/ V( J5 C2 @. d) b- a4 a
8 q( K) S; t3 l1 f0 kJust copy the app to your projects folder (where your *.wpr file is) and run it. It will create a file called TALKLIST.CSV. |