Updating: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(fixes)
(Update for 2.1)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
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 ==
== Clients ==
=== Update automatically ===
=== Update automatically ===
Install the latest version of TF2CDownloader. Older versions do not support updating, so you need to download the latest version before you can update:
You should already have TF2CDownloader if you installed the game vaguely recently. If it's too old, you may need to redownload 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


Whenever you run TF2CDownloader, it will ask you where you want to install the game. Unless you chose a different directory from the default when you first installed the game, you should accept the default again. At this point, if it detects an existing installation, it will check it for updates. If you're on 2.0.3 or below, it should tell you there's an update available and ask if you want to update. Once you accept this, it will download and extract the patch and apply it to your game. You can launch as normal afterwards, and check if you're on 2.0.4 by looking at the version number in the top-right of the main menu.
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.
 
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 person, 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 ===
=== Update manually ===
If you're unable to use the downloader, you can also manually download and extract the update archive over your game. 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.
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 ==
== 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.
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.


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.0.4 branch of the https://github.com/tf2classic/SM-TF2Classic-Tools repo, and merge it with your base SM installation.
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.


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.
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.
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.

Latest revision as of 13:53, 28 April 2023

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 old, you may need to redownload TF2CDownloader:

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.

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 person, 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

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.

Servers running Sourcemod will need to upgrade their installations. Install the latest public version of Sourcemod 1.11 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.

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.