打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

Updating/zh-hans:修订间差异

来自TF2 Classified Wiki
更多操作
Jamie·Quaker留言 | 贡献
Created page with "TF2 Classic can be installed, updated, and repaired, all using the same tool: TF2CDownloader. This tool can be used on the client and server, Linux or Windows. If you're looking to update to 2.1.0 from an earlier version of the game, you're in the right place. Find the relevant section below for your needs and follow the instructions. == Clients == === Update automatically === You should already have TF2CDownloader if you installed the game vaguely recently. If it's too..."
 
Jamie·Quaker留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
TF2 Classic can be installed, updated, and repaired, all using the same tool: TF2CDownloader. This tool can be used on the client and server, Linux or Windows. If you're looking to update to 2.1.0 from an earlier version of the game, you're in the right place. Find the relevant section below for your needs and follow the instructions.
{{DISPLAYTITLE:更新游戏版本}}
 
《军团要塞2经典》可以使用TF2CDownloader来进行安装、更新和修复。T该工具可以在客户端和服务器、Linux 或 Windows 上使用。如果你想从游戏旧版本更新到最新版本,你可就来对地方了,查看下方提示并寻找自己需要的部分进行操作。
== Clients ==
=== Update automatically ===
You should already have TF2CDownloader if you installed the game vaguely recently. If it's too old, you may need to redownload TF2CDownloader:


== 客户端 ==
=== 自动更新 ===
如果您已经安装过游戏,您应该已经拥有TF2CDownloader了。如果其版本太久,您可能需要重新下载TF2CDownloader。
* Windows: https://github.com/tf2classic/TF2CDownloader/releases/latest/download/TF2CDownloaderWindows.exe
* Windows: https://github.com/tf2classic/TF2CDownloader/releases/latest/download/TF2CDownloaderWindows.exe
* Linux: https://github.com/tf2classic/TF2CDownloader/releases/latest/download/TF2CDownloaderLinux
* Linux: https://github.com/tf2classic/TF2CDownloader/releases/latest/download/TF2CDownloaderLinux


Upon running TF2CDownloader, you will be asked for the path of your sourcemods folder. Unless your game installation is in a different directory from the default, you should accept the default path.
运行TF2CDownloader过后,您需要把游戏文件放进sourcemods文件夹路径。除非您的游戏安装在与默认目录不同的目录内,不然您该把游戏放进默认路径。
 
After the path is selected, you'll find yourself at a menu with three options. "1" will (re)install the game, "2" will update your game if already installed, and "3" will validate your game files. If you're on this page, you probably want to press '''2''' here. It should take care of the rest itself, first validating your existing version of the game and then updating it to the latest.
 
=== Update manually ===
Due to internal restructuring between 2.0 and 2.1, we're unable to offer an easy self-extractable patch, as it wouldn't be meaningfully smaller than reinstalling the game. If you're unable to use TF2CDownloader to update, we instead recommend backing up your /cfg/ folder and reinstalling the game from the manual ZIP archive available at https://tf2classic.com/download


== Servers ==
选择路径后,您会看见一个包含三个选项的菜单:'''1.''' will (re)install the game,'''译为:(重新)安装游戏。''' '''2.''' will update your game if already installed, '''译为:如果您已有游戏,该选项会更新您的游戏。'''以及 '''3.''' will validate your game files. '''译为:验证您的游戏文件完整性。'''既然您在观看此页面,您可能需要按下'''2'''。安装程序会自己处理后续的事情,其会先验证您的游戏版本,随后更新至最新版本。
The same instructions as the Client section generally apply, and either method should work (noting that TF2CDownloader will likely need to be manually pointed to the folder containing the game installation you're using). However, ensure your server meets our requirements.
=== 手动更新 ===
由于 2.0 和 2.1 之间的内部重组,我们无法提供简单的自解压补丁,因为它不会比重新安装游戏小得多。如果您无法使用 TF2CDownloader 进行更新,我们建议您备份您的 /cfg/ 文件夹,然后从 https://tf2classic.com/download 上提供的手动 ZIP 存档中重新安装游戏。
== 服务器端 ==
通常适用与客户端部分相同的说明,并且任何一种方法都应该有效(请注意,TF2CDownloader 可能需要手动指向包含您正在使用的游戏安装的文件夹)。但是,请确保您的服务器符合我们的要求。


Servers running Sourcemod will need to upgrade their installations. Install the latest public version of Sourcemod 1.11 [https://www.sourcemod.net/downloads.php from here], then clone the 2.1.0 branch of the https://github.com/tf2classic/SM-TF2Classic-Tools repo, and merge it with your base SM installation.
运行 Sourcemod 的服务器需要升级其安装。从[https://www.sourcemod.net/downloads.php 此处]下载1.11版本的Sourcemod,然后复制https://github.com/tf2classic/SM-TF2Classic-Tools repo,存储库的 2.1.0 分支,并将其与您的基本 SM 安装合并。


Though this should be automatic, particularly if you update your installation using TF2CDownloader, you should make sure that the "server_srv.so" file in your tf2classic/bin folder is a ''symlink'' to server.so in the same folder. It cannot be a copy of the file.
虽然这应该是自动的,特别是如果你使用 TF2CDownloader 更新你的安装,你应该确保你的 tf2classic/bin 文件夹中的“server_srv.so”文件是指向同一文件夹中 server.so 的符号链接。它不能是文件的副本。


Within the bin folder of Source SDK Base 2013 Dedicated Server, you must delete the libstdc++.so.6 file. This will force it to use the newer version from your system, which is necessary for TF2 Classic to run.
Source SDK Base 2013 Dedicated Server 的 bin 文件夹中,必须删除 libstdc++.so.6 文件。这将强制它使用您系统中的较新版本,这是运行 TF2 Classic 所必需的。