Updating

From TF2 Classic Wiki
Revision as of 22:57, 4 December 2022 by Admin (talk | contribs) (Create page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

For 2.0.4, we're using a new update method based on the same utility we use to install the game, rather than using the launcher. The launcher may have sent you to this page to instruct you on how to update your game, or if you're a server owner, you may have come here from the blogpost for more details. Follow the relevant section for your needs below.

Clients

Update automatically

Install the latest version of TF2CDownloader. Older versions did not support updating, so you likely must redownload it before you can update.

Whenever you run the utility, it will ask you where you want to install the game. Unless you chose a different directory from the default whenever you first installed the game, you should accept the default again. At this point, if it detects an existing installation, it'll check it for updates. If you're on 2.0.3, it should tell you there's an update available and ask if you want to update. Accepting this, it'll download and extract a patch over your game. You can launch as normal afterwards, and see if you're on 2.0.4 by looking at the version number in the top-right of the main menu.

Update manually

If you're unable to use the downloader, you can also download and extract the update archive over your game manually. Download https://wiki.tf2classic.com/downloader/tf2classic-patch-203-204.zip and merge the contained "tf2classic" folder with the one in your sourcemods, overwriting when prompted.


Servers

The same instructions as the Client section generally apply, and either method should work (as long as you point to TF2CDownloader) however we have new requirements before your server will run.

Servers running Sourcemod will need to upgrade their installations. Install the latest public version of Sourcemod 1.11 from here, then clone the 2.0.4 branch of the https://github.com/tf2classic/SM-TF2Classic-Tools repo, and merge it with your base SM installation.

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.

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.