Skip to content

Commit 8af4869

Browse files
tinygroxLibrarian
authored andcommitted
modified: zh/Archive/源码/OpenTTD开发黑皮书/langfile格式
1 parent 27993d9 commit 8af4869

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Page/zh/Archive/源码/OpenTTD开发黑皮书/langfile格式.mediawiki

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
{{zh/过时信息|'''该内容指向了一个包含过时信息的链接(给出的strgen下载链接已经不可用)'''}}
1111

1212
OpenTTD 在 GitHub 的文档中提供了一个 [https://github.com/OpenTTD/OpenTTD/blob/master/docs/compiling_lang_files.md lang文件编译指南(en)]。
13-
13+
{{zh/尚未完成}}
14+
2024-12-17更新:
15+
#截至 2024 年 12 月 17 日,要将 openTTD 的[https://github.com/OpenTTD/OpenTTD/tree/master/src/lang 语言文件]编译成 .lng 文件,需要使用源码中包含的 strgen 工具。
16+
#要使用 strgen 工具,首先要在电脑上搭建 OpenTTD 的编译环境(C++)后单独编译 strgen,可以参考 [https://github.com/OpenTTD/OpenTTD/blob/master/COMPILING.md OpenTTD GitHub 编译文档]
17+
这是在Windows环境下的过程:
18+
#安装 C++(可以下个 Visual Studio 2022 社区版)、CMake 和 vcpkg
19+
#配置好环境变量,确保命令行能够识别 cmake、vcpkg 等命令。
1420
1521
== 总体设计 ==
1622

0 commit comments

Comments
 (0)