082010
 

OpenTTD是开源版本的《运输大亨》,这两天刚刚发布了 1.0.0,中文汉化很完整。经本人验证,使用官方提供的 deb 包安装后,对于中文的显示需要小小调整。本着 Mr’Hu 的 BuZheTeng 原理,现记录一下较为简单的安装过程。

下载 openttd 的 1.0.0 版本:http://binaries.openttd.org/releases/1.0.0/openttd-1.0.0-linux-ubuntu-karmic-i386.deb

使用命令 dpkg -i openttd-1.0.0-linux-ubuntu-karmic-i386.deb 安装。或双击 deb 文件,使用 GDebi 在图形界面下安装。安装过程可能提示软件库中有旧的版本,更为稳定,忽略不管即可。

安装好后,在终端执行 openttd 会报错“Error: Failed to find a graphics set. Please acquire a graphics set for OpenTTD. See section 4.1 of readme.txt.”。如果乐意,直接去看 readme.txt 的 4.1 节,或者照着下面的步骤做也不错。

下载:http://binaries.openttd.org/extra/opengfx/0.2.3/opengfx-0.2.3-all.zip

下载:http://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-0.2.3-all.zip

下载:http://binaries.openttd.org/extra/openmsx/0.2.1/openmsx-0.2.1-all.zip

解压缩。

在 $HOME/.openttd/ 下建立 data 目录。将上面解压缩的三个目录移入 $HOME/.openttd/data/ 中:

$HOME/.openttd/data/opengfx-0.2.3/
$HOME/.openttd/data/openmsx-0.2.1/
$HOME/.openttd/data/opensfx-0.2.3/

这时执行 openttd 就可以启动 OpenTTD 了。不过中文会是方块,如图:

需要修改 $HOME/.openttd/openttd.cfg 的 18 至 23 行,增加字体文件路径,例如我使用 uming 字体:

small_font = /usr/share/fonts/truetype/arphic/uming.ttc
medium_font = /usr/share/fonts/truetype/arphic/uming.ttc
large_font = /usr/share/fonts/truetype/arphic/uming.ttc
small_size = 12
medium_size = 14
large_size = 16

在进入 OpenTTD,世界清爽了:

  3 Responses to “Ubuntu 9.10 下安装 OpenTTD 1.0.0 中文版”

  1. hoho,不容易啊,Linux下的游戏质量逐渐在提高啊……

  2. 非常感谢,我copy了你的这篇安装指南。:)

  3. [...] 原文链接:Ubuntu 9.10 下安装 OpenTTD 1.0.0 中文版 [...]

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>