Skip to content

Commit 27993d9

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

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@
1111

1212
OpenTTD 在 GitHub 的文档中提供了一个 [https://github.com/OpenTTD/OpenTTD/blob/master/docs/compiling_lang_files.md lang文件编译指南(en)]。
1313

14-
2024-12-17更新:
15-
#截至 2024 年 12 月 17 日,要将 openTTD 的[https://github.com/OpenTTD/OpenTTD/tree/master/src/lang 语言文件]编译成 .lng 文件,需要使用源码中包含的 strgen 工具。
16-
#要使用 strgen 工具,首先要在电脑上搭建 OpenTTD 的编译环境(C++),可以参考 [https://github.com/OpenTTD/OpenTTD/blob/master/COMPILING.md OpenTTD GitHub 编译文档]
17-
这是在Windows环境下的过程:
18-
#安装 C++(可以下个 Visual Studio 2022 社区版)、CMake 和 vcpkg
19-
#配置好环境变量,确保命令行能够识别 cmake、vcpkg 等命令。
20-
#根据电脑情况(32 位还是 64 位) 输入
21-
#** .\vcpkg install --triplet=x86-windows-static
22-
#** .\vcpkg install --triplet=x64-windows-static
2314

2415
== 总体设计 ==
2516

0 commit comments

Comments
 (0)