Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Troubleshooting: Difference between revisions

From TF2 Classified Wiki
fix for permission issue when updating
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:


== Current major issues ==
== Current major issues ==
=== Game won't start/Missing VCRUNTIME140.dll or MSVCP140.dll ===
=== Game crashes after the Valve intro/"Failed to apply client patches!" ===
This is a new issue caused by the recent SDK2013 update, and TF2 Classic not having been updated yet. To temporarily fix this, right click ''Source SDK Base 2013 Multiplayer'' on Steam, click Properties, go to Beta, and select <code>previous2021</code>.
 
Whenever TF2 Classic updates to the new SDK2013 version, you'll need to revert this.
 
=== "Could not load library client. Try restarting. If that doesn't work, verify the cache." ===
This is a new 2.0.4 issue caused by our crashpad handler requiring libraries that not all users have.
This is a new 2.0.4 issue caused by our crashpad handler requiring libraries that not all users have.


You'll need to download and install these redistributables from Microsoft:
You'll need to download and install this redistributable from Microsoft:
* https://aka.ms/vs/16/release/vc_redist.x64.exe
* https://aka.ms/vs/16/release/vc_redist.x86.exe
* https://aka.ms/vs/16/release/vc_redist.x86.exe


Line 24: Line 28:
=== (Linux) TF2CDownloader gives me an "Error loading Python lib"! ===
=== (Linux) TF2CDownloader gives me an "Error loading Python lib"! ===
This happens when the application was built with a version of glibc that's newer than what your distribution carries. Currently, we support Ubuntu 20.04 and any other distribution with glibc 2.31 or newer.
This happens when the application was built with a version of glibc that's newer than what your distribution carries. Currently, we support Ubuntu 20.04 and any other distribution with glibc 2.31 or newer.
 
,
=== (Linux) TF2CDownloader downloads a .meta4 file, then crashes when it can't find a .tar.zst file ===
=== (Linux) TF2CDownloader downloads a .meta4 file, then crashes when it can't find a .tar.zst file ===
This happens if your version of aria2 was compiled without metalink support. If you're on a Gentoo Linux-based distribution, you can fix it by setting the <code>metalink</code> USE flag for aria2 and then rebuilding it.
This happens if your version of aria2 was compiled without metalink support. If you're on a Gentoo Linux-based distribution, you can fix it by setting the <code>metalink</code> USE flag for aria2 and then rebuilding it.
Line 31: Line 35:
Those are normal. The output is extremely verbose. The first thing TF2CDownloader does is check if the game file already exists for the purpose of verifying it. It usually doesn't exist, which causes it to produce a "Checksum error". Then, if any mirrors are failing, timing out, missing, or otherwise having issues, it'll produce an error when it attempts to contact them as well. These are ''not'' fatal errors, and are expected in its course of operation.
Those are normal. The output is extremely verbose. The first thing TF2CDownloader does is check if the game file already exists for the purpose of verifying it. It usually doesn't exist, which causes it to produce a "Checksum error". Then, if any mirrors are failing, timing out, missing, or otherwise having issues, it'll produce an error when it attempts to contact them as well. These are ''not'' fatal errors, and are expected in its course of operation.


=== "PermissionError: [Errno 13] Permission denied: ...\TF2ClassicLauncher.exe" ===
=== "PermissionError: [Errno 13] Permission denied: ..." ===


If you're updating, make sure the launcher is closed and no files within the tf2classic folder are open, then try again.
If you're updating, make sure the game and the launcher are closed, then try again. If the game is already closed, open task manager, and terminate "hl2.exe". The game not properly terminating by itself is a bug.


=== I can't find the folder TF2CDownloader extracted! ===
=== I can't find the folder TF2CDownloader extracted! ===
Line 39: Line 43:


== Miscellaneous issues ==
== Miscellaneous issues ==
=== RaiseJSException: Method call failed: Installs.OpenInstallWizard... ===
This error most likely comes up when trying to launch TF2 Classic but Source SDK Base 2013 Multiplayer isn't installed. [[Installation#Step 1: Downloading SDK 2013 Multiplayer|Read the first step of the instructions]] to install it.


=== I can't connect to any servers and all of the text starts with #TF! ===
=== I can't connect to any servers and all of the text starts with #TF! ===
Make sure your folder structure is correct. Inside your <code>sourcemods</code> folder, there should be a <code>tf2classic</code> folder, which should contain a <code>gameinfo.txt</code> file. If this doesn't perfectly line up, you extracted it incorrectly. If you have a path that looks like <code>sourcemods/tf2classic-2.0.3/tf2classic</code> or if all of your files are dumped loosely in <code>sourcemods</code>, that will cause this to happen.
The folder of your game (which should contain a <code>gameinfo.txt</code> file) should be named <code>tf2classic</code>. If it is named <code>tf2classic-latest</code> or if all of your files are dumped loosely in <code>sourcemods</code>, that will cause this to happen. Note that if Steam's running, restart it after renaming the folder, or else an error will occur if you attempt to launch the game via Steam.


=== The launcher tells me that SDK2013 isn't installed, but it is! ===
=== The launcher tells me that SDK2013 isn't installed, but it is! ===
Line 47: Line 54:
[[File:MoveSDK.png|400px|center]]
[[File:MoveSDK.png|400px|center]]
For advanced users, it's also possible to create a symlink from its expected location in the common folder on your <code>C:\</code> drive to its real location on another drive. See instructions [[#Creating_a_symlink_on_Windows|here]] for how to create one.
For advanced users, it's also possible to create a symlink from its expected location in the common folder on your <code>C:\</code> drive to its real location on another drive. See instructions [[#Creating_a_symlink_on_Windows|here]] for how to create one.
 
rest
=== The launcher says that SDK2013 needs to be updated, but it is! ===
=== The launcher says that SDK2013 needs to be updated, but it is! ===
You should try to launch SDK2013 from Steam once. Even if Steam claims it's fully installed, it may still require validation or other work, which Steam will only perform when you try to run it. After launching and closing it again, restart the launcher.
You should try to launch SDK2013 from Steam once. Even if Steam claims it's fully installed, it may still require validation or other work, which Steam will only perform when you try to run it. After launching and closing it again, restart the launcher.