Updating: Difference between revisions

From TF2 Classic Wiki
Jump to navigation Jump to search
(Create page)
 
(I don't know what this line means. Rewrote it to what I think I was trying to say.)
(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.
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 blog post for more details. Follow the relevant section for your needs below.


= Clients =
== Clients ==
=== Update automatically ===
=== Update automatically ===
Install the latest version of TF2CDownloader. Older versions did not support updating, so you likely must redownload it before you can update.
Older versions of TF2CDownloader do not support updating, so you need to download the latest version before you can update:


* 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 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.
Upon running TF2CDownloader, you will be asked where you want to install the game. Unless your game installation is in a different directory from the default, you should accept the default path.
 
'''Make sure the launcher is closed whenever you're running TF2CDownloader, otherwise it'll fail to update.'''
 
At this point, if it detects an existing installation, it will check it for updates. If your game is out of date, you will be prompted to update your game to the latest version. Once accepted, it will download the patch and apply it to your game. You can launch as normal afterwards, and confirm you're on the latest version by checking the top-right of the main menu in-game.


=== Update manually ===
=== 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.
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.
 


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

Revision as of 10:59, 6 December 2022

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 blog post for more details. Follow the relevant section for your needs below.

Clients

Update automatically

Older versions of TF2CDownloader do not support updating, so you need to download the latest version before you can update:

Upon running TF2CDownloader, you will be asked where you want to install the game. Unless your game installation is in a different directory from the default, you should accept the default path.

Make sure the launcher is closed whenever you're running TF2CDownloader, otherwise it'll fail to update.

At this point, if it detects an existing installation, it will check it for updates. If your game is out of date, you will be prompted to update your game to the latest version. Once accepted, it will download the patch and apply it to your game. You can launch as normal afterwards, and confirm you're on the latest version by checking the top-right of the main menu in-game.

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.

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