OpenTTD

OpenTTD是基于"运输大亨豪华版"的开源模拟游戏。(OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe. )

Github stars Tracking Chart

OpenTTD是一个开源的模拟游戏,基于流行的 Microprose游戏“运输大亨豪华版”,由克里斯·索耶尔所写的。 它试图模仿并尽可能接近原始游戏,同时扩展新的功能。OpenTTD按照 GPL 2.0版授权。

OpenTTD 特性:

OpenTTD是由Chris Sawyer在原始的运输大亨游戏之后建模的,并大大提高了游戏体验。许多功能的灵感来自TTDPatch,而其他的是原创的。
原始游戏的显着增强包括:
  • 更大的地图(高达64倍的大小)
  • 稳定的多人模式为15家公司的255名玩家,或作为观众
  • 专用服务器模式和用于管理的游戏控制台
  • IPv6和IPv4支持客户端和服务器的所有通信
  • 在游戏下载AIs(),NewGRFs(新的图形资源文件),场景和高度贴图
  • 新的寻路算法,使车辆去你想要他们去的地方
  • 铁路公路两用车路的构建工具,提高土地形成
  • 运河,升降机,渡槽
  • 较大的,非均匀的站和将它们联接在一起的能力
  • 猛犸象和多头列车
  • 不同的可配置模型用于加速车辆
  • 克隆,自动更新和自动更新车辆
  • 在斜坡和海岸上建设的可能性
  • 高级/有条件订单,共享和复制订单
  • 更长和更高的桥梁,包括几个新的设计,以及在桥梁下的完全灵活的轨道/道路
  • 返工机场系统与更多的机场/直升机场(例如国际和大城市)
  • 前信号,信号量,基于路径的信令
  • 支持TTDPatch NewGRF功能提供了许多用于图形和行为配置/修改的选项
  • 有轨车辆和电车的直通道路停靠站
  • 在一个瓦片上的多棵树
  • 贿赂镇上的权威
  • 许多配置设置根据你的喜好来调整游戏
  • 保存游戏使用zlib压缩更小的尺寸,而不会打断游戏
  • 重要的国际化支持。 OpenTTD已经翻译成50多种语言
  • 动态创建18种语言的城镇名称,以及其他语言的NewGRF支持
  • 可自由分配的图形,声音和音乐
  • 框架为自定义(用户)书面AI
  • 在正常视图中进一步放大,并在小地图中缩小
大量的努力已经使OpenTTD易于使用。这些包括:
  • 转换轨道工具(电气化轨道,单轨轨道和磁悬浮轨道)
  • 拖放支持几乎所有的工具(拆除,道路/铁路建设/删除,站,场景编辑器等)
  • 基于各种标准(车辆,车站,城镇,行业等)对大多数列表进行排序
  • 鼠标滚轮支持(滚动菜单,放大/缩小)
  • 当鼠标靠近屏幕/窗口的边缘时自动滚动
  • 通过拖动整个火车到炸药垃圾桶
  • 使用'shift'键进行成本估计
  • 高级选项配置窗口,更改游戏内的设置
图形/界面功能:
  • 截图可以是BMP,PNG或PCX格式(在游戏选项菜单中选择)
  • 更多货币(包括2002年欧元介绍)
  • 额外的视口以同时查看游戏世界的更多部分
  • 全屏模式的分辨率和刷新率选择
  • 彩色报纸后一定的日期
  • 彩色编码车辆利润
  • 游戏速度提高(通过快进按钮或通过按TAB键)
  • snappy和粘性窗户,总是保持在顶部,整齐地对准自己与其他窗口
  • 更多的热键,甚至更少的鼠标点击
  • 支持32位图形
  • 支持从右到左的语言
  • 支持其他(大小)字体,其中用户界面根据字体和翻译进行缩放

(Details please visit official site, origin english url: http://www.openttd.org/en/about)

Overview

Name With OwnerOpenTTD/OpenTTD
Primary LanguageC++
Program languageSquirrel (Language Count: 14)
Platform
License:Other
Release Count215
Last Release Name14.0 (Posted on )
First Release Name0.3.4 (Posted on )
Created At2018-04-06 18:06:22
Pushed At2024-04-28 17:07:39
Last Commit At2024-04-28 16:03:29
Stargazers Count5.9k
Watchers Count106
Fork Count819
Commits Count29.2k
Has Issues Enabled
Issues Count8324
Issue Open Count156
Pull Requests Count3485
Pull Requests Open Count107
Pull Requests Close Count495
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

OpenTTD

Table of contents

1.0) About

OpenTTD is a transport simulation game based upon the popular game Transport Tycoon Deluxe, written by Chris Sawyer.
It attempts to mimic the original game as closely as possible while extending it with new features.

OpenTTD is licensed under the GNU General Public License version 2.0, but includes some 3rd party software under different licenses.
See the section "Licensing" below for details.

1.1) Downloading OpenTTD

OpenTTD can be downloaded from the official OpenTTD website.

Both 'stable' and 'nightly' versions are available for download:

  • most people should choose the 'stable' version, as this has been more extensively tested
  • the 'nightly' version includes the latest changes and features, but may sometimes be less reliable

On some platforms OpenTTD will also be available via your OS package manager or a similar service.

1.2) OpenTTD gameplay manual

OpenTTD has a community-maintained wiki, including a gameplay manual and tips.

1.3) Supported platforms

OpenTTD has been ported to several platforms and operating systems.

The currently working platforms are:

  • FreeBSD (SDL)
  • Haiku (SDL)
  • Linux (SDL)
  • macOS (universal) (Cocoa video and sound drivers)
  • OpenBSD (SDL)
  • OS/2 (SDL)
  • Windows (Win32 GDI (faster) or SDL)

1.3.1) Legacy support

Platforms, languages and compilers change.
We'll keep support going on old platforms as long as someone is interested in supporting them, except where it means the project can't move forward to keep up with language and compiler features.

We guarantee that every revision of OpenTTD will be able to load savegames from every older revision (excepting where the savegame is corrupt).
Please report a bug if you find a save that doesn't load.

1.4) Installing and running OpenTTD

OpenTTD is usually straightforward to install, but for more help the wiki includes an installation guide.

OpenTTD needs some additional graphics and sound files to run.

For some platforms these will be downloaded during the installation process if required.

For some platforms, you will need to refer to the installation guide.

1.4.1) Free graphics and sound files

The free data files, split into OpenGFX for graphics, OpenSFX for sounds and
OpenMSX for music can be found at:

Please follow the readme of these packages about the installation procedure.
The Windows installer can optionally download and install these packages.

1.4.2) Original Transport Tycoon Deluxe graphics and sound files

If you want to play with the original Transport Tycoon Deluxe data files you have to copy the data files from the CD-ROM into the baseset/ directory.
It does not matter whether you copy them from the DOS or Windows version of Transport Tycoon Deluxe.
The Windows install can optionally copy these files.

You need to copy the following files:

  • sample.cat
  • trg1r.grf or TRG1.GRF
  • trgcr.grf or TRGC.GRF
  • trghr.grf or TRGH.GRF
  • trgir.grf or TRGI.GRF
  • trgtr.grf or TRGT.GRF

1.4.3) Original Transport Tycoon Deluxe music

If you want the Transport Tycoon Deluxe music, copy the appropriate files from the original game into the baseset folder.

  • TTD for Windows: All files in the gm/ folder (gm_tt00.gm up to gm_tt21.gm)
  • TTD for DOS: The GM.CAT file
  • Transport Tycoon Original: The GM.CAT file, but rename it to GM-TTO.CAT

1.5) Add-on content / mods

OpenTTD features multiple types of add-on content, which modify gameplay in different ways.

Most types of add-on content can be downloaded within OpenTTD via the 'Check Online Content' button in the main menu.

Add-on content can also be installed manually, but that's more complicated; the OpenTTD wiki may offer help with that, or the OpenTTD directory structure guide.

1.5.1) AI opponents

OpenTTD comes without AI opponents, so if you want to play with AIs you have to download them.

The easiest way is via the 'Check Online Content' button in the main menu.

You can select some AIs that you think are compatible with your playing style.

AI help and discussions may also be found in the AI section of the forum.

1.5.2) Scenarios and height maps

Scenarios and heightmaps can be added via the 'Check Online Content' button in the main menu.

1.5.3) NewGRFs

A wide range of add-content is available as NewGRFs, including vehicles, industries, stations, landscape objects, town names and more.

NewGRFs can be added via the 'Check Online Content' button in the main menu.

See also the wiki guide to NewGRFs and the forum graphics development section.

1.5.4) Game scripts

Game scripts can provide additional challenges or changes to the standard OpenTTD gameplay, for example setting transport goals, or changing town growth behaviour.

Game scripts can be added via the 'Check Online Content' button in the main menu.

See also the wiki guide to game scripts and the forum graphics game script section.

1.6) OpenTTD directories

OpenTTD uses its own directory structure to store game data, add-on content etc.

For more information, see the directory structure guide.

1.7) Compiling OpenTTD

If you want to compile OpenTTD from source, instructions can be found in COMPILING.md.

2.0) Contact and Community

'Official' channels

'Unofficial' channels

2.1) Contributing to OpenTTD

We welcome contributors to OpenTTD. More information for contributors can be found in CONTRIBUTING.md

2.2) Reporting bugs

Good bug reports are very helpful. We have a guide to reporting bugs to help with this.

Desyncs in multiplayer are complex to debug and report (some software development skils are required).
Instructions can be found in debugging and reporting desyncs.

2.3) Translating

OpenTTD is translated into many languages. Translations are added and updated via the online translation tool.

3.0) Licensing

OpenTTD is licensed under the GNU General Public License version 2.0.
For the complete license text, see the file 'COPYING.md'.
This license applies to all files in this distribution, except as noted below.

The squirrel implementation in src/3rdparty/squirrel is licensed under the Zlib license.
See src/3rdparty/squirrel/COPYRIGHT for the complete license text.

The md5 implementation in src/3rdparty/md5 is licensed under the Zlib license.
See the comments in the source files in src/3rdparty/md5 for the complete license text.

The implementations of Posix getaddrinfo and getnameinfo for OS/2 in src/3rdparty/os2 are distributed partly under the GNU Lesser General Public License 2.1, and partly under the (3-clause) BSD license.
The exact licensing terms can be found in src/3rdparty/os2/getaddrinfo.c resp. src/3rdparty/os2/getnameinfo.c.

4.0 Credits

See CREDITS.md

To the top