type
Post
status
Published
date
Jan 18, 2023
slug
2023-01-18
summary
tags
工具
知识
category
技术分享
icon
password
Property
Jun 30, 2023 02:00 AM
VNTextPatch github项目
支持导出剧本的文件格式
Engine | Extension(s) | Remarks |
AdvHD | .ws2 | |
ArcGameEngine | .bin | |
Artemis | .asb/.ast/.txt | Append --format=artemistxt to command line for .txt |
Buriko General Interpreter/Ethornell | (none) | Append --format=ethornell to command line |
CatSystem2 | .cst | |
Cyberworks C,system | .a0 | |
KaGuYa | message.dat | |
Kirikiri | .ks/.scn/.txt | Append --format=kirikiriks to command line for .txt |
Majiro | .mjo | |
Musica | .sc | |
Mware | .nut | |
Propeller/Stuff Script Engine | .msc | |
RealLive | .txt | Append --format=reallive to command line |
Ren'Py | .rpy | |
ShSystem | .hst | |
Silky's/AI6WIN | .mes/.map | |
Qlie | .s | |
Softpal | script.src | Make sure text.dat and point.dat are available in the same folder |
SystemNNN | .nnn/.spt | |
TmrHiroAdvSystem | .srp/(none) | Append --format=tmrhiroadvsystemtext to command line in case of no extension |
Whale | .txt | Append --format=whale to command line |
YU-RIS | .ybn |
使用方法 命令行 导出extractlocal 导入insertlocal
Excel: VNTextPatch extractlocal <folder containing original game files> script.xlsx VNTextPatch insertlocal <folder containing original game files> script.xlsx <folder to receive patched game files> JSON: VNTextPatch extractlocal <folder containing original game files> <folder to receive .json files> VNTextPatch insertlocal <folder containing original game files> <folder containing .json files> <folder to receive patched game files> Google Documents: VNTextPatq
使用体验

上面的示例,那个ks文件,也可以使用文件夹,除了用命令行,有点麻烦之外,其他还好,关键是支持的文件类型挺多,建议导出json格式,导出后是这样的,这种格式,应该很方便的使用翻译君+正则表达式翻译了
(?<=:\s").+?(?=")
\\. 或这样更完美一点 [「」]|\\.


